简直晕死了,断断续续搞了二个多月了,直到昨天才有点眉目,今天彻底搞定了。实际上也不完全是POP3与SMTP分开,只是一台还是POP3与SMTP在一起(这个好象分不开的,否则收不到邮件)?另一台专门来发邮件SMTP就好了。具体过程看CU上的贴子:
今天只把正确配置贴出来,算是作个备份吧
postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_transport = smtp
html_directory = no
ignore_mx_lookup_error = yes
inet_interfaces = all
local_recipient_maps =
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, smtp.$mydomain
mydomain = gd.um.com
myhostname = smtp.gd.um.com
mynetworks = 172.16.0.0/16, 10.0.0.0/8, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
relay_domains = $mydestination $mynetworks
relayhost = 10.0.0.5
sample_directory = /usr/share/doc/postfix-2.2.10/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP unknow
smtpd_client_restrictions = permit_mynetworks, check_client_access hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
/etc/postfix/transport:
gd.um.com smtp:[172.16.86.1]:25
* relay:[10.0.0.5]
阅读(1387) | 评论(0) | 转发(0) |