免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
发表于 2007-09-17 15:30 |显示全部楼层
marion 兄,已经可以实现 web 收发邮件,只是还不能够用 outlook 收发邮件

论坛徽章:
0
发表于 2007-09-17 15:46 |显示全部楼层
marion 兄,我将 /etc/postfix/main.cf 文件内的 mydestination 和 mynetworks 两个参数注释掉后,瑞在可以用 outlook 发邮件,但是却不能收,outlook 错误提示:

[ 本帖最后由 liheng 于 2007-9-17 15:53 编辑 ]
3.JPG

论坛徽章:
0
发表于 2007-09-17 15:51 |显示全部楼层
看来还是 chdir maildir failed 的问题。
但我的服务器上,邮件存放目录确实是存在 maildir 的,之前我用 postfixadmin 做的时候,怎么样都没法生成 maildir 格式的路径, postfixadmin 生成的路径格式是:/var/mailbox/test.com/test/ (注: /var/mailbox 是指定的邮箱存放目录)
我现在用 extmail 生成的 maildir 格式是:/var/mailbox/test.com/test/Maildir
之前用 postfixadmin 提示是 chdir maildir failed 错误,我就认了,因为确实没有生成指定的格式,但我现在用 extmail 生成了指定的格式,为什么还会提示这样的错误呢?郁闷,
而且 邮箱存放目录下的文件所有者都是 postfix ,权限都是600,有写的权限应该来说就可以了吧

[ 本帖最后由 liheng 于 2007-9-17 15:52 编辑 ]

论坛徽章:
0
发表于 2007-09-17 16:01 |显示全部楼层
do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
这里说无论是本地域还是虚拟域都找不到你指向的test.com,请检查配置。

SASL LOGIN authentication failed: authentication failure
这里说你的SASL_LOGIN认证失败,请检查sasl的安装,以及postfix中指定的认证选项。

alias database unavailable
这里说找不到别名文件,请检查你的配置文件中别名文件的指向,以及它们是否存在。

这些都是问题……

论坛徽章:
0
发表于 2007-09-17 16:10 |显示全部楼层
再使用outlook发信一次,把相关日志发上来。

这里的问题不是认证没有通过的话,就应该还是权限的问题。再去看看courier-imap的相关设置。

论坛徽章:
0
发表于 2007-09-17 16:39 |显示全部楼层
do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
这里说无论是本地域还是虚拟域都找不到你指向的test.com,请检查配置。
这个问题已经解决,将 mydestination 注释或设置为空即可,见:http://www.extmail.org/forum/vie ... peid%3D1&page=1
SASL LOGIN authentication failed: authentication failure
这里说你的SASL_LOGIN认证失败,请检查sasl的安装,以及postfix中指定的认证选项。
应该不存在 sasl 验证的问题,因为我 telnet localhost 25 成功,而且在 outlook 里发信成功,我是勾了我的服务器发送需要验证这一项的。
alias database unavailable
这里说找不到别名文件,请检查你的配置文件中别名文件的指向,以及它们是否存在。
这个应该还是虚拟域与本地域相冲突导致,我的机器名与 /etc/postfix/main.cf 文件里的 myhostname 设置的不一样,可能是这个引起的。

论坛徽章:
0
发表于 2007-09-17 16:45 |显示全部楼层
Sep 17 16:04:56 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:04:57 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd[4481]: connect from unknown[192.168.0.145]
Sep 17 16:17:40 redhat postfix/smtpd[4481]: 434823F583: client=unknown[192.168.0.145], sasl_method=LOGIN, sasl_username=test@test.com
Sep 17 16:17:40 redhat postfix/cleanup[4488]: 434823F583: message-id=<007101c7f906$8135b890$9100a8c0@xp>
Sep 17 16:17:40 redhat postfix/qmgr[4275]: 434823F583: from=<test@test.com>, size=1395, nrcpt=1 (queue active)
Sep 17 16:17:40 redhat postfix/smtpd[4481]: disconnect from unknown[192.168.0.145]
Sep 17 16:17:40 redhat postfix/virtual[4490]: 434823F583: to=<test@test.com>, relay=virtual, delay=0.22, delays=0.15/0.05/0/0.02, dsn=2.0.0, status=sent (delivered to maildir)
Sep 17 16:17:40 redhat postfix/qmgr[4275]: 434823F583: removed

我刚刚在 outlook 发邮件的 maillog,
我在 outlook 收邮件的时候,就提示:
Sep 17 16:04:56 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:04:57 redhat pop3d: Connection, ip=[192.168.0.145]
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd[4481]: connect from unknown[192.168.0.145]

论坛徽章:
0
发表于 2007-09-17 17:07 |显示全部楼层
如果使用webmail可以收发邮件,但outlook就能发却不能收,这应该是没有道理的。
不知道有没有其他人遇到过这样的情况。我这里只能凭猜测了。

你把mydestination和myorigion的值启用并改为其它域名试试……

另外,如果你的系统中的确有test用户的话,也建议先关闭他。

论坛徽章:
0
发表于 2007-09-17 17:18 |显示全部楼层
不行,在 outlook 里一接受邮件,就会弹出一个对话框,要输入用户名和密码
看来我还遇到了一个大问题,这很好

论坛徽章:
0
发表于 2007-09-17 17:19 |显示全部楼层
另,我的系统中压根就不存在  test 这个用户
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP