R.Smits,

> We want to whitelist all the mail : internal --> internal.
> We do NOT want to whitelist : internal --> external
> Also ofcourse NOT whitelist : external --> internal (makes sense :-)
>
> Is this possible with one instance of amavis. I know you can whitelist
> from internal with a policy bank and mynetworks.
> But this is more complicated.

Not much more complicated. Internal origin is identified by a policy bank,
e.g. on MYNETS, external recipient is the one who belongs to a non-local 
domain:

$policy_bank{'MYNETS'} = {  # mail is coming from inside
  spam_lovers_maps => [
    {'mydomain.example.com'=>1, #recipient local, don't mind spam (=whitelist)
     '.'=>0,  # all the rest: nonlocal recipient, not a spam lover
    }
  ],
  ...
};

Mark


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to