2009/3/6 Carver Banks <carver.ba...@trustvesta.com>:
> Or so I thought..., that did restrict all mail to the internal recipients as 
> well.
>
> I need anyone in mydomain.com to be able to email anyone in mydomain.local, 
> but I need users on mydomain.local to only be allowed to email a few people 
> in mydomain.com, and none of the other members of mydoman.local.
>
> I think postfix may not be able to accomplish what I desire, if I am wrong 
> please correct me.

I'm not *certain* this will work as expected desired, but you could
try putting a check_sender_access table before the
check_recipient_access table. You can then "OK" the mydomain.com
domain in check_sender_access, then do the check_recipient_access as
previously described. The catch is that the sender can make up
whatever they want for the sender address, so you really must not use
this in a public-facing system, for the reasons described in
http://www.postfix.org/RESTRICTION_CLASS_README.html

Reply via email to