[wplug] Simple email retreival with spamassassin and ClamAV
Brandon Kuczenski
brandon at 301south.net
Sun Jan 23 12:06:00 EST 2005
On Fri, 21 Jan 2005, Kevin Squire wrote:
> Dear List,
>
> I currently have a simple setup, using a system wide fetchmail config
> that downloads email from 2 POP accounts then sends them trough
> spamassassin and puts them in /var/mail/$USER. This works great for me,
> since Sylpheed and Mutt both use the mbox fomat. But I did not realize
> that it would not work for for my wife, since she uses Thunderbird.
I don't think it's an mbox issue: I'm not sure that Thunderbird can check
mail locally -- when I go to add a new account, the only options I'm
presented with are 'POP-3' and 'IMAP'. YOu may need to add an IMAP server
as a go-between (this is easy, though). Am I right about this? Can one
use thunderbird for local mail reading?
> What I would like to do is download the mail from both accounts, run
> them through spamassassin and ClamAV (which I do now within sylpheed,
> but want to change that) and then drop everything from account 1 into
> /var/mail/kevin and then drop everything from account 2 into both
> /var/mail/kevin and /home/val/Mail/Inbox/ I will continue to use the
> two accounts SMTP servers for sending mail.
I use procmail as the default mail delivery agent on my system, and it
runs through spamassassin and clamav before delivering to either the
default destination (/var/mail/user) or the user's personal mail
directories (~user/mail/folders). My IMAP server (dovecot) knows that
those two locations are the places to look for mail.
Installation of both dovecot and procmail should be a cinch, as long as
you don't need to secure them against the outside world (i.e. your wife
will only ever check mail from in-network).
> Is anyone doing something similar? Maybe point me to a good HOWTO or can
> give me some kind of outline/guideance to their own setup?
I'd be happy to help you out either on-list or off, so let me know where
your troubles lie.
-Brandon
More information about the wplug
mailing list