On 1/16/2014 10:36 AM, Andrea wrote: > Hello, > here I have a strange behaviour from postfix. > > I had many mails "rejected" with a 450 code for "Sender address > rejected: Domain not found", and wanted to change them to a 550 code > to avoid queue on the previous mta. > > So I added the row: > unknown_address_reject_code = 550 > on main.cf <http://main.cf> and restarted postfix. > > Now it seems he does it randomly, and this happens on 3 similar servers. > Some logs as sample: > > Jan 16 17:13:24 mta1 postfix/smtpd[19697]: NOQUEUE: reject: RCPT > from xxx: 450 <[email protected] > <mailto:[email protected]>>: Sender address > rejected: Domain not found; from=<[email protected] > <mailto:[email protected]>> to=<xaetapiwij3419@xxx> > proto=ESMTP helo=<xxx> > Jan 16 17:13:36 mta1 postfix/smtpd[19689]: NOQUEUE: reject: RCPT > from xxx: 550 <[email protected]>: Sender > address rejected: Domain not found; > from=<[email protected]> > to=<mivaololy1175@xxx> proto=ESMTP helo=<xxx> > Jan 16 17:13:36 mta1 postfix/smtpd[19676]: NOQUEUE: reject: RCPT > from xxx: 450 <[email protected] > <mailto:[email protected]>>: Sender address rejected: > Domain not found; from=<[email protected] > <mailto:[email protected]>> to=<yjyawe4144@xxx> > proto=ESMTP helo=<xxx> > > Anyone knows why this happens? > How can I force to have always 550 for inexistent domain on sender > address? > > This happens on both postfix 2.9.6-2 or 2.2.8-1.2 > > Thanks, > Andrea >
http://www.postfix.org/postconf.5.html#unknown_address_reject_code ... The response is always 450 in case of a temporary DNS error. -- Noel Jones
