Hello everyone,

I think I found the solution, it was in this thread 
https://bbs.archlinux.org/viewtopic.php?id=158020, changing 
smtpd_recipient_restrictions to smtpd_relay_restrictions.

Thank you!
Kind regards.

Héctor Moreno


De: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] En 
nombre de Héctor Moreno Blanco
Enviado el: viernes, 17 de abril de 2015 10:48
Para: postfix-users@postfix.org
Asunto: relay access control

Hello everyone,

I want to control the relay access to our Postfix server. We would like to 
permit mail only to a certain servers (IP and/or hostname) and only existing 
mail in our LDAP.
I don't want to add these servers to mynetwork because it will allow any 
address to send...

I've tried with check_client_access and reject_unverified_sender, and many 
other options without success. I always get "relay access denied" error...

Any suggestions here please?

Thank you very much in advanced.
Kind regards.

Héctor Moreno.


P Please consider the environment before printing this e-mail.
________________________________
This message including any attachments may contain confidential information, 
according to our Information Security Management System, and intended solely 
for a specific individual to whom they are addressed. Any unauthorised copy, 
disclosure or distribution of this message is strictly forbidden. If you have 
received this transmission in error, please notify the sender immediately and 
delete it.
________________________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener 
información clasificada por su emisor como confidencial en el marco de su 
Sistema de Gestión de Seguridad de la Información siendo para uso exclusivo del 
destinatario, quedando prohibida su divulgación copia o distribución a terceros 
sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje 
erróneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboración.
________________________________
Esta mensagem, incluindo qualquer ficheiro anexo, pode conter informação 
confidencial, de acordo com nosso Sistema de Gestão de Segurança da Informação, 
sendo para uso exclusivo do destinatário e estando proibida a sua divulgação, 
cópia ou distribuição a terceiros sem autorização expressa do remetente da 
mesma. Se recebeu esta mensagem por engano, por favor avise de imediato o 
remetente e apague-a. Obrigado pela sua colaboração.
________________________________

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________

Reply via email to