免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion

[Mail] RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建) [复制链接]

论坛徽章:
0
发表于 2007-09-17 00:14 |显示全部楼层
Sep 16 23:23:04 redhat postfix/local[16201]: 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[16185]: 4C1DE3F565: from=<double-bounce@mail.test.com>, size=694, nrcpt=1 (queue active)

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

Sep 16 23:28:04 redhat postfix/trivial-rewrite[16212]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 16 23:28:04 redhat postfix/local[16215]: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local[16214]: warning: lookup owner-postmaster, NIS domain test, map mail.aliases: internal yp server or client error
Sep 16 23:28:04 redhat postfix/local[16215]: 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[16214]: 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[16225]: refreshing the Postfix mail system
Sep 16 23:28:38 redhat postfix/master[15903]: reload configuration /etc/postfix

telnet localhost 25  成功,
telnet localhost 110 失败,提示 chdir maildir failed
在 extmail 上不能可以发邮件,但不能收。
在 outlook 上不能收发邮件,在 outlook 上无论是开启认证和不开启 论证都不行

论坛徽章:
0
发表于 2007-09-17 00:15 |显示全部楼层
还请 marion 兄帮小弟看一下,谢谢啦

论坛徽章:
0
发表于 2007-09-17 00:16 |显示全部楼层
哦,对了,配置完全是按照你所提供的方法做的,所以配置文件我就不贴了。

论坛徽章:
0
发表于 2007-09-17 00:36 |显示全部楼层
而且我用 mailq 命令查看邮件队列,可以看到队列里有邮件,就是没有发出去,郁闷。

论坛徽章:
0
发表于 2007-09-17 10:18 |显示全部楼层
Sep 16 23:28:04 redhat postfix/local[16214]: 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[16225]: refreshing the Postfix mail system
Sep 16 23:28:38 redhat postfix/master[15903]: reload configuration /etc/postfix

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

论坛徽章:
0
发表于 2007-09-17 10:21 |显示全部楼层
telnet localhost 110 失败,提示 chdir maildir failed
这个应该是你的设置没有权限访问邮箱所在的目录,请检查一下你指定的访问者,以及权限设置。

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

论坛徽章:
0
发表于 2007-09-17 14:27 |显示全部楼层
newaliases 命令是执行了的,也产生了aliases.db 文件
邮箱所在的目录的属主是 用户 postfix

论坛徽章:
0
发表于 2007-09-17 15:02 |显示全部楼层
请确信邮箱目录内的文件也属于postfix用户,同时也应该再去检查一下你的别名文件的设置,包括用户别名和域别名文件。

论坛徽章:
0
发表于 2007-09-17 15:08 |显示全部楼层
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: connect from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: warning: unknown[192.168.0.145]: SASL LOGIN authentication failed: authentication failure
Sep 17 14:22:49 redhat postfix/smtpd[3369]: lost connection after AUTH from unknown[192.168.0.145]
Sep 17 14:22:49 redhat postfix/smtpd[3369]: disconnect from unknown[192.168.0.145]
Sep 17 14:24:40 redhat postfix/qmgr[3270]: 6A5613F588: from=<test@test.com>, size=506, nrcpt=1 (queue active)
Sep 17 14:24:40 redhat postfix/trivial-rewrite[3378]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 17 14:24:40 redhat postfix/local[3380]: warning: lookup bob, NIS domain test, map mail.aliases: internal yp server or client error
Sep 17 14:24:40 redhat postfix/local[3380]: 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)

又仔细看了一下,还是没有发现什么问题?

论坛徽章:
0
发表于 2007-09-17 15:09 |显示全部楼层
邮箱目录内的所有文件都属于 postfix
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP