<quote who="Howard Lowndes">

> I tested by piping a spam email into spamassassin and it was correctly
> mangled and output into my mailbox (or to stdout if I use the -t
> argument).  If I try to pipe it into spamc though it comes out unmangled
> and returns an exit code of 0 (not spam).
> 
> I guess the next thing to check is that the spamd daemon is actually
> finding its config files, but has anyone else got any other ideas.

spamc run from procmail will use *your* configuration files, ie:

~/.spamassassin/user_prefs:

rewrite_subject 0
report_header 1
use_terse_report 1
skip_rbl_checks 1
check_mx_attempts 0

I choose not to mangle, because I filter on "X-Spam-Flag: YES" instead of
making the emails grody.

- Jeff

-- 
     "It is said that there are only six jokes in the world, and I can      
    assure you that we can only broadcast three of them..." - John Watt,    
                   the BBC's Head of Variety in the 30's                    
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to