Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 6th July 2006, 05:58
thelorax thelorax is offline
Junior Member
Join Date: Jul 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs down fetchmail + procmail + spamassassin setup help

First off, I know that bits and pieces of this have been covered elsewhere, but I'm apparently not smart enough to figure it all out, so please be patient.

Here's what I would like to do: I have a catchall account that gets LOTS of spam (hundreds a day) but there are occasionally some important messages that I would like to get (and Thunderbird's filter just isn't cutting it). What I would like to do is retreive the messages from this account via fetchmail, and have procmail run them through spamassassin (or bogofilter, clamscan, whatever) and then place the messages in a local mailbox with good stuff in inbox and spam in a spam folder (or even just mark it as spam in the header so I can filter in the mail client).

I have tried setting up .fetchmailrc and .procmailrc files but seem to be failing miserably

#set filter = /usr/bin/procmail -m $HOME/.procmailrc
set daemon 180
poll pop.server.com with proto POP3
    user [username] there with password [password] is [me] here
MAILDIR=$HOME/.maildir      #you'd better make sure it exists
LOGFILE=$MAILDIR/from   #recommended

# Use maildir-style mailbox in user's home directory

| /usr/bin/spamassassin

Any detailed advice in how to set this up would be greatly appreciated. I'm running Ubuntu 6.06 if it matters.

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
plenty of procmail/trashscan processes ZyanKLee Installation/Configuration 10 27th December 2005 21:09
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 01:58
customized procmail setup jmroth Installation/Configuration 4 5th December 2005 22:20
procmail supposed to be in main.cf? Smitty Installation/Configuration 4 5th December 2005 11:10
Attempting The Perfect Setup (To Some Extent) PsyVision HOWTO-Related Questions 3 3rd November 2005 12:50

All times are GMT +2. The time now is 04:47.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.