[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Spam, exim, .forward vs. procmail



Clive Menzies declaimed:
< quoted post snipped > 
> I'm just starting out on this road coming from getmail, exim, mutt to
> mailfilter, fetchmail, procmail, spamassassin, exim, mutt.
> It's taken some time but I've now got preconnect "mailfilter" in my
> fetchmailrc with the following:
> 
> DENY=^From:.*Microsoft \(Network\|Security\|Corporation\|Security\|Message\|Internet\|Customer\|Support\)*
> DENY=^From:.*MS \(Network\|Security\|Corporation\|Security\|Internet\|Customer\|Support\)*
> DENY=^From:.*Customer Bulletin
> DENY=^From:.*Internet \(Email\|Service\|System\)*
> DENY=^From:.*Security Department
> DENY=^From:.*Email \(Delivery\|Service\)*
> DENY=^From:.*CyberAtlas
> 
> DENY=^To:.*net recipient
> DENY=^To:.*Inet \(Client\|Recipient\)*
> DENY=^To:.*Network \(Recipient\|Receiver\)*
> DENY=^To:.*Mail \(Recipient\|Receiver\)*
> DENY=^To:.*Commercial \(Client\|Consumer\)*
> 
Thanks! I'll review the fetchmail/mailfilter docs & give this a whirl.
Nice that you don't have to double & quadruple all the escapes as in
.forward.

> Although I can call fetchmail from mutt I run it through crontab every
> 5 minutes.
I used to do that, but have switched to running fetchmail in daemon
mode, launched with a reboot argument in my crontab:

First 2 lines of .fetchmailrc, 879 is the repeat interval in millisecs:
  set daemon 879
  poll mail.isp.com proto pop3 user "ispName" is "linuxName@hostname"

$ crontab -l
SHELL=/bin/sh

# m  h dom mon dow command
@reboot            /usr/bin/fetchmail -f /home/et/.fetchmailrc

-- 
Paul Mackinney
paul@mackinney.net



Reply to: