Hello!
I wanted to configure maildrop to use mysql for client accounts.
I also want to use postfix as MTA, so I configured it as before
with maildrop+userdb. The later setup worked fine but now I want
(have) to work with MySQL. So I setup everything as before:
added the domain topostfix's transport map and regenaretd it's
binary format. Reloaded the postfix configuration. And sent a letter.
It goes to the pipe daemon of postfix and passes it to maildrop,
but maildrop says there's no such user and the status of the mail
is deferred. Eventually I will use a patch previously posted by a gentleman
to the list which replaces EX_TEMPFAIL to EX_NOUSER. (I will explain
why I want to do it instead of looking up the username at RCPT TO
command, but in the next letter.) I followed the lines in
maildropmysql.config, it's under /etc and I use the right
column names. I set up Courier-IMAP with MySQL before so
it was easy to do. But I still cannot send mail to users in
the db. The OS is Debian GNU/Linux Woody. When I compiled
Courier-IMAP on the machine I had to use -L/usr/lib -lmysqlclient -lz -lm
because the MySQL was copiled with libz support in it.
Maybe the maildrop makefile doesn't use -lz and that's the
problem. If anybody hs any idea than send reply. Thanks,
Ago