On Thu, 04 Mar 2010 16:34:46 -0600, Ron Johnson wrote: > On 2010-03-04 08:15, Camaleón wrote:
>> Mmmm, what MTA/POP3/IMAP design are you using? > > fetchmail/postfix/spamassassin/maildrop > > $ grep spam /etc/postfix/master.cf > smtp inet n - n - - \ > smtpd -o content_filter=spamfilter: > spamfilter unix - n n - - pipe flags=Rq user=spamfilter \ > argv=/usr/local/bin/spamfilter.sh \ > -f ${sender} -- ${recipient} Mmmm... are you using spamd/spamc? I ask because I think spamd/spamc can change its uid to read/write into the users folders but it seems you are invoking spamfilter as user "spamfilter" and maybe that user has not the rights to read the users config files :-? >> Are your pop3/imap users >> same as system users or you are storing users in a separate db place >> (mysql table, sasl2...)? >> >> > System users. There's just 4 of us, and each user has a crontab entry > which calls fetchmail every 5-6 minutes. (I'm sure that's different > from how most people do it, but it works for us...) Try by running "spamassassin -D --lint" and watch the "config: read file" output lines. Look, when I run "spamassassin -D --lint" as the user calling spamd (sm02) I get: *** [8059] dbg: config: read file /etc/spamassassin/65_debian.cf [8059] dbg: config: read file /etc/spamassassin/local.cf [8059] dbg: config: using "/home/sm02/.spamassassin/user_prefs" for user prefs file *** But when runned as "root" I get: *** [8066] dbg: config: read file /etc/spamassassin/65_debian.cf [8066] dbg: config: read file /etc/spamassassin/local.cf *** It cannot read the user's config file. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.03.05.09.57...@gmail.com