How does maildrop know where to deliver the email ?

ychaouche

Valued Member
Setup :

Virtual mailboxes with postfix + courier. MDA = maildrop.

maildrop is putting the emails of all the users into /var/vmail/Maildir instead of /var/vmail/domain.tld/email/


file structure :

Code:
/var/vmail/domain.tld/user_name/
/var/vmail/domain.tld/other_user_name/

postfix's master.cf :

Code:
maildrop  unix  -      n      n      -      -      pipe -v
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} -w 80

${recipient} will be changed to user@domain.tld


what configuration file do I need to set in order to have maildrop deliver mail to /var/vmail/user_name/ instead of /var/vmail/Maildir ?
 

ychaouche

Valued Member
It turns out there are two versions of maildrop, one that is shipped with courier and works ONLY with Courier MTA, and a standalone version that works with any MTA (postfix). Installing the standalone version resolved the problem.
 
Top