Re: Relay access denied 454 not 544

2014-05-28 Thread M. Rodrigo Monteiro
2014-05-27 16:54 GMT-03:00 Viktor Dukhovni postfix-us...@dukhovni.org: On Tue, May 27, 2014 at 04:38:31PM -0300, M. Rodrigo Monteiro wrote: Hi. I wanna know why Postfix is reject mail with temp error (4xx) and not 5xx for Relay access denied. What version of Postfix is this? #

Re: Relay access denied 454 not 544

2014-05-28 Thread Wietse Venema
M. Rodrigo Monteiro: In my scenario, should I use relay in transport_maps? Whats the diference between relay and smtp? Because: default_transport = smtp relay_transport = relay The purpose of this separation is (roughly) to give relayed mail the same priority as outbound mail. Without this

Re: Relay access denied 454 not 544

2014-05-28 Thread Viktor Dukhovni
On Wed, May 28, 2014 at 08:54:23AM -0300, M. Rodrigo Monteiro wrote: With 2.10 or later, relay control is via smtpd_relay_restrictions. # postconf | grep smtpd_relay_restrictions smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination It's it.

Relay access denied 454 not 544

2014-05-27 Thread M. Rodrigo Monteiro
Hi. I wanna know why Postfix is reject mail with temp error (4xx) and not 5xx for Relay access denied. Here is the log: May 27 12:11:34 postfix/smtpd[31197]: NOQUEUE: reject: RCPT from mx2.mydomain.com.br[XXX.XXX.XXX.37]: 454 4.7.1 return-58306-110-...@otherdomain.com.br: Relay access

Re: Relay access denied 454 not 544

2014-05-27 Thread Wietse Venema
M. Rodrigo Monteiro: Hi. I wanna know why Postfix is reject mail with temp error (4xx) and not 5xx for Relay access denied. Here is the log: May 27 12:11:34 postfix/smtpd[31197]: NOQUEUE: reject: RCPT from mx2.mydomain.com.br[XXX.XXX.XXX.37]: 454 4.7.1 Maybe the SMTP server has

Re: Relay access denied 454 not 544

2014-05-27 Thread M. Rodrigo Monteiro
2014-05-27 16:43 GMT-03:00 Wietse Venema wie...@porcupine.org: Maybe the SMTP server has soft_bounce turned on. # postconf soft_bounce soft_bounce = no Maybe the server has logged a DNS temporary lookup error prior to this reject. No. Wietse

Re: Relay access denied 454 not 544

2014-05-27 Thread Viktor Dukhovni
On Tue, May 27, 2014 at 04:38:31PM -0300, M. Rodrigo Monteiro wrote: Hi. I wanna know why Postfix is reject mail with temp error (4xx) and not 5xx for Relay access denied. What version of Postfix is this? Here is the conf: Generally, you should post the output of postconf -n rather than