Sep 5 23:58:39 ****** postfix/smtpd[16767]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 5 23:58:39 ****** postfix/smtpd[16767]: warning: 58.33.157.147: address not listed for hostname 147.157.33.58.broad.xw.sh.dynamic.163data.com.cn
Sep 5 23:58:39 ****** postfix/smtpd[16767]: connect from unknown[58.33.157.147]
Sep 5 23:58:39 ****** postfix/trivial-rewrite[16770]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 5 23:58:39 ****** postfix/smtpd[16767]: NOQUEUE: reject: RCPT from unknown[58.33.157.147]: 504 5.5.2 <PC-200908251556>: Helo command rejected: need fully-qualified hostname; from=<test@test.com> to=<test@gmail.com> proto=SMTP helo=<PC-200908251556>
Sep 5 23:58:39 ****** postfix/smtpd[16767]: lost connection after RCPT from unknown[58.33.157.147]
Sep 5 23:58:39 ****** postfix/smtpd[16767]: disconnect from unknown[58.33.157.147]
Sep 5 23:58:39 ****** postfix/smtpd[16767]: warning: 58.33.157.147: address not listed for hostname 147.157.33.58.broad.xw.sh.dynamic.163data.com.cn
Sep 5 23:58:39 ****** postfix/smtpd[16767]: connect from unknown[58.33.157.147]
Sep 5 23:58:39 ****** postfix/smtpd[16767]: 9FA60F270032: client=unknown[58.33.157.147], sasl_method=LOGIN, [email=sasl_username=test@test.com]sasl_username=test@test.com[/email]
Sep 5 23:58:39 ****** postfix/cleanup[16774]: 9FA60F270032: message-id=<>
Sep 5 23:58:39 ****** postfix/qmgr[16776]: 9FA60F270032: from=<test@test.com>, size=643, nrcpt=1 (queue active)
Sep 5 23:58:39 ****** postfix/smtpd[16767]: disconnect from unknown[58.33.157.147]
Sep 5 23:58:44 ****** postfix/smtp[16777]: 9FA60F270032: to=<test@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.222.46]:25, delay=5, delays=0.1/0/2.5/2.5, dsn=2.0.0, status=sent (250 2.0.0 OK 1252166324 12si7091801pzk.74)
Sep 5 23:58:44 ****** postfix/qmgr[16776]: 9FA60F270032: removed
Sep 6 00:16:16 ****** postfix/smtpd[16822]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 6 00:16:16 ****** postfix/smtpd[16822]: warning: 58.33.157.147: address not listed for hostname 147.157.33.58.broad.xw.sh.dynamic.163data.com.cn
Sep 6 00:16:16 ****** postfix/smtpd[16822]: connect from unknown[58.33.157.147]
Sep 6 00:16:17 ****** postfix/trivial-rewrite[16826]: warning: do not list domain test.com in BOTH mydestination and virtual_mailbox_domains
Sep 6 00:16:17 ****** postfix/smtpd[16822]: 070C7F270032: client=unknown[58.33.157.147], sasl_method=LOGIN, [email=sasl_username=test@test.com]sasl_username=test@test.com[/email]
Sep 6 00:16:17 ****** postfix/cleanup[16829]: 070C7F270032: message-id=<>
Sep 6 00:16:17 ****** postfix/qmgr[16776]: 070C7F270032: from=<test@test.com>, size=643, nrcpt=1 (queue active)
Sep 6 00:16:17 ****** postfix/smtpd[16822]: disconnect from unknown[58.33.157.147]
Sep 6 00:16:21 ****** postfix/smtp[16831]: 070C7F270032: to=<test@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.222.46]:25, delay=4.4, delays=0.1/0/1.7/2.6, dsn=2.0.0, status=sent (250 2.0.0 OK 1252167381 12si7096839pzk.6)
Sep 6 00:16:21 ****** postfix/qmgr[16776]: 070C7F270032: removed
broken_sasl_auth_clients = yes
command_directory = /usr/local/postfix/sbin
config_directory = /etc/postfix
daemon_directory = /usr/local/postfix/libexec
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /var/www/postfix_html
inet_interfaces = all
mail_owner = vmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/postfix/man
message_size_limit = 14336000
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = test.com
myhostname = mail.test.com
mynetworks = 127.0.0.1
newaliases_path = /usr/bin/newaliases
queue_directory = /home/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1000
virtual_mailbox_base = /home/domains
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 20971520
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = virtual
virtual_uid_maps = static:1000
原帖由 minmig 于 2009-9-6 00:44 發(fā)表
正在弄一個(gè)postfix的mailserver 看了marion 的文檔,編譯安裝。裝完測(cè)試發(fā)現(xiàn)一些問題,foxmail不管是否勾選通過smtp認(rèn)證都可以發(fā)出郵件,看日志然后telnet感覺esmtp是有的,但是smtp沒有禁止。不知如何禁止。下 ...
原帖由 minmig 于 2009-9-7 10:59 發(fā)表
多謝樓上回復(fù)
現(xiàn)在換用outlook explore測(cè)試
果然需要通過選中需要身份驗(yàn)證才能發(fā)件
看了一下日志和error信息。
不選身份驗(yàn)證如下:
outlook error信息是Helo command rejected: need fu ...
原帖由 ruochen 于 2009-9-7 12:17 發(fā)表
如果你的mynetworks參數(shù)包括你的網(wǎng)段,勾不勾選需要認(rèn)證都可以發(fā)信收信的
還有一點(diǎn)是當(dāng)初在編譯postfix的時(shí)候就直接支持mysql ,為什么還需要用通過authlib來連接mysql呢?
-------這個(gè)是起橋梁作用 ...
還有一點(diǎn)是當(dāng)初在編譯postfix的時(shí)候就直接支持mysql ,為什么還需要用通過authlib來連接mysql呢?
原帖由 scyzxp 于 2009-9-7 13:53 發(fā)表
這個(gè)理解不太對(duì)。你的postfix是通過sasl認(rèn)證的吧。sasl是調(diào)用的authlib來做認(rèn)證的吧。那就是authlib讀Mysql來認(rèn)證的
原帖由 minmig 于 2009-9-7 14:20 發(fā)表
那就是說在編譯postfix時(shí)不用加入mysql的目錄在日后也能通過authlib來用mysql認(rèn)證?
還有那個(gè)sals如何強(qiáng)制esmtp的問題...
歡迎光臨 Chinaunix (http://www.72891.cn/) | Powered by Discuz! X3.2 |