Jakub Nadolny wrote:
> I have some collective e-mail aliases like:
> [EMAIL PROTECTED]
> 
> I need to limit senders to this address to few authorised people only. So, in
> other words: 

It sounds like you want this example ("protecting internal email
distribution lists"):
http://www.postfix.org/RESTRICTION_CLASS_README.html

> if /^To: [EMAIL PROTECTED]/ 
>  if /^From: [EMAIL PROTECTED]/ or /^From: [EMAIL PROTECTED]/ OK
>  else REJECT You are not authorised to send e-mail to this address.
> endif

Header checks work on each header one-by-one, so you can't chain checks
together or have them dependent on each other. If you want to do that, I
believe you need a policy server.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to