<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>My amavis is having trouble with my spamassassin setup. If I
enable @bypass_spam_checks_maps amavis never finishes to load.
Running as amavis user:<br>
</p>
<p><br>
</p>
<p>root@mx1:~# su - amavis -s /bin/bash<br>
$ id<br>
uid=118(amavis) gid=124(amavis)
groups=124(amavis),122(clamav),125(debian-spamd)<br>
$ amavisd-new debug 2>&1 | tee -a amavis.log</p>
<p>Mar 30 18:57:22.052 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
logging initialized, log level 0, syslog: amavis.mail<br>
Mar 30 18:57:22.052 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
sd_notify (no socket): STATUS=Config files have been read, modules
loaded.<br>
Mar 30 18:57:22.053 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
starting. /usr/sbin/amavisd-new at mx1.a1.ind.br
amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"<br>
(...)</p>
Mar 30 18:57:22.272 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
initializing Mail::SpamAssassin (0)<br>
Mar 30 18:57:22.272 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
SpamAssassin debug facilities: info<br>
(Notice: exact 10 minutes later!)<br>
<p>Mar 30 19:02:24.005 mx1.a1.ind.br /usr/sbin/amavisd-new[919]: SA
info: check: exceeded time limit in
Mail::SpamAssassin::Plugin::Check::_eval_tests_type13_pri0_set1,
skipping further tests<br>
Mar 30 19:02:24.013 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
SpamAssassin loaded plugins: AskDNS, AutoLearnThreshold, Bayes,
BodyEval, Check, DKIM, DNSEval, FreeMail, HTMLEval, HTTPSMismatch,
Hashcash, HeaderEval, ImageInfo, MIMEEval, MIMEHeader, Pyzor,
Razor2, RelayEval, ReplaceTags, SPF, SpamCop, URIDNSBL, URIDetail,
URIEval, VBounce, WLBLEval, WhiteListSubject<br>
Mar 30 19:02:24.014 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
SpamControl: init_pre_fork on SpamAssassin done<br>
Mar 30 19:02:24.016 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
extra modules loaded after daemonizing/chrooting:
/etc/perl/Net/libnet.cfg,
/usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Net/SSLeay/autosplit.ix,
/usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Net/SSLeay/randomize.al,
IO/Socket/SSL.pm, IO/Socket/SSL/PublicSuffix.pm,
Mail/SpamAssassin/Plugin/FreeMail.pm,
Mail/SpamAssassin/Plugin/SpamCop.pm, Net/Cmd.pm, Net/Config.pm,
Net/SMTP.pm, Net/SSLeay.pm<br>
Mar 30 19:02:24.018 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
sd_notify (no socket): READY=1\nSTATUS=Initialization done.<br>
Mar 30 19:02:24.019 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
Net::Server: Beginning prefork (10 processes)<br>
Mar 30 19:02:24.019 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
sd_notify (no socket): STATUS=Starting child process(es), ready
for work.<br>
Mar 30 19:02:24.019 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
Net::Server: Starting "10" children<br>
Mar 30 19:02:24.023 mx1.a1.ind.br /usr/sbin/amavisd-new[6786]:
Net::Server: Child Preforked (6786)<br>
Mar 30 19:02:24.023 mx1.a1.ind.br /usr/sbin/amavisd-new[6786]:
entered child_init_hook<br>
Mar 30 19:02:24.025 mx1.a1.ind.br /usr/sbin/amavisd-new[6787]:
Net::Server: Child Preforked (6787)<br>
Mar 30 19:02:24.026 mx1.a1.ind.br /usr/sbin/amavisd-new[6787]:
entered child_init_hook<br>
Mar 30 19:02:24.027 mx1.a1.ind.br /usr/sbin/amavisd-new[6788]:
Net::Server: Child Preforked (6788)<br>
Mar 30 19:02:24.027 mx1.a1.ind.br /usr/sbin/amavisd-new[6788]:
entered child_init_hook<br>
Mar 30 19:02:24.028 mx1.a1.ind.br /usr/sbin/amavisd-new[6786]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.030 mx1.a1.ind.br /usr/sbin/amavisd-new[6787]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.029 mx1.a1.ind.br /usr/sbin/amavisd-new[6789]:
Net::Server: Child Preforked (6789)<br>
Mar 30 19:02:24.030 mx1.a1.ind.br /usr/sbin/amavisd-new[6789]:
entered child_init_hook<br>
Mar 30 19:02:24.031 mx1.a1.ind.br /usr/sbin/amavisd-new[6790]:
Net::Server: Child Preforked (6790)<br>
Mar 30 19:02:24.031 mx1.a1.ind.br /usr/sbin/amavisd-new[6790]:
entered child_init_hook<br>
Mar 30 19:02:24.032 mx1.a1.ind.br /usr/sbin/amavisd-new[6788]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.033 mx1.a1.ind.br /usr/sbin/amavisd-new[6791]:
Net::Server: Child Preforked (6791)<br>
Mar 30 19:02:24.033 mx1.a1.ind.br /usr/sbin/amavisd-new[6791]:
entered child_init_hook<br>
Mar 30 19:02:24.034 mx1.a1.ind.br /usr/sbin/amavisd-new[6789]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.035 mx1.a1.ind.br /usr/sbin/amavisd-new[6790]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.035 mx1.a1.ind.br /usr/sbin/amavisd-new[6792]:
Net::Server: Child Preforked (6792)<br>
Mar 30 19:02:24.036 mx1.a1.ind.br /usr/sbin/amavisd-new[6792]:
entered child_init_hook<br>
Mar 30 19:02:24.036 mx1.a1.ind.br /usr/sbin/amavisd-new[6793]:
Net::Server: Child Preforked (6793)<br>
Mar 30 19:02:24.036 mx1.a1.ind.br /usr/sbin/amavisd-new[6793]:
entered child_init_hook<br>
Mar 30 19:02:24.038 mx1.a1.ind.br /usr/sbin/amavisd-new[6791]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.039 mx1.a1.ind.br /usr/sbin/amavisd-new[919]:
Net::Server: Parent ready for children.<br>
Mar 30 19:02:24.039 mx1.a1.ind.br /usr/sbin/amavisd-new[6794]:
Net::Server: Child Preforked (6794)<br>
Mar 30 19:02:24.040 mx1.a1.ind.br /usr/sbin/amavisd-new[6794]:
entered child_init_hook<br>
Mar 30 19:02:24.040 mx1.a1.ind.br /usr/sbin/amavisd-new[6792]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.040 mx1.a1.ind.br /usr/sbin/amavisd-new[6793]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.040 mx1.a1.ind.br /usr/sbin/amavisd-new[6795]:
Net::Server: Child Preforked (6795)<br>
Mar 30 19:02:24.041 mx1.a1.ind.br /usr/sbin/amavisd-new[6795]:
entered child_init_hook<br>
Mar 30 19:02:24.044 mx1.a1.ind.br /usr/sbin/amavisd-new[6794]:
SpamControl: init_child on SpamAssassin done<br>
Mar 30 19:02:24.044 mx1.a1.ind.br /usr/sbin/amavisd-new[6795]:
SpamControl: init_child on SpamAssassin done<br>
</p>
<p>$ cat amavis.log<br>
<5>starting. /usr/sbin/amavisd-new at mx1.a1.ind.br
amavisd-new-2.11.0 (20160426), Unicode aware, LANG="en_US.UTF-8"<br>
<5>Net::Server: Group Not Defined. Defaulting to EGID '124
122 124 125'<br>
<5>Net::Server: User Not Defined. Defaulting to EUID '118'<br>
<5>No $altermime, not using it<br>
<5>No ext program for .lrz, tried: lrzip -q -k -d -o -,
lrzcat -q -k<br>
<5>No ext program for .lzo, tried: lzop -d<br>
<5>No ext program for .lz4, tried: lz4c -d<br>
<5>No ext program for .rpm, tried: rpm2cpio.pl, rpm2cpio<br>
<5>No ext program for .arj, tried: arj, unarj<br>
<5>No ext program for .arc, tried: nomarch, arc<br>
<5>No ext program for .zoo, tried: zoo<br>
<5>No ext program for .doc, tried: ripole<br>
<5>No ext program for .zip, tried: 7za, 7z<br>
<5>No ext program for .kmz, tried: 7za, 7z<br>
<5>No ext program for .jar, tried: 7z<br>
<5>No ext program for .arj, tried: 7z<br>
<5>No ext program for .swf, tried: 7z<br>
<5>No ext program for .lha, tried: 7z<br>
<5>No ext program for .iso, tried: 7z<br>
<5>No ext program for .rpm, tried: 7z<br>
<5>No decoder for .F <br>
<5>No decoder for .arc <br>
<5>No decoder for .arj <br>
<5>No decoder for .doc <br>
<5>No decoder for .iso <br>
<5>No decoder for .jar <br>
<5>No decoder for .lha <br>
<5>No decoder for .lrz <br>
<5>No decoder for .lz4 <br>
<5>No decoder for .lzo <br>
<5>No decoder for .rpm <br>
<5>No decoder for .swf <br>
<5>No decoder for .zoo <br>
<5>Using primary internal av scanner code for ClamAV-clamd<br>
<5>Found secondary av scanner ClamAV-clamscan at
/usr/bin/clamscan<br>
(10 minutes)<br>
<5>Net::Server: Ran out of accept retries!<br>
<4>(!)_DIE: refcnt: fd -1 < 0<br>
refcnt: fd -1 < 0<br>
<5>Net::Server: Ran out of accept retries!<br>
<4>(!)_DIE: refcnt: fd -1 < 0<br>
refcnt: fd -1 < 0<br>
^C$ <br>
$ <br>
</p>
Already purged amavis and spamassassin, removed all custom and
/var/lib files related to both, no luck. Only choice is disable
@bypass_spam_checks_maps which makes no sense.
<p>Any hint? Perhaps some leftover I forgot to remove somewhere
during the purge?</p>
<p><br>
</p>
<div class="moz-signature">-- <br>
<style type="text/css">
#a1AssinaturaEmail { font-family: Tahoma, Verdana, Arial; font-size: 12px; }
#a1AssinaturaEmail * { font-family: Tahoma, Verdana, Arial; font-size: 12px; }
#a1AssinaturaEmail a { text-decoration: none; color: #FF9900; }
</style>
<div id="a1AssinaturaEmail"> <span style="font-size: 14px;"><b>Marcio
Merlone</b></span><br>
</div>
</div>
</body>
</html>