sa-exim not calling spamc to remote host

Dan Egli <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
Hey all. Question here I hope I can get some help with.

I d/led and installed sa-exim 4.0, but I made a change first. My 
spamassassin runs on a different machine (the mail server is nowhere 
near strong enough to handle spamassassin. I tried, and got a system 
load of over 35!)

I changed this line:

ret=execl(SAspamcpath, "spamc", "-s", string_sprintf("%d", 
SAmaxbody+16384), "-U", SAspamcSockPath, NULL);

to be this:


ret=execl(SAspamcpath, "spamc", "-d <Spamassassin Server> -s", 
string_sprintf("%d", SAmaxbody+16384), NULL);


now every message comes in with:

X-SA-Exim-Scanned: No; Unknown failure

but when I take the same message, and run spamc on it myself (sans the 
-s part, like: spamc -d <SpamAssassin Server> < message), it works 
great. I get a message back within about 4-5 seconds that has a spam 
score and everything.

Is there a different way to get sa-exim to poll the remote server? The 
remote server IS listening obviously.

--- Dan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.