Hi all,
I have maildrop 1.80 and it is not possible to get maildir location
from MySQL. AuthLIB will get logname and home dir, but maildir is default.
See logs:
****************************************************************************
#cat 1110266716.V301I2260c.host| /usr/local/courier/bin/maildrop -V 4 -d
us...@xyz.tld
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=us...@xyz.tld, home=/home/vmail/, mail=(default)
maildrop: Changing to /home/vmail/
Message start at 0 bytes, envelope sender=us...@xyz.tld
/etc/maildroprc(1): Evaluating IF condition.
/etc/maildroprc(1): IF evaluated, result=1
/etc/maildroprc(3): Trapping exceptions.
maildrop: Filtering through xfilter /usr/bin/spamassassin
--prefspath=/home/vmail///var/spool/mail/us...@xyz.tld/.spamassassin/user_prefs
Cannot write to
/home/vmail///var/spool/mail/us...@xyz.tld/.spamassassin/user_prefs: No such file
or directory
Failed to create default user preference file
/home/vmail///var/spool/mail/us...@xyz.tld/.spamassassin/user_prefs
/etc/maildroprc(3): Exception trapping removed.
/etc/maildroprc(8): Evaluating IF condition.
..
..
..
/etc/maildroprc(8): Search of ^X-Spam-Flag: *YES = 0
/etc/maildroprc(8): IF evaluated, result=0
/etc/maildroprc(16): Trapping exceptions.
maildrop: Delivering to /home/vmail///var/spool/mail/us...@xyz.tld
/etc/maildroprc(16): Trapped exception.
maildrop: Attempting .mailfilter
maildrop: Delivering to /var/spool/mail/us...@xyz.tld
************************************************************
Maildrop is delivering the email to the default system mailbox and
not to mailbox specified as combination home and maildir fields in
MySQL. It should be:
/home/vmail/xyz.tld/user/Maildir/
Any idea how to check what parameters are received from MySQL?
Any idea how to tell maildrop to deliver mail to non standard system maildirs?
thank you