- 论坛徽章:
- 0
|
本帖最后由 linuxnewers 于 2010-09-03 16:21 编辑
centos系统,刚配好的postfix,用客户机的OUTLOOK在内网收发邮件都正常,接收外部邮件也正常,但就是无法发送。小弟是个实实在在的菜鸟,请各位大虾多多帮助,在此感激不尽。我把相关配置文件发出来,指点指点。
main.cf配置
[root@localhost ~]# postconf -n
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
append_at_myorigin = yes
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /usr/share/doc/postfix-2.7.1-documentation/html
inet_interfaces = all
local_header_rewrite_clients = permit_mynetworks
local_recipient_maps =
mail_owner = postfix
mailbox_size_limit = 512000000
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = xxxxx.com
message_size_limit = 51200000
mydestination = mydomain, localhost, $mydomain
mydomain = xxxxx.com
myhostname = mail.xxxxx.com
mynetworks = 192.168.0.0/24,192.168.1.0/24,119.40.24.202/32,127.0.0.0/8
myorigin = xxxxx.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.7.1-documentation/readme
relay_domains = $mydestination,xxxxx.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = hash:/etc/postfix/generic
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
-------------------------------------------------------------------
-------------------------------------------------------------------
这是日志
Sep 3 13:40:51 localhost dovecot: pop3-login: Login: user=<jianjun.li>, method=PLAIN, rip=::ffff:192.168.0.3, lip=::ffff:192.168.0.94
Sep 3 13:40:51 localhost dovecot: POP3(jianjun.li): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 3 13:40:52 localhost dovecot: pop3-login: Login: user=<wei.han>, method=PLAIN, rip=::ffff:192.168.0.3, lip=::ffff:192.168.0.94
Sep 3 13:40:52 localhost dovecot: POP3(wei.han): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 3 13:40:52 localhost dovecot: pop3-login: Login: user=<jianjun.li>, method=PLAIN, rip=::ffff:192.168.0.3, lip=::ffff:192.168.0.94
Sep 3 13:40:52 localhost dovecot: POP3(jianjun.li): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 3 13:40:52 localhost dovecot: pop3-login: Login: user=<wei.han>, method=PLAIN, rip=::ffff:192.168.0.3, lip=::ffff:192.168.0.94
Sep 3 13:40:52 localhost dovecot: POP3(wei.han): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 3 13:40:52 localhost dovecot: pop3-login: Login: user=<jianjun.li>, method=PLAIN, rip=::ffff:192.168.0.3, lip=::ffff:192.168.0.94
Sep 3 13:40:52 localhost dovecot: POP3(jianjun.li): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Sep 3 13:41:02 localhost postfix/smtp[9096]: fatal: open database /etc/postfix/generic.db: No such file or directory
Sep 3 13:41:03 localhost postfix/master[9046]: warning: process /usr/libexec/postfix/smtp pid 9096 exit status 1
Sep 3 13:41:03 localhost postfix/master[9046]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling |
|