On Thu, Nov 08, 2012 at 11:42:30PM +0800, Feel Zhou wrote:
> My customer send mail via my mail server
> And set def.cn at mynetworks

"Def.cn" is a domain, not an IP address. $mynetworks should be a list 
of networks, that is, IP addresses, not names.

http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/postconf.5.html#mynetworks

Also, if that is meant to be an example, please do not use real 
Internet names as examples. Example.TLD is set aside for that purpose 
in most gTLDs.

$ whois def.cn
Domain Name: def.cn
ROID: 20040527s10001s02382825-cn
Domain Status: clientTransferProhibited
Registrant ID: 10071_1
Registrant: PANCHINA FOODS LIMITED
...

> There is one mail can not send by my mail server
> The log is just like
> 
> Nov 8 23:11:45 shcx postfix/smtp[10637]: BC051AC0064: 
> to=<us...@abc.com>, relay=mail.abc.com[1.2.3.4]:25, delay=20816, 
> delays=20791/0.01/5.5/19, dsn=4.1.8, status=deferred (host 
> mail.abc.com[1.2.3.4] said: 450 4.1.8 < us...@def.cn>: Sender 
> address rejected: Domain not found ( in reply to RCPT TO command))
> 
> How can I fix it ?

We don't know. It looks like mail.abc.com[1.2.3.4] is using 
reject_unknown_sender_domain in its restrictions, and apparently 
could not resolve def.cn.

Generally it is a good idea to use a real sender address when sending 
mail. Most sites will use reject_unknown_sender_domain (or equivalent 
in other MTAs.)
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to