- 论坛徽章:
- 1
|
extman可以建立域名和用户,但extmail无法发邮件到服务器内,但可以外发。
master.cf
maildrop unix - n n - - pipe
flags=DRhu user=extmail argv=/usr/bin/maildrop -d ${recipient}
main.cf
local_transport = maildrop
virtual_transport = maildrop
错误一:
echo "test" | maildrop -V 20 -d 2@test2.com
maildrop: authlib: groupid=1001
maildrop: authlib: userid=1001
maildrop: authlib: logname=2@test2.com, home=/home/domains/test2.com/2, mail=/home/domains/test2.com/2/Maildir/
maildrop: Changing to /home/domains/test2.com/2
maildrop: Unable to change to home directory.
错误二:maillog
Jul 25 23:42:31 128-A postfix/pipe[31029]: 4D03D1081502: to=<2@test2.com>, relay=maildrop, delay=0.08, delays=0.05/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/bin/maildrop: Unable to change to home directory. )
|
|