免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1518 | 回复: 2
打印 上一主题 下一主题

[Mail] postfix-courier-imap-mysql telnet smtp成功而pop3不成功 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-19 17:14 |只看该作者 |倒序浏览
telnet smtp成功而pop3不成功, 下列是我的一些配置和出錯信息:
less /etc/postfix/main.cf
myhostname = skmail.singkong.com.cn
mydomain = singkong.com.cn
myorigin = $mydomain
mydestination = singkong.com.cn, $transport_maps
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname

home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,
reject_unauth_destination, permit
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-client.cf
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
transport_maps = mysql:/etc/postfix/mysql-transport.cf
virtual_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_mailbox_base = /webmail/vmail
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_uid_maps = mysql:/etc/postfix/mysql-virtual-uid.cf
virtual_gid_maps = mysql:/etc/postfix/mysql-virtual-gid.cf

telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user sysadmin@pyloncn.com
+OK Password required.
pass password132
-ERR Maildir: No such file or directory
Connection closed by foreign host.

ls /webmail/vmail/pyloncn.com/sysadmin/Maildir/
cur new tmp

mysql>; select * from postfix_users;
+----+----------------------------+--------+---------------+------------+------+------+----------------+-------------------------------------+-------+--------+---------+
| id | email | clear | crypt | name | uid | gid | homedir | maildir | quota | access |
postfix |
+----+----------------------------+--------+---------------+------------+------+------+----------------+-------------------------------------+-------+--------+---------+
| 3 | sysadmin@pyloncn.com | password132 | LGDeynvmb49xQ | sysadmin | 1004 | 1004 | /webmail/vmail | pyloncn.com/sysadmin/Maildir/ | | Y |
Y |

more /var/log/maillog
May 19 13:29:34 gpmail postfix/pickup[1811]: 3D338341A7: uid=0 from=<root>;
May 19 13:29:34 gpmail postfix/cleanup[2014]: warning: 3D338341A7: virtual_alias_maps map lookup problem for root@pyloncn.com
May 19 13:29:34 gpmail postfix/cleanup[2014]: warning: 3D338341A7: skipping further client input
May 19 13:29:34 gpmail postfix/pickup[1811]: warning: maildrop/AAFF34824A: Error writing message file
May 19 13:29:34 gpmail postfix/pickup[1811]: warning: 3BF00341A7: message has been queued for 1 days

請指點,多謝!

论坛徽章:
0
2 [报告]
发表于 2004-05-19 17:51 |只看该作者

postfix-courier-imap-mysql telnet smtp成功而pop3不成功

表的homedir和maildir两项有问题

论坛徽章:
0
3 [报告]
发表于 2004-05-20 09:13 |只看该作者

postfix-courier-imap-mysql telnet smtp成功而pop3不成功

我一般是设置 maildir = homedir + "/Maildir/"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP