On 07.02.2012 13:57, Nikolaos Milas wrote:

I wonder if there is an easy solution to disallow a specific sender
(From-Header) to send e-mails to non $mydestination addresses.

Check smtpd_sender_restrictions and/or smtpd_client_restrictions, as
well as restriction classes:
http://www.postfix.org/SMTPD_ACCESS_README.html
http://www.postfix.org/RESTRICTION_CLASS_README.html

Hi again,

it seems that restriction classes, etc. are working fine if mail is send by SMTP, not by local processes (sendmail, etc.). Is this correct or do I miss something?

--
Best regards,
Denis Witt

Reply via email to