Re: Relay and mynetworks

2009-11-20 Thread Wietse Venema
Jeronimo: > I chance the restriction because I want that only messages from mydomain > pass through the relay. That is not what the configuration does. In reality, it forwards mail from anyone who sends mail with your domain name in the sender address. So put back the default smtpd_recipient_res

Re: Relay and mynetworks

2009-11-20 Thread Jeronimo
I put the restriction on smtpd_recipient_restriction to log all attempts to send email. There is no difference to put this restriction on smtpd_sender_restriction. Only change the time that server rejects the message. I guess.. I chance the restriction because I want that only messages from mydoma

Re: Relay and mynetworks

2009-11-20 Thread Victor Duchovni
On Fri, Nov 20, 2009 at 05:04:44PM -0200, Jeronimo wrote: > Hi, > > I always think that only hosts in mynetworks can do relay on my server, > but... > I created the following rule > > smtpd_recipient_restrictions = > check_sender_access hash:/etc/postfix/dominios_permitidos, > reject Th

Re: Relay and mynetworks

2009-11-20 Thread Eero Volotinen
Jeronimo wrote: Hi, I always think that only hosts in mynetworks can do relay on my server, but... I created the following rule smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject How about using smtpd_sender_restrictions ? -- Eero

Relay and mynetworks

2009-11-20 Thread Jeronimo
Hi, I always think that only hosts in mynetworks can do relay on my server, but... I created the following rule smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/dominios_permitidos, reject and put this on the dominios_permitidos map meudominio.com.br OK But when I do