• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

some spamassasin problems with auto_whitelist

JLChafardet

Regular Pleskian
I'm having issues with some spamassassin related stuff.

apparently spamassasin is not leting the autolearner to learn, some logs here.


Please keep in mind that the -> is just to break lines to do not make the post scroll horizontally.

Code:
Jul 19 11:15:50 swordfish qmail: 1153322150.867241 new msg 5996696
Jul 19 11:15:50 swordfish qmail: 1153322150.867273 info msg 5996696: bytes 22875 from ->
<[email protected]> qp 4646 uid 2020
Jul 19 11:15:50 swordfish qmail: 1153322150.872699 starting delivery 647: msg 5996696 to local ->
[email][email protected][/email]
Jul 19 11:15:50 swordfish qmail: 1153322150.872720 status: local 1/75 remote 1/200
Jul 19 11:15:50 swordfish spamd[1219]: spamd: got connection over /tmp/spamd_full.sock
Jul 19 11:15:50 swordfish spamd[1219]: spamd: using default config for [email][email protected]>
[/email]: /var/qmail/mailnames/domainreceiver.com/userreceiver/.spamassassin/user_prefs
Jul 19 11:15:50 swordfish spamd[1219]: spamd: processing message <[email protected]> ->
for [email][email protected][/email]:110
Jul 19 11:15:52 swordfish spamd[1219]: auto-whitelist: cannot open auto_whitelist_path /var/qmail/mailnames/domainreceiver.com/->
userreceiver/.spamassassin/auto-whitelist: Inappropriate ioctl for device
Jul 19 11:15:52 swordfish spamd[1219]: auto-whitelist: open of auto-whitelist file failed: auto-whitelist: cannot open ->
auto_whitelist_path /var/qmail/mailnames/domainreceiver.com/userreceiver/.spamassassin/auto-whitelist: Inappropriate ioctl for device
Jul 19 11:15:52 swordfish spamd[1219]: Can't call method "finish" on an undefined value at /usr/lib/perl5/site_perl/5.8.0->
/Mail/SpamAssassin/Plugin/AWL.pm line 397, <GEN185> line 515.
Jul 19 11:15:52 swordfish spamd[1219]: spamd: clean message (0.1/7.0) for [email][email protected][/email]->
:110 in 1.8 seconds, 22875 bytes.
Jul 19 11:15:52 swordfish spamd[1219]: spamd: result: .  0 - HTML_MESSAGE,HTML_TAG_EXIST_TBODY scantime=1.8,size=22875,->
[email protected],uid=110,required_score=7.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamd_full.sock,->
mid=<[email protected]>,autolearn=no
Jul 19 11:15:52 swordfish qmail: 1153322152.682902 delivery 647: success: did_1+0+2/did_0+0+1/
Jul 19 11:15:52 swordfish qmail: 1153322152.682944 status: local 0/75 remote 1/200
Jul 19 11:15:52 swordfish qmail: 1153322152.682954 end msg 5996696

the file /var/qmail/mailnames/domainreceiver.com/userreceiver/.spamassassin/auto-whitelist does exists, its 0 size. i have no clue what could be happening there, as the google information isnt much helpful (as for what i have searched ofcourse)

and also troubles me a bit the error about the "finish" thing, to be honest i havent googled about it yet, im going to do it, but if any help regarding the auto_whitelist thing apears arround, i would gladly accept the help.

Best regards,
 
Delete the auto-whitelist file and it will recreate one that will work.
 
What about the second part of it? I'm also having the "Can't call method "finish"" error.
 
I was thinking this too but I don't think so, the installation on this server is identical to several others and none of them are having this issue.
 
I know when I went from 7.5.4 to 8.0 I had to install a bunch of perl modules because the version of spamassassin changed and required more perl modules. As soon as I added the new ones, all the error messages went away.
 
Back
Top