Craig> Ok, so try running

    Craig> spamd -c -a -D -L

    Craig> from the command line, then see what it says when you pipe
    Craig> something through spamc.

A whole series of lines like

    debug: 31245 Trying to get lock on /home/skip/.spamassassin/auto-whitelist pass 22

I killed spamc and spamd, then removed all traces of auto_whitelist from the
above directory, then tried again.  This time it came back with

    debug: 31370 Trying to get lock on /home/skip/.spamassassin/auto-whitelist pass 0
    debug: Tie-ing to DB file R/W in /home/skip/.spamassassin/auto-whitelist
    Cannot open auto_whitelist_path /home/skip/.spamassassin/auto-whitelist: 
Permission denied

(spamd was run as "root".  spamc was run as "skip".)

I then tried running the same spam through spamc a second time and was
treated to the endless series of "Trying to get lock ..." messages from
spamd.  Here are the various permissions:

    % ls -ld /home/skip/.spamassassin
    drwx------    2 skip     skip         4096 May 19 23:05 /home/skip/.spamassassin

    % ls -l
    total 8
    -rw-------    1 skip     root            0 May 19 23:03 auto-whitelist.db
    -rw-r--r--    1 skip     root           20 May 19 23:03 auto-whitelist.lock
    -rw-rw-r--    1 skip     skip          973 May 16 17:57 user_prefs

My umask is 002.  Root's is 022.

-- 
Skip Montanaro ([EMAIL PROTECTED] - http://www.mojam.com/)
"Excellant Written and Communications Skills required" - seen on chi.jobs

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to