Review disable.spam.virus.scanning.for.outgoing.mails.md and move to 3-faq-howto/.
This commit is contained in:
parent
120b8c6f6d
commit
637d44b77d
|
@ -1,15 +1,15 @@
|
|||
<http://iredmail.org/wiki/index.php?title=IRedMail/FAQ/Disable.Spam.Virus.Scanning.for.Outgoing.Mails>
|
||||
#How to disable spam virus scanning for outgoing mails
|
||||
To disable spam/virus scanning for outgoing mails, you can add bypass settings in Amavisd config file: /etc/amavisd.conf (RHEL/CentOS/Scientific Linux) or /etc/amavis/conf.d/50-user (Debian/Ubuntu) or /usr/local/etc/amavisd.conf (FreeBSD).
|
||||
# How to disable spam virus scanning for outgoing mails
|
||||
|
||||
To disable spam/virus scanning for outgoing mails, you can add bypass settings in Amavisd config file: `/etc/amavisd/amavisd.conf` (RHEL/CentOS/Scientific Linux) or `/etc/amavis/conf.d/50-user` (Debian/Ubuntu) or `/usr/local/etc/amavisd.conf` (FreeBSD).
|
||||
|
||||
* bypass_spam_checks_maps
|
||||
* bypass_virus_checks_maps
|
||||
* bypass_header_checks_maps
|
||||
* bypass_banned_checks_maps
|
||||
|
||||
These settings can be added in Amavisd policy_bank: MYUSERS.
|
||||
These settings can be added in setting block `$policy_bank{'MYUSERS'}`:
|
||||
|
||||
<pre>
|
||||
```perl
|
||||
$policy_bank{'MYUSERS'} = {
|
||||
[...OMIT OTHER SETTINGS HERE...]
|
||||
|
||||
|
@ -21,6 +21,6 @@ $policy_bank{'MYUSERS'} = {
|
|||
# allow sending any file names and types
|
||||
bypass_banned_checks_maps => [1],
|
||||
}
|
||||
</pre>
|
||||
```
|
||||
|
||||
Restarting Amavisd service is required after changing settings.
|
Loading…
Reference in New Issue