On 10/03/03 12:22 PM, JJensen sat at the `puter and typed: > > I have it at the bottom of my /etc/mail/spamassassin/local.cf > I restarted services. > I sent the test spam > "/usr/share/doc/spamassassin-2.44/sample-spam.txt" and added > "braintmr" in the subject line (with out the quotes) and it was still > tagged as spam. > > header Brain_TMR Subject =~ /braintmr/i > describe Brain_TMR Allow if subject contains keyword > braintmr > score Brain_TMR -90.0
Sounds like you're trying to set up a 'password' mail handler. If you're already using procmail to call spamassassin, you'd probably be better off doing that from ~/.procmailrc. I've given this some though already for when my little one starts wanting an email address, try something like this: :0 * !^Subject:.*braintmr * B ?? < 256000 { :0 fw | spamc -x # if spamc fails, send to spamassassin, but make it nice :0 efw | nice -n 5 spamassassin -a :0 * ^X-Spam-Status: Yes { spam } } Of course, if you don't use spamd/spamc, just remove that recipe and remove the e from the spamassassin recipe. With a little creativity, you can even set the 'password' by putting it into a ~/.mailpw file and having procmail read that - but be aware that would add a disk access to each processed message. HTH Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ No amount of careful planning will ever replace dumb luck. ------------------------------------------------------- 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