把这行去掉smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname
telnet localhost 25 就没有问题 否则会出现以下故障
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
停在这里了。。。。。。。作者: scyzxp 时间: 2007-12-13 20:58
日志呢?作者: zzm183 时间: 2007-12-13 21:15
# tail /var/log/maillog
Dec 13 22:21:19 myserver postfix/cleanup[8186]: 3C3C6C3D16: message-id=<20071213 142119.3C3C6C3D16@mail.myserver.com>
Dec 13 22:21:19 myserver postfix/qmgr[7820]: 3C3C6C3D16: from=<root@myserver.com
>, size=732, nrcpt=1 (queue active)
Dec 13 22:21:19 myserver postfix/local[8188]: 3C3C6C3D16: to=<root@myserver.com>
, orig_to=<root>, relay=local, delay=0.15, delays=0.08/0/0/0.06, dsn=2.0.0, stat
us=sent (delivered to mailbox)
Dec 13 22:21:19 myserver postfix/qmgr[7820]: 3C3C6C3D16: removed
Dec 13 22:31:08 myserver postfix/postfix-script: refreshing the Postfix mail sys
tem
Dec 13 22:31:08 myserver postfix/master[7662]: reload configuration /etc/postfix
Dec 13 22:31:13 myserver postfix/smtpd[8387]: warning: dict_nis_init: NIS domain
name not set - NIS lookups disabled
Dec 13 22:31:13 myserver postfix/smtpd[8387]: fatal: parameter "smtpd_recipient_
restrictions": specify at least one working instance of: check_relay_domains, re
ject_unauth_destination, reject, defer or defer_if_permit
Dec 13 22:31:14 myserver postfix/master[7662]: warning: process /usr/local/postf
ix/libexec/smtpd pid 8387 exit status 1
Dec 13 22:31:14 myserver postfix/master[7662]: warning: /usr/local/postfix/libex
ec/smtpd: bad command startup -- throttling作者: ruochen 时间: 2007-12-14 11:05
mynetworks 参数怎么设置的?
Dec 13 22:31:13 myserver postfix/smtpd[8387]: fatal: parameter "smtpd_recipient_
restrictions": specify at least one working instance of: check_relay_domains, re
ject_unauth_destination, reject, defer or defer_if_permit