我的 postfix 配置有问题。我已将其设置为从活动目录获取用户和密码。几乎所有功能都正常。我几乎可以为所有帐户发送和接收电子邮件。但也有一些例外。所有用户的姓氏都是用户名。现在我让所有用户都拥有电子邮件帐户[电子邮件保护]。这些地址有效,因为电子邮件地址的用户部分与用户名匹配。但有些用户[电子邮件保护]。这些不起作用。Postmap 显示正确的目录。
postmap -q [email protected] ldap://....
surname/Maildir/
postmap -q [email protected] ldap://....
surname/Maildir/
但是:maildrop 尝试发送到 /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. )
master.cf中的配置:
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${user}
有什么建议么?