SpamAssassin not checking

sparek-3

Well-Known Member
Aug 10, 2002
2,042
230
368
cPanel Access Level
Root Administrator
I have a server and SpamAssassin is not checking any of the messages for spam. The exim_mainlog just has entries of:

Warning: "SpamAssassin as user detected message as NOT spam ()"

what is a setting that I need to check to insure that exim is properly passing the messages on to SpamAssassin?
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
I have a server and SpamAssassin is not checking any of the messages for spam. The exim_mainlog just has entries of:

Warning: "SpamAssassin as user detected message as NOT spam ()"

what is a setting that I need to check to insure that exim is properly passing the messages on to SpamAssassin?
Is spamd running?

/scripts/restartsrv_spamd
 

sparek-3

Well-Known Member
Aug 10, 2002
2,042
230
368
cPanel Access Level
Root Administrator
Yea. When I run just spamd from the command line, I'm getting a lot of Out of memory messages:

Code:
[2639] info: spamd: server started on port 783/tcp (running version 3.2.4)
[2639] info: spamd: server pid: 2639
[2639] info: spamd: server successfully spawned child process, pid 2649
[2639] info: spamd: server successfully spawned child process, pid 2650
[2639] info: prefork: child states: IS
[2639] info: prefork: child states: II
[2649] info: spamd: connection from localhost [127.0.0.1] at port 34394
[2649] info: spamd: setuid to user succeeded
Out of memory!
[2639] info: prefork: child states: BI
[2639] info: spamd: handled cleanup of child pid 2649 due to SIGCHLD
[2639] info: spamd: server successfully spawned child process, pid 2679
[2639] info: prefork: child states: II
[2650] info: spamd: connection from localhost [127.0.0.1] at port 34395
[2650] info: spamd: setuid to user succeeded
[2650] info: spamd: checking message <[email protected]> for user:32949
Out of memory!
I bet this is the problem, but I don't know what the problem is. I don't think the server is out of memory.

Code:
[email protected] [~]# free -m
             total       used       free     shared    buffers     cached
Mem:          3948       3045        903          0        200       2409
-/+ buffers/cache:        434       3514
Swap:         1992          0       1992
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Yea. When I run just spamd from the command line, I'm getting a lot of Out of memory messages:

Code:
[2639] info: spamd: server started on port 783/tcp (running version 3.2.4)
[2639] info: spamd: server pid: 2639
[2639] info: spamd: server successfully spawned child process, pid 2649
[2639] info: spamd: server successfully spawned child process, pid 2650
[2639] info: prefork: child states: IS
[2639] info: prefork: child states: II
[2649] info: spamd: connection from localhost [127.0.0.1] at port 34394
[2649] info: spamd: setuid to user succeeded
Out of memory!
[2639] info: prefork: child states: BI
[2639] info: spamd: handled cleanup of child pid 2649 due to SIGCHLD
[2639] info: spamd: server successfully spawned child process, pid 2679
[2639] info: prefork: child states: II
[2650] info: spamd: connection from localhost [127.0.0.1] at port 34395
[2650] info: spamd: setuid to user succeeded
[2650] info: spamd: checking message <[email protected]> for user:32949
Out of memory!
I bet this is the problem, but I don't know what the problem is. I don't think the server is out of memory.

Code:
[email protected] [~]# free -m
             total       used       free     shared    buffers     cached
Mem:          3948       3045        903          0        200       2409
-/+ buffers/cache:        434       3514
Swap:         1992          0       1992

Try moving away the .spamassassin dir in the affected user's directory
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Seems to affect every user, not any one particular user.

I did try sending the GTUBE string to an e-mail address on the server, it showed the same symptoms. I then renamed the .spamassassin directory for that user to .spamassassin.out and tried the GTUBE string again, and got the same results.
Probably the best bet is to open a ticket as I'm out of guesses.

https://tickets.cpanel.net/submit/
 

sparek-3

Well-Known Member
Aug 10, 2002
2,042
230
368
cPanel Access Level
Root Administrator
Seems to affect every user, not any one particular user.

I did try sending the GTUBE string to an e-mail address on the server, it showed the same symptoms. I then renamed the .spamassassin directory for that user to .spamassassin.out and tried the GTUBE string again, and got the same results.