免费注册 查看新帖 |

Chinaunix

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

关于extmail自动回复功能求助!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-10-21 14:07 |只看该作者 |倒序浏览
邮件系统目前自动回复功能无法正常使用,收发邮件正常,
1,authlibmysqlrc配置
MYSQL_SERVER localhost
MYSQL_USERNAME extmail
MYSQL_PASSWORD extmail
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_DATABASE extmail
MYSQL_USER_TABLE mailbox
#MYSQL_CRYPT_PWFIELD password
MYSQL_CLEAR_PWFIELD password
DEFAULT_DOMAIN sery.com
MYSQL_UID_FIELD '501'
MYSQL_GID_FIELD '501'
MYSQL_LOGIN_FIELD username
MYSQL_HOME_FIELD concat('/var/mailbox/',homedir)
MYSQL_NAME_FIELD name
MYSQL_MAILDIR_FIELD concat('/var/mailbox/',maildir)
MYSQL_QUOTA_FIELD quota
MYSQL_WHERE_CLAUSE active='1'
2,测试
[root@mail ~]# echo "test" | maildrop -V 10 -d test@sery.com
maildrop: authlib: groupid=501
maildrop: authlib: userid=501
maildrop: authlib: logname=test@sery.com, home=/var/mailbox/sery.com/test, mail=/var/mailbox/sery.com/test/Maildir/
maildrop: Changing to /var/mailbox/sery.com/test
Message start at 0 bytes, envelope sender=test@sery.com
Tokenized logfile
Tokenized string: "/var/mailbox/maildrop.log"
Tokenized ;
Tokenized to
Tokenized string: "$HOME/Maildir"
Tokenized ;
Tokenized ;
Tokenized ;
Tokenized eof
/etc/maildroprc(1): Opening logfile /var/mailbox/maildrop.log
maildrop: Delivery complete.
3,maillog日志
Oct 21 13:30:55 mail postfix/smtpd[7988]: 7595539F142: client=mail.sery.com[127.0.0.1]
Oct 21 13:30:55 mail postfix/cleanup[7980]: 7595539F142: message-id=<20111021053053.862BE39F13F@mail.sery.com>
Oct 21 13:30:55 mail postfix/qmgr[4002]: 7595539F142: from=<zhangq@sery.com>, size=1340, nrcpt=1 (queue active)
Oct 21 13:30:55 mail amavis[4044]: (04044-01) Passed SPAM {RelayedInternal,Quarantined}, MYNETS LOCAL [127.0.0.1]:33549 [127.0.0.1] <zhangq@sery.com> -> <test@sery.com>, quarantine: spam-3qDzEpzg8XoZ.gz, Queue-ID: 862BE39F13F, Message-ID: <20111021053053.862BE39F13F@mail.sery.com>, mail_id: 3qDzEpzg8XoZ, Hits: 11.287, size: 580, queued_as: 7595539F142, 1740 ms
Oct 21 13:30:55 mail postfix/smtp[7982]: 862BE39F13F: to=<test@sery.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.1, delays=0.13/0.23/0.04/1.7, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7595539F142)
Oct 21 13:30:55 mail postfix/qmgr[4002]: 862BE39F13F: removed
Oct 21 13:30:55 mail authdaemond: received userid lookup request: test@sery.com
Oct 21 13:30:55 mail authdaemond: authmysql: trying this module
Oct 21 13:30:55 mail authdaemond: authmysqllib: connected. Versions: header 50154, client 50154, server 50154
Oct 21 13:30:55 mail authdaemond: SQL query: SELECT username, "", password, '501', '501', concat('/var/mailbox/',homedir), concat('/var/mailbox/',maildir), quota, name, "" FROM mailbox WHERE username = 'test@sery.com'  AND (active='1')
Oct 21 13:30:55 mail authdaemond: Authenticated: sysusername=<null>, sysuserid=501, sysgroupid=501, homedir=/var/mailbox/sery.com/test, address=test@sery.com, fullname=test, maildir=/var/mailbox/sery.com/test/Maildir/, quota=104857600S, options=<null>
Oct 21 13:30:55 mail authdaemond: Authenticated: clearpasswd=150163, passwd=<null>
Oct 21 13:30:55 mail postfix/pipe[7991]: 7595539F142: to=<test@sery.com>, relay=maildrop, delay=0.21, delays=0.03/0.14/0/0.04, dsn=2.0.0, status=sent (delivered via maildrop service)
Oct 21 13:30:55 mail postfix/qmgr[4002]: 7595539F142: removed
Oct 21 13:35:55 mail postfix/smtpd[7988]: timeout after END-OF-MESSAGE from mail.sery.com[127.0.0.1]
Oct 21 13:35:55 mail postfix/smtpd[7988]: disconnect from mail.sery.com[127.0.0.1]
4,maildroprc
logfile "/var/mailbox/maildrop.log"
to "$HOME/Maildir"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP