Arnaud,

> I have two stmp servers , each are running postfix + amavisd-new + clamd.
> The first one is acting as internal smtp for the mail client PCs on the
> LAN and internal mail is directly send to pop/imap servers.
> The second is acting as the MX gateway for my domain (for managing
> incoming/outgoing from/to outside mail), SMTP server relays outgoing
> mail to MX server.amavisd-new whitelisting (no virus checking) by client/IP
>
> How can i whitelist the IP address of the internal SMTP server into the
> MX server amavisd config to avoid virus checking twice for outgoing mail ?

@mynetworks = qw( ... include your internal MX IP address here ... );

$policy_bank{'MYNETS'} = {  # mail originating from @mynetworks
  originating => 1,  # redundant, but let's make it explicit
  bypass_decode_parts => 1,
  bypass_virus_checks_maps  => [1],
  bypass_banned_checks_maps => [1],
};


Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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