1

Topic: Off amavis for outgoing mails

Hi,

It is possible to turn off checking mails for sending?
I have checking for virus only incoming emails not outgoing.

Regards,
Pawel

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Off amavis for outgoing mails

Try this:

* Find below lines in amavisd config file:

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
  allow_disclaimers => 1, # enables disclaimer insertion if available
};

* Add bypass_virus_checks_maps setting:

$policy_bank{'MYNETS'} = {
  originating => 1,
  os_fingerprint_method => undef,
  allow_disclaimers => 1,
  bypass_virus_checks_maps => [1],    # <-- Add this line.
};

* Restart amavisd and test it.

3

Re: Off amavis for outgoing mails

Zhang, big thanks

Pawel