Hi guys,
I'm trying my luck here.
I installed postfix/amavis/courierpop last week, and
everything ran fine. Now I want to implement quota's by using maildrop
(the easiest way I think).
I got Martin List-Petersen his custom debian packages (thanks m8), and
he gave me some pointers. I got quite far, but now I'm stuck.
Maildrop does not query my MySQL server when it has to deliver to virtual
mailaccounts. When I deliver to an existing system user, everything
works. (Tested this thru command line).
these are some log extracts :
the error :
Oct 1 11:16:42 mailserver postfix/pipe[5817]: 90D1712E98:
to=<te...@scheppers-wetteren.be>, relay=maildrop,
delay=0, status=deferred (temporary failure. Command output: /usr/bin/maildrop:
Invalid user specified. )
the master.cf file config line
maildrop unix - n n - - pipe
flags=R user=virtual argv=/usr/bin/maildrop -V9 -d
${recipient}
in main.cf only this is added :
local_destination_concurrency_limit=1
oh, and my /etc/passwd is like this :
virtual:x:1011:1011:Virtual User:/var/spool/postfix/virtual:/bin/sh
mailserver:/var/spool/postfix/deferred/1/0# cat 1004D12E92 | maildrop -V9 -d
hermes
maildrop: Changing to /home/hermes
Message start at 0 bytes, envelope sender=hermes
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized eof
maildrop: Attempting .mailfilter
maildrop: Delivering to /home/hermes/./Maildir/.
maildrop: Unable to create a dot-lock.
mailserver:/var/spool/postfix/deferred/1/0# cat 1004D12E92 | maildrop -V9 -d
te...@scheppers-wetteren.be
maildrop: Invalid user specified.
mailserver:/var/spool/postfix/deferred/1/0#
The only problem here is that maildrop does not use the mysql database
that it should use.
/etc/maildrop/maildropmysql.config
exists, but apparently maildrop is not reading it ?
thanks
PJ