On Tue, Feb 07, 2012 at 02:57:08PM +0200, Nikolaos Milas wrote: > On 7/2/2012 2:47 μμ, Denis Witt wrote: > > > >I wonder if there is an easy solution to disallow a specific > >sender (From-Header) to send e-mails to non $mydestination > >addresses. > > > >Thanks in advance for any hint.
While Nikolaos' links below are indeed the probable best answer, another important clue is this: you must understand that headers don't control mail routing. The restrictions below are applied against the envelope 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 -- http://rob0.nodns4.us/ -- system administration and consulting Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: