spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Funk <>
Subject Re: Errors when processing mail.
Date Mon, 15 Jul 2013 00:02:58 GMT
On Sun, 14 Jul 2013, Christian Dysthe wrote:

> Hi,
> I am very new to Spamassassin and trying to have it work with the
> Citadel mail server which has support for spamassassin. I'm running
> Spamassassin 3.3.2-2ubuntu1 on Ubuntu Server Edtion 12.04 LTS x64. The
> entries I get in the mail.log when mail is being delivered are:
> Jul 14 16:52:21 concerto spamd[7687]: plugin: eval failed: bayes: (in
> learn) locker: safe_lock: cannot create tmp lockfile
> /nonexistent/.spamassassin/ for
> /nonexistent/.spamassassin/bayes.lock: No such file or directory
> Jul 14 16:52:21 concerto spamd[7687]: spamd: clean message (-0.7/5.0)
> for (unknown):65534 in 0.2 seconds, 1496 bytes.
> Jul 14 16:52:21 concerto spamd[7687]: spamd: result: . 0 -
> scantime=
> 0.2,size=1496,user=(unknown),uid=65534,required_score=5.0,rhost=localhost,raddr=,rport=43706,mid=<CAC=A-n=0YVpf2O4ubUCW7gVqYFputLKHOzoDFp
>          >,autolearn=unavailable
> Jul 14 16:52:21 concerto spamd[7686]: prefork: child states: II
> Could someone point me in the right direction so I can solve this
> issue, or these issues even?

The error indicates that the Bayes component of your spamassassin
cannot create the lock file "/nonexistent/.spamassassin/"

First order of business, what do you get when you do a "ls -ld /nonexistent/.spamassassin"
Does that directory exist? What are its ownership and permissions?
Is it writable by the UID that your spamd is running under?

Bottom line, the spamassassin Bayes module needs a writable working
directory. Your error messages imply that the directory that your
spamassassin configuration is telling your Bayes to use (that 
"/nonexistent/.spamassassin" thing) has issues.

So either you need to fix that directory or fix your configuration to
tell it where the directory it -should- be using is.

I don't know that "Citadel" kit, you may be better off finding some
discussion list which is specifically about it. Just guessing by
that directory name ("/nonexistent/") it's something that you need
to explicitly create and change your configuration to point to.

Dave Funk                                  University of Iowa
<dbfunk (at)>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

View raw message