procmail
[Top] [All Lists]

redirecting messages

2004-02-12 05:13:25
Hi all,

I have a mailserver which runs postfix+spamassassin.  I have created a user 
spamcontrol where I want all mail identified as spam to go (for review and to 
use for sa-learn).  I use Maildir

My recipy looks like this:

DROPPRIVS=yes
VERBOSE=on

:0c
*^Subject:.***SPAM***
/home/spamcontrol/Maildir/

This works, except that the mail that gets dropped into spamcontrol/Maildir, 
doesn't belong to user spamcontrol - it belongs to the original recipient.  
Say if spam was intended for user john, then that message would be in 
spamcontrol/Maildir/new/ and belong to john - which means if I log in as user 
spamcontrol, I can't check out that mail.  Oh, this is after I had to give 
world write permissions, otherwise the mail doesn't get delivered at all

If I don't specify DROPPRIVS=yes, the mail belongs to root (if I remember 
correctly)

What can I do to make it belong to spamcontrol, or at least to make it world 
readable?

Thanks
-- 
Kind regards
Hans du Plooy
hansdp at newingtoncs dot co dot za


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • redirecting messages, Hans du Plooy <=