Migrating from Alpine to Debian [was: amavis-users at amavis.org]
Laura Smith
n5d9xq3ti233xiyif2vp at protonmail.ch
Wed Nov 20 10:49:49 CET 2019
Thanks all for your help. bypass_virus_checks_maps etc. did the trick.
Strange thing was that looking everywhere in my known-good Alpine config (even the non 50-user files) there was no sign of those lines, so who knows how or why things were working OK on Alpine !
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 20 November 2019 08:08, Damian <amavis at arcsin.de> wrote:
> It is not clear from your description if spam checking is enabled at all.
>
> Did you modify 15-content_filter_mode?
>
> Am 20.11.19 um 08:28 schrieb Laura Smith:
>
> > I am aware the usual answer to this question resolves around setting $sa_tag_level_deflt = -9999; which is not the case for me (i.e I know how it works, and I'm migrating a known-good config).
> > I am migrating a mail instance from Alpine Linux to Debian 10.2. Debian 10.2 packages amavis 2.11.0.
> > My config on Apline works perfectly and the spam score headers get added as expected, however moving the config accross to Debian, the headers cease to be added.
> > amavisd is otherwise working perfectly on Debian (i.e. mails are flowing correctly and I can see amavisd doing its work in /var/log/mail.log)
> > The contents of my /etc/amavis/conf.d/50-user file is as follows:
> > use strict;
> > $myhostname = '//REMOVED FOR SECURITY//';
> > @inet_acl = qw( 127.0.0.1 [::1] //REMOVED FOR SECURITY//);
> > @mynetworks = qw( 127.0.0.1 [::1] //REMOVED FOR SECURITY//);
> > $allowed_added_header_fields{lc('X-Spam-Report')} = 1;
> > $warnvirusrecip = 1;
> >
> > Spam Actions
> >
> > =============
> >
> > $sa_tag_level_deflt = -9999; # insert spam headers
> > $sa_tag2_level_deflt = 5; # when to tag email
> > $sa_spam_subject_tag = 'MAYBE SPAM';
> > $sa_kill_level_deflt = 11.5; # Triggers ultimate Actions
> > $final_bad_header_destiny = D_PASS;
> > $final_spam_destiny = D_DISCARD;
> > @local_domains_maps = ([//REMOVED FOR SECURITY//]);
More information about the amavis-users
mailing list