I have several aliases on my machine that are not users on the machine,
and so when procmail calls spamd it's user nobody.

Maybe I should not have done this, but I created /.spamassassin owned
by nobody, so spamd could write bayes tokens and user_prefs to be shared
by those aliases.

I'm getting two error messages in my logs for these users:

spamd[6568]: razor2 check skipped: Illegal seek Insecure dependency in connect while 
running setuid at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/IO/Socket.pm line 114, 
<GEN131> line 83. 

spamd[6147]: Use of uninitialized value in pattern match (m//) at /usr/bin/spamd line 
660. 

I'm using spamassassin 2.60-rc4.

So now to question my technique ...

What do YOU do if you want to filter mail addressed to a forwarding alias?
The aliases file (postfix) has this entry:

alias:  "|/usr/bin/procmail -m /etc/procmailrcs/procmail-aliasuser"

/etc/procmailrc has this:
===================================================================
# Site-wide procmail config for whiteoaks.com

VERBOSE=on
LOGFILE=/var/log/procmail
DROPPRIVS=yes

:0fw
* < 256000
| /usr/bin/spamc

===================================================================

procmail-aliasuser has this:
===================================================================
INCLUDERC=/etc/procmailrc

:0
* ^X-Spam-Status: Yes
/dev/null

:0 c
/path/to/logfile

:0 A
! [EMAIL PROTECTED] [EMAIL PROTECTED]
===================================================================

Mojo
-- 
Morris Jones         <*>
San Rafael, CA
[EMAIL PROTECTED]
http://www.whiteoaks.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to