On Thu, 2004-12-09 at 13:14, Michael Chan wrote:
> All,
> I have a system setting in procmail which puts email
> marked as spam from spamassassin into each user's
> spambucket at the server side. But some user wants
> the spam to be deliver to them marked by spamassassin
> as spam mail. I plan to use .procmailrc, becuase it
> overrides procmailrc. What do you think?
It won't work. .procmailrc does not override /etc/procmailrc, it is
processed *after* the global /etc/procmailrc.
Suggestion: divide classification and disposition into two different
rulesets.
They you can do something like (untested):
INCLUDERC=/etc/procmail/sa_classify
:0
* !? test -s $HOME/deliver_spam
{
INCLUDERC=/etc/procmail/sa_quarantine
}
...and let the user control it themselves by whether or not deliver_spam
exists in their home dir.
--
John Hardin
Internal Systems Administrator (Seattle)
CRS Retail Systems, Inc.
3400 188th Street SW, Suite 185
Lynnwood, WA 98037
voice: (425) 672-1304
fax: (425) 672-0192
email: [EMAIL PROTECTED]
web: http://www.crsretail.com
-----------------------------------------------------------------------
If you smash a computer to bits with a mallet, that appears to count
as encryption in the state of Nevada.
- CRYPTO-GRAM 12/2001
-----------------------------------------------------------------------