EXIM and Spamassassin fails: "spam acl condition: cannot parse spamd output"!

semseoymas

Member
Oct 22, 2013
20
0
1
cPanel Access Level
Root Administrator
Hello:

This is quite a strange error...

Exim does log:

2013-11-29 14:29:26 1VmO8J-0000bI-MQ spam acl condition: cannot parse spamd output
2013-11-29 14:29:26 1VmO8J-0000bI-MQ H=gateway02.websitewelcome.com [x.x.x.x]:59424 I=[y.y.y.y]:25 Warning: "SpamAssassin as avilesyr detected message as NOT spam ()"
At the same time, Spamd does log:

Nov 29 14:29:18 hyperserver spamd[1094]: spamd: result: Y 67 - BAYES_99,DCC_CHECK,HTML_MESSAGE,LOTS_OF_MONEY,NORMAL_HTTP_TO_IP,SPF_PASS scantime=3.3,size=58542,user=ramondiz,uid=725,required_score=5.5,rhost=localhost,raddr=127.0.0.1,rport=58496,mid=<[email protected]>,bayes=1.000000,autolearn=spam,shortcircuit=no
Nov 29 14:29:19 hyperserver spamd[1005]: prefork: child states: II
Nov 29 14:29:26 hyperserver spamd[1094]: spamd: connection from localhost [127.0.0.1] at port 58536
Nov 29 14:29:26 hyperserver spamd[1094]: spamd: setuid to avilesyr succeeded
Nov 29 14:29:26 hyperserver spamd[1005]: prefork: child states: BI
Nov 29 14:29:26 hyperserver spamd[1005]: spamd: handled cleanup of child pid [1094] due to SIGCHLD: exit 1
Nov 29 14:29:26 hyperserver spamd[1005]: spamd: server successfully spawned child process, pid 2323
Nov 29 14:29:26 hyperserver spamd[1005]: prefork: child states: II

Nov 29 14:29:43 hyperserver spamd[1627]: spamd: connection from localhost [127.0.0.1] at port 58604
Nov 29 14:29:43 hyperserver spamd[1627]: spamd: setuid to cpanel succeeded
Nov 29 14:29:43 hyperserver spamd[1627]: spamd: processing message <[email protected]> for cpanel:32001
Have a look at spamd, first accepting the connection; then, the child die and the spamd parent proccess spawn a new one...

Not a question of idle threads... other example:

Nov 29 14:56:02 hyperserver spamd[12524]: prefork: child states: IIIIII
Nov 29 14:56:04 hyperserver spamd[12565]: spamd: connection from localhost [127.0.0.1] at port 34890
Nov 29 14:56:04 hyperserver spamd[12565]: spamd: setuid to cycloes succeeded
Nov 29 14:56:04 hyperserver spamd[12565]: spamd: checking message <[email protected]cal> for cycloes:603
Nov 29 14:56:04 hyperserver spamd[12524]: prefork: child states: BIIIII
Nov 29 14:56:05 hyperserver spamd[12524]: spamd: handled cleanup of child pid [12565] due to SIGCHLD: exit 1
Nov 29 14:56:05 hyperserver spamd[12524]: spamd: server successfully spawned child process, pid 14342
Nov 29 14:56:05 hyperserver spamd[12524]: prefork: child states: IIIIII
This is happening not for all emails, but randomly...

I have captured for myself (from the maildir) the email causing child death.... then:

/usr/local/cpanel/3rdparty/perl/514/bin/spamassassin -t < emailquefallabosco
And SA does right... just print out the scanning information... plenty... as usual.


What do you think it could happen with SA?

Thanks.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

I am happy to hear you were able to resolve the issue. Thank you for sharing the solution you found with us.

Thank you.