On 12/28/2013 3:20 AM, [email protected] wrote:
> 
> Just as in moparisthebest's message this is to filter email coming
> to my kid's email.
> 
> This is a single address. Lets call it [email protected]. Any mail
> from authorized senders (family, friends, ...) goes to bill's
> mailbox. Any other mail goes to another mailbox (bob).
> 
> I would indeed be testing the sender's email only for emails going
> to that particular recipient ([email protected])
> 

The postfix feature for this is restriction classes. Some examples
are in the README:
http://www.postfix.org/RESTRICTION_CLASS_README.html

Basically, start with a check_recipient_access table. If it matches
the protected recipient, call a check_sender_access regexp table
that returns DUNNO for approved senders, and returns REDIRECT
[email protected] for anyone else.


You can also do this with a policy server such as postfwd, or a milter.



  -- Noel Jones

Reply via email to