Hi All,
I have a system running (home based) Centos latest fully patched, etc that is acting as quasi mail server dhcp and name server. My question deals with mail. This is how it is currently set up.
Because I travel for work weeks on end, I have fetchmail on my mail server, set up to poll my isp and download all my mail from work and personal isp. In this way my mail queues at work and personal isp are not piling up. I then use (at home and away) my own email client (kmail) to pop my home server for mail through an ssh tunnel.
Does anyone know of a way that I can somehow combine some kind of spam filtering in conjunction with fetchmail on my home mail server so that when I pop it only the spam free email returns to my client? I know that kmail also filters out spam but I would also like a crack at getting some of the spam cleaned out at my mail server end as well.
Thanks for your help with this,
Phil
centos-bounces@centos.org <> scribbled on Sunday, September 24, 2006 12:45 PM:
Hi All,
I have a system running (home based) Centos latest fully patched, etc that is acting as quasi mail server dhcp and name server. My question deals with mail. This is how it is currently set up.
Because I travel for work weeks on end, I have fetchmail on my mail server, set up to poll my isp and download all my mail from work and personal isp. In this way my mail queues at work and personal isp are not piling up. I then use (at home and away) my own email client (kmail) to pop my home server for mail through an ssh tunnel.
Does anyone know of a way that I can somehow combine some kind of spam filtering in conjunction with fetchmail on my home mail server so that when I pop it only the spam free email returns to my client? I know that kmail also filters out spam but I would also like a crack at getting some of the spam cleaned out at my mail server end as well.
Thanks for your help with this,
Phil
Install MailScanner on your box. It will scan the emails retrieved by fetchmail and then deliver to your local account.
Mike
On 9/24/06, Phil Savoie psavoie1783@rogers.com wrote:
Does anyone know of a way that I can somehow combine some kind of spam filtering in conjunction with fetchmail on my home mail server so that when I pop it only the spam free email returns to my client?
Install an MTA (sendmail or postfix or exim) on your home server, and tell fetchmail to deliver the mail through that MTA rather than directly into your mailbox. Then you can set up spam filtering either in the MTA, or you can call spamassassin (or run spamd as a service and call spamc) from your local delivery agent, e.g., add recipes to the $HOME/.procmailrc file.
Alternately -- and you may already be doing this -- have fetchmail deliver through procmail, in which case see above about spamassassin.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, Sep 24, 2006 at 01:44:56PM -0400, Phil Savoie wrote:
Does anyone know of a way that I can somehow combine some kind of spam filtering in conjunction with fetchmail on my home mail server so that when I pop it only the spam free email returns to my client? I know that kmail also filters out spam but I would also like a crack at getting some of the spam cleaned out at my mail server end as well.
Pipe it through procmail, and use spamassassin to check for spam.
On fetchmailrc: poll (....) mda '/usr/bin/procmail -f %F'
Then on .procmailrc:
:0 fBw | spamc
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)