免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: marion
打印 上一主题 下一主题

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

论坛徽章:
0
491 [报告]
发表于 2008-01-18 11:47 |只看该作者

用outlook 测试时,日至的错误信息如下。。

Jan 18 11:42:19 mail pop3d: Connection, ip=[192.168.0.2]
Jan 18 11:42:19 mail authdaemond: received auth request, service=pop3, authtype=login
Jan 18 11:42:19 mail authdaemond: authmysql: trying this module
Jan 18 11:42:19 mail authdaemond: SQL query: SELECT username, password, "", '2525', '2525', concat('/var/mailbox/',maildir), "", "", name, "" FROM mailbox WHERE username = "test@test.com"
Jan 18 11:42:19 mail authdaemond: password matches successfully
Jan 18 11:42:19 mail authdaemond: authmysql: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/test.com/test/Maildir/, address=test@test.com, fullname=test, maildir=<null>, quota=<null>, options=<null>
Jan 18 11:42:19 mail authdaemond: authmysql: clearpasswd=<null>, passwd=$1$D6kiF7cp$IC5WcnNJgUrFzV/30iS5N1
Jan 18 11:42:19 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/test.com/test/Maildir/, address=test@test.com, fullname=test, maildir=<null>, quota=<null>, options=<null>
Jan 18 11:42:19 mail authdaemond: Authenticated: clearpasswd=test123, passwd=$1$D6kiF7cp$IC5WcnNJgUrFzV/30iS5N1
Jan 18 11:42:19 mail pop3d: chdir Maildir: No such file or directory

虽然在上述贴子中看到类似错误,,但我的仍然没有解决。。,请楼主帮看看了。。

[ 本帖最后由 falalala 于 2008-1-18 11:52 编辑 ]

论坛徽章:
0
492 [报告]
发表于 2008-01-18 11:51 |只看该作者
Jan 18 11:42:19 mail pop3d: Connection, ip=[192.168.0.2]
Jan 18 11:42:19 mail authdaemond: received auth request, service=pop3, authtype=login
Jan 18 11:42:19 mail authdaemond: authmysql: trying this module
Jan 18 11:42:19 mail authdaemond: SQL query: SELECT username, password, "", '2525', '2525', concat('/var/mailbox/',maildir), "", "", name, "" FROM mailbox WHERE username = "test@test.com"
Jan 18 11:42:19 mail authdaemond: password matches successfully
Jan 18 11:42:19 mail authdaemond: authmysql: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/test.com/test/Maildir/, address=test@test.com, fullname=test, maildir=<null>, quota=<null>, options=<null>
Jan 18 11:42:19 mail authdaemond: authmysql: clearpasswd=<null>, passwd=$1$D6kiF7cp$IC5WcnNJgUrFzV/30iS5N1
Jan 18 11:42:19 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=2525, sysgroupid=2525, homedir=/var/mailbox/test.com/test/Maildir/, address=test@test.com, fullname=test, maildir=<null>, quota=<null>, options=<null>
Jan 18 11:42:19 mail authdaemond: Authenticated: clearpasswd=test123, passwd=$1$D6kiF7cp$IC5WcnNJgUrFzV/30iS5N1
Jan 18 11:42:19 mail pop3d: chdir Maildir: No such file or directory

上面的帖子,,有类似错误,,参考了,但我的仍然没有解决,,请给各检查思路,,

论坛徽章:
0
493 [报告]
发表于 2008-01-18 14:18 |只看该作者
请问搂主安装完“十三、安装Extman-0.2.2“,邮件系统就应该就具备收发功能了吧?
我安装完”十三、安装Extman-0.2.2“后,想先测试一下邮件系统,但发现outlook和webmail都可以发送邮件,但都不能收邮件。
日志中的错误信息显示:
Jan 18 14:14:13 mail pop3d: chdir Maildir: No such file or directory
这是什么原因呢?

论坛徽章:
0
494 [报告]
发表于 2008-01-18 18:46 |只看该作者

回复 #493 falalala 的帖子

是不是本地域和虚拟域使用了相同的域名?

论坛徽章:
0
495 [报告]
发表于 2008-01-19 07:16 |只看该作者
marion兄  新手请教

安装到maildrop 结束  无法打开extmail登陆界面  
suexec_log
target uid/gid(1001/1001)mismatch directory(2525/2525)or program(2525/2525)

当然 也没有下面的信息
如果日志中的记录类同以下项,则安装成功

Sep 16 12:04:43 Ixor postfix/pipe[14266]: 46B491A5CB: to=<marion@test.com>, relay=maildrop,

delay=2306, delays=2306/0.04/0/0.07, dsn=2.0.0, status=sent (delivered via maildrop service)
请问这个问题出在哪里?

论坛徽章:
0
496 [报告]
发表于 2008-01-19 09:26 |只看该作者

回复 #495 jdwu 的帖子

target uid/gid(1001/1001)mismatch directory(2525/2525)or program(2525/2525)

有些目录的属主或服务的运行身份没能正确指向到1001用户。

论坛徽章:
0
497 [报告]
发表于 2008-01-19 17:18 |只看该作者
原帖由 marion 于 2008-1-19 09:26 发表
target uid/gid(1001/1001)mismatch directory(2525/2525)or program(2525/2525)

有些目录的属主或服务的运行身份没能正确指向到1001用户。


看了你的回帖,我通过chown -R vmail.vmail /var/www/  把问题解决了  遇到同样问题的朋友可以参考下

谢谢marion兄  我是初学者  07年12月26日开始装Linux  到架构DNS  WEB  postfix  遇到了很多困难,大部分是通过google 和前面各位回帖解决的,里面有很多不懂的地方,很多问题虽然解决了,这还不够,以后我还会深入学习。
在此感谢各位无私奉献的精神,我想我要做的是学会然后传承。

论坛徽章:
0
498 [报告]
发表于 2008-01-19 22:06 |只看该作者
要是能做成pdf发布就好了!

论坛徽章:
0
499 [报告]
发表于 2008-01-21 10:46 |只看该作者
请教楼主:
安装maildrop的作用是什么?装上它有什么好处?

我装上maildrop以后,给别人发邮件正常,但是不能给自己发邮件,日志里也看不出什么来,没法搞定。
于是我把maildrop删了。于是一切正常了,下面的病毒扫描和垃圾邮件过滤等也正常。

就是说我没使用maildrop,邮件系统也一切正常。
那么,为什么要多装一个maildrop呢?
装它的目的是什么?
是不是可以提升性能?
麻烦你给我解答一下,谢谢。

论坛徽章:
0
500 [报告]
发表于 2008-01-21 10:53 |只看该作者

回复 #494 marion 的帖子

marion ,感谢了,就是这个原因,本地域和虚拟域使用了相同的域名造成的。现在已经好了。
那我还想问一个概念性的问题。本地域和虚拟域主要区别在哪里? 我有3个域邮箱甚至更多的域,其中一个是主要的,那这个主要的是放到本地域里好,还是放到虚拟域里好。extmail能否管理本地域?如果不能,我是否可以不要本地域,全部采用虚拟域,这样可以吗?请给个意见。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP