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

marion 兄,已经可以实现 web 收发邮件,只是还不能够用 outlook 收发邮件

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

marion 兄,我将 /etc/postfix/main.cf 文件内的 mydestination 和 mynetworks 两个参数注释掉后,瑞在可以用 outlook 发邮件,但是却不能收,outlook 错误提示:

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

liheng 发表于 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 编辑 ]

marion 发表于 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
这里说找不到别名文件,请检查你的配置文件中别名文件的指向,以及它们是否存在。

这些都是问题……

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

再使用outlook发信一次,把相关日志发上来。

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

liheng 发表于 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/viewthread.php?tid=5694&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%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 设置的不一样,可能是这个引起的。

liheng 发表于 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=
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd: connect from unknown
Sep 17 16:17:40 redhat postfix/smtpd: 434823F583: client=unknown, sasl_method=LOGIN, sasl_username=test@test.com
Sep 17 16:17:40 redhat postfix/cleanup: 434823F583: message-id=<007101c7f906$8135b890$9100a8c0@xp>
Sep 17 16:17:40 redhat postfix/qmgr: 434823F583: from=<test@test.com>, size=1395, nrcpt=1 (queue active)
Sep 17 16:17:40 redhat postfix/smtpd: disconnect from unknown
Sep 17 16:17:40 redhat postfix/virtual: 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: 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=
Sep 17 16:04:57 redhat pop3d: chdir Maildir: No such file or directory
Sep 17 16:17:40 redhat postfix/smtpd: connect from unknown

marion 发表于 2007-09-17 17:07

如果使用webmail可以收发邮件,但outlook就能发却不能收,这应该是没有道理的。
不知道有没有其他人遇到过这样的情况。我这里只能凭猜测了。

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

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

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

不行,在 outlook 里一接受邮件,就会弹出一个对话框,要输入用户名和密码
看来我还遇到了一个大问题,这很好

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

另,我的系统中压根就不存在test 这个用户
页: 1 2 3 [4] 5 6 7 8 9 10 11 12 13
查看完整版本: RHEL4上安装基于postfix的全功能邮件服务器(全部使用目前最新源码包构建)