Bypass virus filtering per domain name
Mark.Martinec+amavis at ijs.si
Thu Aug 30 16:32:16 CEST 2012
> Amavis New 2.8.0
> I use a custom sql_select_policy which only selects a domain name.
> There is no other individualised user settings. I want to be able to
> alter this to choose to bypass spam checking per domain name. (but leave
> virus checking universal)
Let the SELECT return records with fields 'bypass_spam_checks'
and 'spam_lover' both set to a "Y" or "N" as appropriate,
and leave other fields such as 'bypass_virus_checks' and
'virus_lover' at a NULL (or not even have them in a schema),
which will fall back to static lookups for such fields.
More information about the amavis-users