OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re:

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Thu Nov 16 2006 - 14:34:36 CST


At 02:31 PM 11/16/2006, Mark Hennessy wrote:
> >At 11:31 AM 11/16/2006, Mark Hennessy wrote:
> >>I want to prohibit a list of users from being able to send
> >>e-mail to certain
> >>domains at all. I think it should involve access,
> >>transports, and
> >>header_checks but I am not quite sure how to implement it.
> >
> >This is done with smtpd_restriction_classes and multiple
> >access tables; header_checks and transport_maps are not
> >involved. Here is a general write-up you should be able to
> >modify for your purposes:
> >http://www.postfix.org/RESTRICTION_CLASS_README.html#external
> >
> >--
> >Noel Jones
>
>Thanks!! I formulated a configuration based upon that
>documentation, but I've
>just been told though that it's not in fact a list of
>users that I want to
>prohibit, but a list of users that I want to permit and
>all other users would
>be prohibited. How I might do that?
>
>--
>Mark Hennessy

Just reverse the order of the lookups. Same framework applies.

--
Noel Jones