[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Need help for procmail rules
- Subject: [cobalt-users] Need help for procmail rules
- From: Swapana Ghosh <swapana_ghosh@xxxxxxxxx>
- Date: Tue Aug 12 11:43:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi
I have installed spamassassin 2.55 at my cobalt
raq4r server.... Now i have configure user wise ..I
have activated teh bayesian db... Now i want to
segregate the spam and nonspam mails.....
I am using spamassassin with spamc/spamd.... Now
when i am trying to create the procmail rules under
/home/sites/site11/users/user
it is not working.
I have created the /etc/procmailrc file and
filtering there. But when spamd is running as *root*
and after that it is doing setuid() to the user and
sending mail to the user level, then what is the rules
i will write so that i will keep the *spam*
mail in a file and non-spam mails in the maildir......
At present
all the mails are going to the Maildir/ ... Here i
have mentioned the /etc/procmailrc file.....
_________________________________________________
DROPPRIVS=yes
:0fw: spamassassin.lock
* < 256000
| spamc
#
:0fw
* ^To:.*\@www.hindunet.org
| sed 's/@www.hindunet.org/@hindunet.org/'
#
#
:0fw
* ^Cc:.*\@www.hindunet.org
| sed 's/@www.hindunet.org/@hindunet.org/'
#
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
Maildir/
# All mail tagged as spam (eg. with a score higher
than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
Maildir/
# Work around procmail bug: any output on stderr will
cause the "F" in "From"
# to be dropped. This will re-add it.
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e '1s/^/F/'
}
_____________________________________________
Thanks in advance..
-Swapna
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com