Re: Relay doubt

2009-03-16 Thread Magnus Bäck
On Monday, March 16, 2009 at 20:53 CET, "M. Rodrigo Monteiro" wrote: > > Place check_sender_access in smtpd_sender_retrictions, probably > > before permit_mynetworks unless you want to exempt local clients > > from the checks. As long as smtpd_delay_reject = yes you can place > > check_recip

Re: Relay doubt

2009-03-16 Thread M. Rodrigo Monteiro
> Place check_sender_access in smtpd_sender_retrictions, probably > before permit_mynetworks unless you want to exempt local clients > from the checks. As long as smtpd_delay_reject = yes you can place > check_recipient_access in the same place, otherwise you need to keep > them in smtpd_recipient_

Re: Relay doubt

2009-03-16 Thread Magnus Bäck
On Monday, March 16, 2009 at 14:12 CET, "M. Rodrigo Monteiro" wrote: > > Okay, so move those restrictions above permit_mynetworks. When placing > > check_sender_access restrictions above reject_unauth_destination in > > smtpd_recipient_restrictions, you must be very careful not to return > >

Re: Relay doubt

2009-03-16 Thread M. Rodrigo Monteiro
> Okay, so move those restrictions above permit_mynetworks. When placing > check_sender_access restrictions above reject_unauth_destination in > smtpd_recipient_restrictions, you must be very careful not to return > OK in that table since that would make you an open relay. If the > restriction must

Re: Relay doubt

2009-03-14 Thread Magnus Bäck
On Friday, March 13, 2009 at 22:09 CET, "M. Rodrigo Monteiro" wrote: > I have an Postfix as gateway for other domains (domain1, domain2, domain3). > When domain1 send an e-mail to domain2, it goes to Postfix and then to > domain2, and vice-versa. > When domain2 send an e-mail to Internet, it