Re: How to remove spamassassin from amavisd

chaouche yacine <[email protected]> Tue, 16 Dec 2025 12:20:04 +0000 (UTC)
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
------=_Part_1317578_1697199976.1765887604780
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

In Debian, 15-content_filter_mode has the following comment :=20


=C2=A0=C2=A0=C2=A0 # Default SPAM checking mode
=C2=A0=C2=A0=C2=A0 # Please note, that anti-spam checking is DISABLED by
=C2=A0=C2=A0=C2=A0 # default.
=C2=A0=C2=A0=C2=A0 # If You wish to enable it, please uncomment the followi=
ng lines:
=C2=A0=C2=A0 =C2=A0
=C2=A0=C2=A0 =C2=A0
=C2=A0=C2=A0=C2=A0 @bypass_spam_checks_maps =3D (
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 \%bypass_spam_checks, \@bypass_spam_ch=
ecks_acl, \$bypass_spam_checks_re);



And this is how I enable spam checking with spamassassin.The default behavi=
or is to start w/o antivirus or antispam control.
Best,

--Yassineviber : +213-779 06 06 23http://about.me/ychaoucheLooking for side=
-gigs.

=20

    On Tuesday, December 16, 2025, 12:41:17 PM GMT+1, Damian <amavis@arcsin=
.de> wrote: =20
=20
 =20
There is no mention that I can find in my amavisd configuration of spamassa=
ssin but my mail log is full of messages like:=20
 Dec 13 16:30:16 mustang amavis[178016]: initializing Mail::SpamAssassin (0=
)=20
 Dec 13 16:30:18 mustang amavis[178016]: SpamControl: init_pre_fork on Spam=
Assassin done=20
 Dec 13 16:30:18 mustang amavis[178016]: extra modules loaded after daemoni=
zing/chrooting: Mail/DKIM/ARC/MessageSignature.pm, Mail/DKIM/ARC/Seal.pm, M=
ail/DKIM/ARC/Verifier.pm, Mail/SpamAssassin/Logger/Amavislog.pm, Mail/SpamA=
ssassin/Plugin/DMARC.pm, Mail/SpamAssassin/Plugin/FreeMail.pm, Mail/SpamAss=
assin/Plugin/HashBL.pm, Mail/SpamAssassin/Plugin/SpamCop.pm, Mail/SpamAssas=
sin/Plugin/WelcomeListSubject.pm, Net/Cmd.pm, Net/Config.pm, Net/SMTP.pm=20
=20
 How can I stop this?=C2=A0
=20
=20
=20
You could try to override the default @spam_scanners setting, e.g. with
=20
=20

=20
@spam_scanners =3D ();
=20
  =20
------=_Part_1317578_1697199976.1765887604780
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp5928de79yahoo-style-wrap" style=
=3D"font-family:courier new, courier, monaco, monospace, sans-serif;font-si=
ze:16px;"><div id=3D"ydp5928de79yiv2376405171"><div><div style=3D"font-fami=
ly:courier new, courier, monaco, monospace, sans-serif;font-size:16px;" cla=
ss=3D"ydp5928de79yiv2376405171ydpa7c6604ayahoo-style-wrap"><div><div dir=3D=
"ltr">In Debian, <span>15-content_filter_mode has the following comment : <=
/span><br clear=3D"none"></div><div dir=3D"ltr"><br clear=3D"none"></div><d=
iv dir=3D"ltr"><div><br clear=3D"none">&nbsp;&nbsp;&nbsp; # Default SPAM ch=
ecking mode<br clear=3D"none">&nbsp;&nbsp;&nbsp; # Please note, that anti-s=
pam checking is DISABLED by<br clear=3D"none">&nbsp;&nbsp;&nbsp; # default.=
<br clear=3D"none">&nbsp;&nbsp;&nbsp; # If You wish to enable it, please un=
comment the following lines:<br clear=3D"none">&nbsp;&nbsp; &nbsp;<br clear=
=3D"none">&nbsp;&nbsp; &nbsp;<br clear=3D"none">&nbsp;&nbsp;&nbsp; @bypass_=
spam_checks_maps =3D (<br clear=3D"none">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; \%bypass_spam_checks, \@bypass_spam_checks_acl, \$bypass_spam_checks_re)=
;<br clear=3D"none"><br clear=3D"none"></div><div><br clear=3D"none"></div>=
<div><br clear=3D"none"></div><div dir=3D"ltr">And this is how I enable spa=
m checking with spamassassin.</div><div dir=3D"ltr" data-setdir=3D"false">T=
he default behavior is to start w/o antivirus or antispam control.</div><di=
v dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=
=3D"false">Best,<br></div></div><div><br clear=3D"none"></div><div class=3D=
"ydp5928de79yiv2376405171ydpa7c6604asignature"><div style=3D"font-family:co=
urier, monaco, monospace, sans-serif;font-size:13px;"><div>--</div><div dir=
=3D"ltr">Yassine</div><div dir=3D"ltr">viber : +213-779 06 06 23</div><div =
dir=3D"ltr"><a shape=3D"rect" href=3D"http://about.me/ychaouche" rel=3D"nof=
ollow" target=3D"_blank">http://about.me/ychaouche</a></div><div dir=3D"ltr=
">Looking for side-gigs.</div><div dir=3D"ltr"><span></span><br clear=3D"no=
ne"></div><div dir=3D"ltr"><span></span><br clear=3D"none"></div></div></di=
v></div>
        <div><br clear=3D"none"></div><div><br clear=3D"none"></div>
       =20
        </div></div></div></div><div id=3D"ydp1195fa3fyiv2376405171yqt92954=
