spamassassin and cyrus?

Robby Russell rrussell at commandprompt.com
Mon May 31 14:41:53 EDT 2004


gen2 typed this on 05/31/2004 10:19 AM:
> Hi all,
> 
> I'm confused. Assembling email server (first time with fetchmail/cyrus/postfix 
> combination), and I can't figure out where Spamassassin fits (yes, I've 
> googled extensively and read all relevant mans >3x).
> 
> Right now, Fetchmail is retrieving external POP mail and delivering it to 
> cyrus via LMTP (at least I THINK it is. It could be going to Postfix first -- 
> using LMTP transport between Fetchmail, postfix, and cyrus, so I'm not sure 
> who gets what 1st/last).
> 
> SA is tagging outgoing mail, so it seems to work, but incoming mail (via 
> Fetchmail) isn't getting examined, apparently.
> 
> Can anyone point me in the right direction? How does SA examine mail before it 
> hits cyrus/sieve, NOT using SMTP ?
> 
> Thanks!
> 

Spamassassin typically gets setup through procmailrc, which is what 
postfix typically calls before putting in the users mailbox spool.

edit /etc/procmailrc
add the following:

# send mail through SpamAssassin
:0 fw
* < 256000
| /usr/bin/spamc -f



-Robby

	
-- 
Robby Russell,  |  Sr. Administrator / Lead Programmer
Command Prompt, Inc.   |  http://www.commandprompt.com
rrussell at commandprompt.com | Telephone: (503) 667.4564
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list