spamc -U /foo/bar

Richard Salts <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
I was wondering if it is possible to have sa-exim pass arguments to spamc. I
have spamd running on a Unix socket so wanted to run spamc -U /foo/bar so I 
changed SAspamcpath to that. However I get this as a result:

2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: Debug: SAEximRunCond expand returned: '
1'
2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: Debug: check succeeded, running spamc
2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: PANIC: Unexpected error on exec /usr/bi
n/spamc -U /tmp/spamd (but message was accepted), file sa-exim.c, line 848: No s
uch file or directory
2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: Debug: Writing message to /var/spool/sa
-exim/SAerrorsave/new/1070353280_1AR5mR-0003nE-7g
2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: Notice: creating maildir tree in  /var/
spool/sa-exim/SAerrorsave
2003-12-02 19:21:20 1AR5mR-0003nE-7g SA: PANIC: Error in error handler while try
ing to save mail to /var/spool/sa-exim/SAerrorsave/1070353280_1AR5mR-0003nE-7g,
file sa-exim.c, line 1345: Illegal seek
2003-12-02 19:21:21 1AR5mR-0003nE-7g <= [email protected] H=nitrous (foo)
 [192.168.0.64] P=esmtp S=369
2003-12-02 19:21:21 1AR5mR-0003nE-7g Spool file is locked (another process is ha
ndling this message)
2003-12-02 19:21:21 1AR5mR-0003nE-7g SA: PANIC: wait on spamc child yielded, 256
 (but message was accepted)
2003-12-02 19:21:21 1AR5mR-0003nE-7g SA: Debug: Writing message to /var/spool/sa
-exim/SAerrorsave/new/1070353280_1AR5mR-0003nE-7g
2003-12-02 19:21:21 1AR5mR-0003nE-7g <= [email protected] H=nitrous (foo)
 [192.168.0.64] P=esmtp S=400

Yet it works fine when using spamc with no arguments.
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.