免费注册 查看新帖 |

Chinaunix

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

建了个postfix服务器,发信后退信 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-24 20:03 |只看该作者 |倒序浏览
我用postfixadmin建立了域bj.mydomain.com,里面建立了几个邮箱

邮箱发信后收到退信:

Transcript of session follows.

Out: 220 mail.bj.mydomain.com ESMTP "Version not Available"
In:  EHLO bj.mydomain.com
Out: 250-mail.bj.mydomain.com
Out: 250-PIPELINING
Out: 250-SIZE 52428800
Out: 250-VRFY
Out: 250-ETRN
Out: 250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5
Out: 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In:  MAIL From:<tomzhang@bj.mydomain.com> SIZE=558
Out: 250 2.1.0 Ok
In:  RCPT To:<wolf@bj.mydomain.com>
Out: 451 4.3.0 <wolf@bj.mydomain.com>: Temporary lookup failure
In:  RCPT To:<tomzhang@mydomain.com>
Out: 451 4.3.0 <tomzhang@mydomain.com>: Temporary lookup failure
In:  DATA
Out: 454 4.5.1 Error: no valid recipients
In:  QUIT
Out: 221 2.0.0 Bye



日志:

/var/log/maillog

Mar 24 19:41:36 bj sendmail[19596]: o2OBfafQ019596: Authentication-Warning: bj.mydomain.com: apache set sender to postmaster@bj.mydomain.com using -f
Mar 24 19:41:36 bj sendmail[19596]: o2OBfafQ019596: from=postmaster@bj.mydomain.com, size=539, class=0, nrcpts=1, msgid=<1241.219.237.137.40.1269430896.squirrel@bj.mydomain.com>, relay=apache@localhost
Mar 24 19:41:36 bj postfix/smtpd[19597]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Mar 24 19:41:36 bj postfix/smtpd[19597]: connect from localhost.localdomain[127.0.0.1]
Mar 24 19:41:36 bj postfix/smtpd[19597]: A639D6B102CB: client=localhost.localdomain[127.0.0.1]
Mar 24 19:41:36 bj postfix/cleanup[19602]: A639D6B102CB: message-id=<1241.219.237.137.40.1269430896.squirrel@bj.mydomain.com>
Mar 24 19:41:36 bj postfix/qmgr[15870]: A639D6B102CB: from=<postmaster@bj.mydomain.com>, size=970, nrcpt=1 (queue active)
Mar 24 19:41:36 bj sendmail[19596]: o2OBfafQ019596: to=wolf@bj.mydomain.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30539, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A639D6B102CB)
Mar 24 19:41:36 bj postfix/smtpd[19597]: disconnect from localhost.localdomain[127.0.0.1]
Mar 24 19:41:36 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:36 bj postfix/smtp[19604]: fatal: unexpected command-line argument: ps=yes
Mar 24 19:41:36 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:41:37 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:37 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:41:37 bj postfix/qmgr[15870]: warning: premature end-of-input on private/smtp-amavis socket while reading input attribute name
Mar 24 19:41:37 bj postfix/qmgr[15870]: warning: private/smtp-amavis socket: malformed response
Mar 24 19:41:37 bj postfix/master[15867]: warning: process /usr/libexec/postfix/smtp pid 19604 exit status 1
Mar 24 19:41:37 bj postfix/master[15867]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Mar 24 19:41:37 bj postfix/qmgr[15870]: A639D6B102CB: to=<wolf@bj.mydomain.com>, relay=none, delay=1.1, delays=0.05/1/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)
Mar 24 19:41:50 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:50 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:41:51 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:51 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:41:52 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:52 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:41:52 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:41:52 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:42:21 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:42:21 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:43:40 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:43:40 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:46:52 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:46:52 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:47:22 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:47:22 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out
Mar 24 19:48:40 bj dovecot: imap-login: Login: user=<postmaster@bj.mydomain.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar 24 19:48:40 bj dovecot: IMAP(postmaster@bj.mydomain.com): Disconnected: Logged out




请问这是哪里的错误?谢谢

论坛徽章:
0
2 [报告]
发表于 2010-03-25 09:29 |只看该作者
Out: 454 4.5.1 Error: no valid recipients

是找不到收件地址?可我设置了wolf@bj.mydomain.com的邮箱了啊。

论坛徽章:
0
3 [报告]
发表于 2010-03-25 11:23 |只看该作者
你可以按照我写的配置, 重做一遍postfix,http://guoli0813.blog.51cto.com里面

论坛徽章:
0
4 [报告]
发表于 2010-03-25 14:07 |只看该作者
为什么我的日志里面每条记录的开头是bj postfix/smtpd,应该是localhost postfix/smtpd啊,是不是找不到主机?

论坛徽章:
0
5 [报告]
发表于 2010-03-26 17:55 |只看该作者
观望。

论坛徽章:
0
6 [报告]
发表于 2010-03-28 21:10 |只看该作者
1、看到日志:
Out: 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5
      LZ配置了SMTP验证,但是后面指令中没有见楼主使用auth 指令。

2、日志中出现 amavis
         LZ还做了邮件过滤,建议先不要开启此功能,等待postfix正常使用后在打开也不迟。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP