• 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

spamassassin autolearn issue

hariskhan

Basic Pleskian
Hello people,

I'm getting the following in qmail log;

Sep 12 03:52:06 u15257427 qmail: 1189583526.352245 new msg 335551452
Sep 12 03:52:06 u15257427 qmail: 1189583526.352376 info msg 335551452: bytes 2407 from <[email protected]> qp 3844 uid 2020
Sep 12 03:52:06 u15257427 qmail: 1189583526.370454 starting delivery 665: msg 335551452 to local [email protected]
Sep 12 03:52:06 u15257427 qmail: 1189583526.370543 status: local 1/10 remote 0/20
Sep 12 03:52:06 u15257427 spamd[1649]: got connection over /tmp/spamd_full.sock
Sep 12 03:52:06 u15257427 spamd[1649]: processing message <0a1901c7f50f$0f3ae120$04807f5b@Marshall> for [email protected]:110.
Sep 12 03:52:07 u15257427 spamd[1649]: identified spam (17.1/5.0) for [email protected]:110 in 0.7 seconds, 2407 bytes.
Sep 12 03:52:07 u15257427 spamd[1649]: result: Y 17 - FORGED_RCVD_HELO,HELO_DYNAMIC_DHCP,HTML_50_60,HTML_MESSAGE,MIME_BOUND_NEXTPART,RCVD_IN_NJABL_DUL,R
CVD_IN_SORBS_DUL,SARE_ADLTSUB2,SARE_ADULT2,SARE_SUB_*****,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,URIBL_WS_SURBL scantime=0.7,size=2407,mid=<0a1901c7f50f$0f3ae120$04807f5b@Marshall>,autolearn=failed
Sep 12 03:52:07 u15257427 qmail: 1189583527.688009 delivery 665: success: did_0+0+1/
Sep 12 03:52:07 u15257427 qmail: 1189583527.688143 status: local 0/10 remote 0/20
Sep 12 03:52:07 u15257427 qmail: 1189583527.688188 end msg 335551452


another examples is;


Sep 12 03:52:11 u15257427 spamd[1803]: got connection over /tmp/spamd_full.sock
Sep 12 03:52:11 u15257427 spamd[2268]: got connection over /tmp/spamd_full.sock
Sep 12 03:52:11 u15257427 spamd[1803]: processing message <0a3501c7f50f$11fa4f40$04807f5b@Marshall> for [email protected]:110.
Sep 12 03:52:11 u15257427 spamd[2268]: processing message <0a3701c7f50f$120fac00$04807f5b@Marshall> for [email protected]:110.
Sep 12 03:52:11 u15257427 spamd[1803]: identified spam (15.0/5.0) for [email protected]:110 in 0.8 seconds, 2433 bytes.
Sep 12 03:52:11 u15257427 spamd[2268]: identified spam (17.5/5.0) for [email protected]:110 in 0.7 seconds, 2377 bytes.
Sep 12 03:52:12 u15257427 spamd[1803]: result: Y 15 - BODY_ENHANCEMENT2,FORGED_RCVD_HELO,HELO_DYNAMIC_DHCP,HTML_50_60,HTML_MESSAGE,MIME_BOUND_NEXTPART,R
CVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL,SARE_ADULT2,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,URIBL_WS_SURBL scantime=0.8,size=2433,mid=<0a3501c7f50f$11fa4f40$04807f5b@Marshall>,autolearn=no
Sep 12 03:52:12 u15257427 spamd[2268]: result: Y 17 - BODY_ENHANCEMENT,FORGED_RCVD_HELO,HELO_DYNAMIC_DHCP,HTML_50_60,HTML_MESSAGE,MIME_BOUND_NEXTPART,RC
VD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL,SARE_ADLTSUB2,SARE_ADULT2,SARE_SUB_*****,URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL,URIBL_WS_SURBL scantime=0.7,size=2377,mid=<0a3701c7f50f$120fac00$04807f5b@Marshall>,autolearn=failed
Sep 12 03:52:12 u15257427 qmail: 1189583532.505189 delivery 666: success: did_0+0+1/
Sep 12 03:52:12 u15257427 qmail: 1189583532.505323 status: local 1/10 remote 0/20
Sep 12 03:52:12 u15257427 qmail: 1189583532.505368 end msg 335551450
Sep 12 03:52:12 u15257427 qmail: 1189583532.506199 delivery 667: success: did_0+0+1/
Sep 12 03:52:12 u15257427 qmail: 1189583532.506260 status: local 0/10 remote 0/20
Sep 12 03:52:12 u15257427 qmail: 1189583532.506304 end msg 335551451

How do I fix this? I think this is a file permission error. It can't go into the individual user's folder which has bayes rules file.

How can I fix this?
 
Guys, how do fix it?

Do I do the obvious, change permissions for every folder in this path -> /var/qmail/mailnames/domain/emailID/.spamassassin to allow spamassassin to write bayes learned file/tokens to .spamassassin folder or is there a better way to do it?
 
Back
Top