" class=3D"ydp1195fa3fyiv2376405171yqt4384322041"><div id=3D"ydp1195fa3fyiv=
2376405171ydpd1cf0fc6yahoo_quoted_6223663738" class=3D"ydp1195fa3fyiv237640=
5171ydpd1cf0fc6yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                        On Tuesday, December 16, 2025, 12:41:17 PM GMT+1, D=
amian &lt;[email protected]&gt; wrote:
                    </div>
                    <div><br clear=3D"none"></div>
                    <div><br clear=3D"none"></div>
               =20
               =20
                <div><div id=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv39025=
74816"><div id=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3902574816yqtfd3369=
7" class=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3902574816yqt6773073475">=
</div><div><div id=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3902574816yqtfd=
84381" class=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3902574816yqt67730734=
75">
    </div><blockquote type=3D"cite"><div id=3D"ydp1195fa3fyiv2376405171ydpd=
1cf0fc6yiv3902574816yqtfd99652" class=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc=
6yiv3902574816yqt6773073475">There
      is no mention that I can find in my amavisd configuration of
      spamassassin but my mail log is full of messages like:
      <br clear=3D"none">
      Dec 13 16:30:16 mustang amavis[178016]: initializing
      Mail::SpamAssassin (0)
      <br clear=3D"none">
      Dec 13 16:30:18 mustang amavis[178016]: SpamControl: init_pre_fork
      on SpamAssassin done
      <br clear=3D"none">
      Dec 13 16:30:18 mustang amavis[178016]: extra modules loaded after
      daemonizing/chrooting: Mail/DKIM/ARC/MessageSignature.pm,
      Mail/DKIM/ARC/Seal.pm, Mail/DKIM/ARC/Verifier.pm,
      Mail/SpamAssassin/Logger/Amavislog.pm,
      Mail/SpamAssassin/Plugin/DMARC.pm,
      Mail/SpamAssassin/Plugin/FreeMail.pm,
      Mail/SpamAssassin/Plugin/HashBL.pm,
      Mail/SpamAssassin/Plugin/SpamCop.pm,
      Mail/SpamAssassin/Plugin/WelcomeListSubject.pm, Net/Cmd.pm,
      Net/Config.pm, Net/SMTP.pm
      <br clear=3D"none">
      <br clear=3D"none">
      How can I stop this?&nbsp;</div><br clear=3D"none">
      <br clear=3D"none">
    </blockquote>
    <p>You could try to override the default @spam_scanners setting,
      e.g. with</p>
    <p>
      </p><blockquote type=3D"cite">
        <p>@spam_scanners =3D ();</p><div id=3D"ydp1195fa3fyiv2376405171ydp=
d1cf0fc6yiv3902574816yqtfd60309" class=3D"ydp1195fa3fyiv2376405171ydpd1cf0f=
c6yiv3902574816yqt6773073475">
      </div></blockquote><div id=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3=
902574816yqtfd63456" class=3D"ydp1195fa3fyiv2376405171ydpd1cf0fc6yiv3902574=
816yqt6773073475">
   =20
  </div></div></div></div>
            </div>
        </div></div></body></html>
------=_Part_1317578_1697199976.1765887604780--