liheng 发表于 2007-09-17 00:14

Sep 16 23:23:04 redhat postfix/local: 2F5253F9B2: to=<postmaster@test.com>, orig_to=<postmaster>, relay=local, delay=301, delays=300/0.15/0/0.13, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:04 redhat postfix/qmgr: 4C1DE3F565: from=<double-bounce@mail.test.com>, size=694, nrcpt=1 (queue active)

Sep 16 23:28:04 redhat postfix/qmgr: 2F5253F9B2: from=<double-bounce@mail.test.com>, size=721, nrcpt=1 (queue active)

Sep 16 23:28:04 redhat postfix/trivial-rewrite: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 16 23:28:04 redhat postfix/local: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local: 2F5253F9B2: to=<postmaster@test.com>, orig_to=<postmaster>, relay=local, delay=601, delays=600/0.1/0/0.1, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:04 redhat postfix/local: 4C1DE3F565: to=<postmaster@mail.test.com>, orig_to=<postmaster>, relay=local, delay=1017, delays=1016/0.13/0/0.16, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:38 redhat postfix/postfix-script: refreshing the Postfix mail system
Sep 16 23:28:38 redhat postfix/master: reload configuration /etc/postfix
telnet localhost 25成功,
telnet localhost 110 失败,提示 chdir maildir failed
在 extmail 上不能可以发邮件,但不能收。
在 outlook 上不能收发邮件,在 outlook 上无论是开启认证和不开启 论证都不行

liheng 发表于 2007-09-17 00:15

还请 marion 兄帮小弟看一下,谢谢啦:)

liheng 发表于 2007-09-17 00:16

哦,对了,配置完全是按照你所提供的方法做的,所以配置文件我就不贴了。

liheng 发表于 2007-09-17 00:36

而且我用 mailq 命令查看邮件队列,可以看到队列里有邮件,就是没有发出去,郁闷。

marion 发表于 2007-09-17 10:18

Sep 16 23:28:04 redhat postfix/local: 4C1DE3F565: to=<postmaster@mail.test.com>, orig_to=<postmaster>, relay=local, delay=1017, delays=1016/0.13/0/0.16, dsn=4.3.0, status=deferred (alias database unavailable)
Sep 16 23:28:38 redhat postfix/postfix-script: refreshing the Postfix mail system
Sep 16 23:28:38 redhat postfix/master: reload configuration /etc/postfix

别名文件找不到,你是否执行了newaliases命令?
或者查看一下你指定的路径是否正确。

marion 发表于 2007-09-17 10:21

telnet localhost 110 失败,提示 chdir maildir failed
这个应该是你的设置没有权限访问邮箱所在的目录,请检查一下你指定的访问者,以及权限设置。

在 extmail 上不能可以发邮件,但不能收。
这个原因跟上述问题应该是同一个原因造成的。你应该把邮箱目录的所有者指定为httpd服务的运行者或者使用suexec,建议你再认真看一下文档,并渐次排查问题。

liheng 发表于 2007-09-17 14:27

newaliases 命令是执行了的,也产生了aliases.db 文件
邮箱所在的目录的属主是 用户 postfix

marion 发表于 2007-09-17 15:02

请确信邮箱目录内的文件也属于postfix用户,同时也应该再去检查一下你的别名文件的设置,包括用户别名和域别名文件。

liheng 发表于 2007-09-17 15:08

Sep 17 14:22:49 redhat postfix/smtpd: connect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: warning: unknown: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd: lost connection after AUTH from unknown
Sep 17 14:22:49 redhat postfix/smtpd: disconnect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: connect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: warning: unknown: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd: lost connection after AUTH from unknown
Sep 17 14:22:49 redhat postfix/smtpd: disconnect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: connect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: warning: unknown: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd: lost connection after AUTH from unknown
Sep 17 14:22:49 redhat postfix/smtpd: disconnect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: connect from unknown
Sep 17 14:22:49 redhat postfix/smtpd: warning: unknown: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd: lost connection after AUTH from unknown
Sep 17 14:22:49 redhat postfix/smtpd: disconnect from unknown
Sep 17 14:24:40 redhat postfix/qmgr: 6A5613F588: from=<test@test.com>, size=506, nrcpt=1 (queue active)
Sep 17 14:24:40 redhat postfix/trivial-rewrite: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 17 14:24:40 redhat postfix/local: warning: lookup bob, NIS domain test, map mail.aliases: internal yp server or client error
Sep 17 14:24:40 redhat postfix/local: 6A5613F588: to=<bob@test.com>, relay=local, delay=526, delays=526/0.1/0/0.06, dsn=4.3.0, status=deferred (alias database unavailable)
又仔细看了一下,还是没有发现什么问题?

liheng 发表于 2007-09-17 15:09

邮箱目录内的所有文件都属于 postfix
页: 1 2 [3] 4 5 6 7 8 9 10 11 12
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)