I have a problem with my postfix configuration. I've set it up to get users and passwords from an active directory. Nearly everything works. I can send and receive emails for nearly every account. There are some exceptions. All users have their surnames as usernames. Now I'v got all users to have email accounts as [email protected]. These addresses work, because the userpart of the email address match the usernames. But some users have [email protected]. These don't work. Postmap shows the right directories.
postmap -q [email protected] ldap://....
surname/Maildir/
postmap -q [email protected] ldap://....
surname/Maildir/
But: maildrop tries to deliver to /home/vmail/given_name.surname/Maildir/
postfix/pipe[30831]: 252B8161FC1: to=<[email protected]>, relay=maildrop, delay=71444, delays=71443/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: No such file or directory maildirmake: /home/vmail/given_name.surname/Maildir/.Junk: No such file or directory chmod: missing operand after `/home/vmail/given_name.surname/Maildir/.Junk' Try `chmod --help' for more information. bash: /home/vmail/given_name.surname/Maildir/courierimapsubscribed: No such file or directory maildirmake: /home/vmail/given_name.surname/Maildir/.Faxe: No such file or directory chmod: missing operand after `/home/vmail/given_name.surname/Maildir/.Faxe' Try `chmod --help' for more information. bash: /home/vmail/given_name.surname/Maildir/courierimapsubscribed: No such file or directory /usr/bin/maildrop: Unable to create a dot-lock at /home/vmail/given_name.surname/30936.0.server-s03. )
Config in master.cf:
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${user}
Any suggestions?