免费注册 查看新帖 |

Chinaunix

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

[Mail] postfix就是连不上,怎么办? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-25 15:30 |只看该作者 |倒序浏览
版本是:2.1.5-2.2
环境:fc3

postfix已经启动,但当telnet 25端口时显示连线失败.

由于新手上路,对问题没有头绪,请大家指点一二.......

论坛徽章:
0
2 [报告]
发表于 2005-04-25 17:28 |只看该作者

postfix就是连不上,怎么办?

看maillog里的错误信息

论坛徽章:
0
3 [报告]
发表于 2005-04-25 21:32 |只看该作者

postfix就是连不上,怎么办?

你看一下你的系统有没有25这个端口开放呀。如果有你的错误信息是什么。
还有你的日志一起贴出来。

论坛徽章:
0
4 [报告]
发表于 2005-04-26 12:14 |只看该作者

postfix就是连不上,怎么办?

25是放开的.

LOG如下:

Apr 24 04:22:43 mail sendmail[4072]: j3NKMhc0004072: from=root, size=693, class=0, nrcpts=1, msgid=<200504232022.j3NKMhc0004072@mail.strong.com>;, relay=root@localhost
Apr 24 04:22:43 mail sendmail[4072]: j3NKMhc0004072: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30693, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Apr 25 04:02:03 mail sendmail[27701]: j3OK23ej027701: from=root, size=1083, class=0, nrcpts=1, msgid=<200504242002.j3OK23ej027701@mail.strong.com>;, relay=root@localhost
Apr 25 04:02:03 mail sendmail[27701]: j3OK23ej027701: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31083, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Apr 25 12:36:56 mail spamc[28533]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Apr 25 12:36:57 mail spamc[28533]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Apr 25 12:36:58 mail spamc[28533]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Apr 25 12:36:59 mail spamc[28533]: connection attempt to spamd aborted after 3 retries
Apr 25 12:37:00 mail spamd[28534]: spamd starting
Apr 25 12:37:01 mail spamd[28536]: server started on port 7830/tcp (running version 3.0.0)
Apr 25 12:37:01 mail spamd[28538]: connection from localhost.localdomain [127.0.0.1] at port 32913
Apr 25 12:37:01 mail spamd[28538]: info: setuid to root succeeded
Apr 25 12:37:01 mail spamd[28538]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Apr 25 12:37:01 mail spamd[28538]: processing message (unknown) for root:99.
Apr 25 12:37:01 mail spamd[28536]: server successfully spawned child process, pid 28538
Apr 25 12:37:01 mail spamd[28536]: server successfully spawned child process, pid 28539
Apr 25 12:37:01 mail spamd[28536]: server successfully spawned child process, pid 28540
Apr 25 12:37:01 mail spamd[28536]: server successfully spawned child process, pid 28541
Apr 25 12:37:01 mail spamd[28536]: server successfully spawned child process, pid 28542
Apr 25 12:37:01 mail spamd[28538]: clean message (-1.3/5.0) for root:99 in 0.1 seconds, 19 bytes.
Apr 25 12:37:01 mail spamd[28538]: result: . -1 - ALL_TRUSTED,MISSING_SUBJECT scantime=0.1,size=19,mid=(unknown),autolearn=failed
Apr 25 12:37:01 mail spamd[28539]: connection from localhost.localdomain [127.0.0.1] at port 32914
Apr 25 12:37:01 mail spamd[28539]: info: setuid to root succeeded
Apr 25 12:37:01 mail spamd[28539]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Apr 25 12:37:01 mail spamd[28539]: checking message <1114403805.28483.2.camel@mail.strong.com>; for root:99.
Apr 25 12:37:01 mail spamd[28539]: clean message (-2.4/5.0) for root:99 in 0.1 seconds, 947 bytes.
Apr 25 12:37:01 mail spamd[28539]: result: . -2 - ALL_TRUSTED scantime=0.1,size=947,mid=<1114403805.28483.2.camel@mail.strong.com>;,autolearn=failed
Apr 25 13:46:12 mail spamc[3118]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#1 of 3): Connection refused
Apr 25 13:46:13 mail spamc[3118]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#2 of 3): Connection refused
Apr 25 13:46:14 mail spamc[3118]: connect(AF_INET) to spamd at 127.0.0.1 failed, retrying (#3 of 3): Connection refused
Apr 25 13:46:15 mail spamc[3118]: connection attempt to spamd aborted after 3 retries
Apr 25 13:46:16 mail spamd[3119]: spamd starting
Apr 25 13:46:18 mail spamd[3121]: server started on port 7830/tcp (running version 3.0.0)
Apr 25 13:46:18 mail spamd[3123]: connection from localhost.localdomain [127.0.0.1] at port 32788
Apr 25 13:46:18 mail spamd[3123]: info: setuid to root succeeded
Apr 25 13:46:18 mail spamd[3121]: server successfully spawned child process, pid 3123
Apr 25 13:46:18 mail spamd[3121]: server successfully spawned child process, pid 3124
Apr 25 13:46:18 mail spamd[3121]: server successfully spawned child process, pid 3125
Apr 25 13:46:18 mail spamd[3123]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Apr 25 13:46:18 mail spamd[3123]: processing message (unknown) for root:99.
Apr 25 13:46:18 mail spamd[3121]: server successfully spawned child process, pid 3126
Apr 25 13:46:18 mail spamd[3121]: server successfully spawned child process, pid 3127
Apr 25 13:46:18 mail spamd[3123]: clean message (-1.3/5.0) for root:99 in 0.1 seconds, 19 bytes.
Apr 25 13:46:18 mail spamd[3123]: result: . -1 - ALL_TRUSTED,MISSING_SUBJECT scantime=0.1,size=19,mid=(unknown),autolearn=failed
Apr 25 13:46:18 mail spamd[3124]: connection from localhost.localdomain [127.0.0.1] at port 32789
Apr 25 13:46:18 mail spamd[3124]: info: setuid to root succeeded
Apr 25 13:46:18 mail spamd[3124]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Apr 25 13:46:18 mail spamd[3124]: checking message <1114407978.3066.2.camel@mail.strong.com>; for root:99.
Apr 25 13:46:18 mail spamd[3124]: clean message (-2.1/5.0) for root:99 in 0.2 seconds, 5185 bytes.
Apr 25 13:46:18 mail spamd[3124]: result: . -2 - ALL_TRUSTED,HTML_90_100,HTML_MESSAGE scantime=0.2,size=5185,mid=<1114407978.3066.2.camel@mail.strong.com>;,autolearn=failed
Apr 25 13:50:42 mail spamd[3125]: connection from localhost.localdomain [127.0.0.1] at port 32817
Apr 25 13:50:42 mail spamd[3125]: info: setuid to root succeeded
Apr 25 13:50:42 mail spamd[3125]: Still running as root: user not specified with -u, not found, or set to root.  Fall back to nobody.
Apr 25 13:50:42 mail spamd[3125]: checking message <1114408221.3066.3.camel@mail.strong.com>; for root:99.
Apr 25 13:50:42 mail spamd[3125]: clean message (-0.5/5.0) for root:99 in 0.1 seconds, 1448 bytes.
Apr 25 13:50:42 mail spamd[3125]: result: .  0 - ALL_TRUSTED,HTML_90_100,HTML_MESSAGE,MIME_HTML_MOSTLY scantime=0.1,size=1448,mid=<1114408221.3066.3.camel@mail.strong.com>;,autolearn=failed
Apr 25 16:25:35 mail postfix/postfix-script: starting the Postfix mail system
Apr 25 16:25:35 mail postfix/master[4584]: daemon started -- version 2.1.5
Apr 25 17:58:55 mail postfix/postfix-script: stopping the Postfix mail system
Apr 25 17:58:55 mail postfix/master[4584]: terminating on signal 15
Apr 25 17:58:56 mail postfix/postfix-script: starting the Postfix mail system
Apr 25 17:58:56 mail postfix/master[4718]: daemon started -- version 2.1.5
Apr 26 04:02:04 mail sendmail[5096]: j3PK242m005096: from=root, size=3273, class=0, nrcpts=1, msgid=<200504252002.j3PK242m005096@mail.strong.com>;, relay=root@localhost
Apr 26 04:02:04 mail postfix/smtpd[5098]: connect from localhost.localdomain[127.0.0.1]
Apr 26 04:02:04 mail postfix/smtpd[5098]: F3A5411589E: client=localhost.localdomain[127.0.0.1]
Apr 26 04:02:05 mail postfix/cleanup[5101]: F3A5411589E: message-id=<200504252002.j3PK242m005096@mail.strong.com>;
Apr 26 04:02:05 mail postfix/qmgr[4722]: F3A5411589E: from=<root@mail.strong.com>;, size=3863, nrcpt=1 (queue active)
Apr 26 04:02:05 mail sendmail[5096]: j3PK242m005096: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=33273, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as F3A5411589E)
Apr 26 04:02:05 mail postfix/smtpd[5098]: disconnect from localhost.localdomain[127.0.0.1]
Apr 26 04:02:05 mail postfix/local[5102]: F3A5411589E: to=<root@mail.strong.com>;, relay=local, delay=1, status=sent (delivered to mailbox)
Apr 26 04:02:05 mail postfix/qmgr[4722]: F3A5411589E: removed
Apr 26 04:02:05 mail ctl_mboxlist[5131]: DBERROR: reading /var/lib/imap/db/skipstamp, assuming the worst: No such file or directory
Apr 26 04:02:05 mail ctl_mboxlist[5131]: skiplist: recovered /var/lib/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds
Apr 26 10:16:15 mail sendmail[3229]: alias database /etc/aliases rebuilt by root
Apr 26 10:16:15 mail sendmail[3229]: /etc/aliases: 78 aliases, longest 10 bytes, 802 bytes total
Apr 26 10:16:15 mail sendmail[3234]: starting daemon (8.13.1): SMTP+queueing@01:00:00
Apr 26 10:16:16 mail sm-msp-queue[3244]: starting daemon (8.13.1): queueing@01:00:00
Apr 26 10:16:16 mail sendmail[3248]: j3Q2GGZ2003248: from=<root@mail.strong.com>;, size=975, class=0, nrcpts=1, msgid=<200504232022.j3NKMhc0004072@mail.strong.com>;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 26 10:16:16 mail sm-msp-queue[3245]: j3NKMhc0004072: to=root, ctladdr=root (0/0), delay=2+05:53:33, xdelay=00:00:00, mailer=relay, pri=120693, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j3Q2GGZ2003248 Message accepted for delivery)
Apr 26 10:16:16 mail sendmail[3249]: j3Q2GGZ2003248: to=<root@mail.strong.com>;, ctladdr=<root@mail.strong.com>; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31194, dsn=2.0.0, stat=Sent
Apr 26 10:16:16 mail sendmail[3248]: j3Q2GGZ4003248: from=<root@mail.strong.com>;, size=1365, class=0, nrcpts=1, msgid=<200504242002.j3OK23ej027701@mail.strong.com>;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 26 10:16:16 mail sm-msp-queue[3245]: j3OK23ej027701: to=root, ctladdr=root (0/0), delay=1+06:14:13, xdelay=00:00:00, mailer=relay, pri=121083, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j3Q2GGZ4003248 Message accepted for delivery)
Apr 26 10:16:16 mail sendmail[3251]: j3Q2GGZ4003248: to=<root@mail.strong.com>;, ctladdr=<root@mail.strong.com>; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31584, dsn=2.0.0, stat=Sent
Apr 26 10:16:16 mail sendmail[3248]: j3Q2GGZ6003248: from=<root@mail.strong.com>;, size=2494, class=0, nrcpts=1, msgid=<200504232002.j3NK24t6003805@mail.strong.com>;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 26 10:16:16 mail sm-msp-queue[3245]: j3NK24t6003805: to=root, ctladdr=root (0/0), delay=2+06:14:12, xdelay=00:00:00, mailer=relay, pri=122212, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j3Q2GGZ6003248 Message accepted for delivery)
Apr 26 10:16:16 mail sendmail[3253]: j3Q2GGZ6003248: to=<root@mail.strong.com>;, ctladdr=<root@mail.strong.com>; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32713, dsn=2.0.0, stat=Sent
Apr 26 10:16:16 mail sendmail[3248]: j3Q2GGZ8003248: from=<root@mail.strong.com>;, size=2996, class=0, nrcpts=1, msgid=<200504230436.j3N4a0Oo003230@mail.strong.com>;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 26 10:16:16 mail sm-msp-queue[3245]: j3N4a0Oo003230: to=root, ctladdr=root (0/0), delay=2+21:40:16, xdelay=00:00:00, mailer=relay, pri=122714, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j3Q2GGZ8003248 Message accepted for delivery)
Apr 26 10:16:16 mail sendmail[3255]: j3Q2GGZ8003248: to=<root@mail.strong.com>;, ctladdr=<root@mail.strong.com>; (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33215, dsn=2.0.0, stat=Sent
Apr 26 10:30:46 mail postfix/postfix-script: starting the Postfix mail system
Apr 26 10:30:46 mail postfix/master[3366]: daemon started -- version 2.1.5
Apr 26 10:42:08 mail postfix/postfix-script: fatal: the Postfix mail system is already running
Apr 26 10:42:15 mail postfix/postfix-script: stopping the Postfix mail system
Apr 26 10:42:15 mail postfix/master[3366]: terminating on signal 15
Apr 26 10:42:16 mail postfix/postfix-script: starting the Postfix mail system
Apr 26 10:42:16 mail postfix/master[3448]: daemon started -- version 2.1.5
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP