[Mimedefang] Seeing whitelisting errors

Kees Theunissen theuniss at rijnh.nl
Wed Jun 7 22:27:10 EDT 2006

Sorry for the late reaction, but I am new to this list.
I found this message today via Google. Looks like nobody
answered so far.

> From: Philip Prindeville philipp_subx at redfish-solutions.com
> Date: Tue May 2 10:28:41 EDT 2006
> Subject: [Mimedefang] Seeing whitelisting errors
> I'm getting the following in my logs:
> May  2 08:26:08 mail mimedefang-multiplexor[4571]: Slave 0 stderr:
>   auto-whitelist: open of auto-whitelist file failed:
>   locker: safe_lock: cannot create tmp lockfile
>   //.spamassassin/auto-whitelist.lock.mail.redfish-solutions.com.12480
>   for //.spamassassin/auto-whitelist.lock: No such file or directory
> and wondering why I'm suddenly seeing these.
[ ... ]

This is exactly the problem I had.
I'm running Fedora Core 4 with MIMEDefang 2.56 and SpamAssassin 3.1.3
installed from CPAN. I upgraded today from SpamAssassin 3.1.1 which
had the same error. The upgrade didn't solve the problem.

I'm using the redhat startup scripts from the MIMEDefang distribution
and I'm getting these error logs for every message that is scanned _only_
after a reboot. The errors disappear after a manual restart of MIMEDefang
and sendmail ( service sendmail stop; service mimedefang restart;
service sendmail start ).
Note the leading //.spamassassin/... (starting with two slashes) in
the paths that are logged.
And no, '/' is not the home dir of my defang user.

This looks like SpamAssassin having trouble to determine the home dir
of the MIMEDefang (and SpamAssassin) user when the program is launched
at boot time from the FC4 startup scripts.
Adding the line "export HOME=/path/to/defang/homedir/" (without quotes)
to the config script /etc/sysconfig/mimedefang solved this problem
for me.

Best regards,


Kees Theunissen
F.O.M.-Institute for PlasmaPhysics "Rijnhuizen", Nieuwegein, Netherlands
E-mail: theuniss at rijnh.nl,  Tel: (+31|0)306096724,  Fax: (+31|0)306031204

More information about the MIMEDefang mailing list