Yup, I do have Procmail. From what I can tell, it's already installed and configured with Postfix, just didn't have any recipes. I added a standard .procmailrc and then added the Spamassassin calls like you said and suddenly half my email is marked with a big ****SPAM***** in the subject line, and has the X-Spam-Status set to yes. Right now Evolution is just putting them into another folder within my mailbox, but once I'm happy with the filters I'll move it to /dev/null
Thanks a lot, this Linux mail stuff isn't as hard as I thought. [EMAIL PROTECTED] writes: >On Tue, Feb 25, 2003 at 11:30:33AM +1300, Hamish McBrearty wrote: >> OK, I asked this one on www.justlinux.com but didn't get any takers. I'm >> trying to get my many email addresses organised. I've setup Gotmail to >> forward all my mail to a pop account, which Fetchmail downloads, as well >> as some other pop accounts. Postfix picks them up from there and I check >> them using Evolution. Sounds simple enough really. >> >> How do I add Spamassassin to the mix to help filter out the crap I get? >> I've searched on this and can't seem to find anything simple, or >anything >> that doesn't involve Sendmail. > >Hey, re-reading that, I noticed that although you invoked many other >fine pieces of software in your question, you didn't seem to be using >procmail - so my advidce on running spamAssassin from within procmail >was missing out a vital step! > >Go get procmail :-) It'll be on your system already, most likely. Get >postfix to deliver your email to a command instead of to a file ... one >of the easy ways to do that is to make use of the '.forward' file in >your home directory that pretty much every mail system will look at, if >it exists :- > >~/.forward: >|/usr/local/bin/procmail > >Now every item of mail coming in to your account will be passed into >procmail instead of being delivered to an inbox file (please don't be >using IMAP - that'll complicate things, but not too much) > >Procmail reads a list of instructions in ~/.procmailrc, looks at the >incoming email, makes alterations to it if you want, and will then put >the message into any file you want. In other words, it can organise your >incoming email into folders before you see it ... as well as look for >spam, and delete things if you are confident that you don't want them. >All good fun. A very good companion piece of software to fetchmail ... > >-jim ------------------------------------------------- Hamish McBrearty MCSE MCSA Network Engineer Rangi Ruru Girls' School 59 Hewitts Road Christchurch NEW ZEALAND Ph 03 355-6099 Fax 03 355-6027 CELL 021 999770 E-Mail: [EMAIL PROTECTED] --------------------------------------------------