Disable antispam/antivirus by default
Werner Detter
werner at aloah-from-hell.de
Sat Jan 10 21:11:06 CET 2015
Hi,
> Yea, I tried that, but that disables all scans completely, including the
> ones from the database policies - they get ignored.
Well, just create a default policy with apropriate values to disable
anti-virus/anti-spam as default, e.g.:
id: 1
policy_name: ANTISPAM/ANTIVIRUS DISABLED
virus_lover: Y
spam_lover: Y
banned_files_lover: Y
bad_header_lover: Y
bypass_virus_checks: Y
bypass_spam_checks: Y
bypass_banned_checks: Y
bypass_header_checks: Y
spam_modifies_subj: N
virus_quarantine_to: NULL
spam_quarantine_to: NULL
banned_quarantine_to: NULL
bad_header_quarantine_to: NULL
clean_quarantine_to: NULL
other_quarantine_to: NULL
spam_tag_level: -999
spam_tag2_level: 9999
spam_kill_level: 9999
spam_dsn_cutoff_level: NULL
spam_quarantine_cutoff_level: NULL
addr_extension_virus: NULL
addr_extension_spam: NULL
addr_extension_banned: NULL
addr_extension_bad_header: NULL
warnvirusrecip: NULL
warnbannedrecip: NULL
warnbadhrecip: NULL
newvirus_admin: NULL
virus_admin: NULL
banned_admin: NULL
bad_header_admin: NULL
spam_admin: NULL
spam_subject_tag: NULL
spam_subject_tag2: NULL
message_size_limit: NULL
banned_rulenames: NULL
Users for which you want anti-spam and anti-virus should be set to other
policies. Should work :)
Cheers,
Werner
More information about the amavis-users
mailing list