From: Rob M. <rob...@gm...> - 2007-02-21 14:14:42
|
On 2/21/07, Ivan Imperl <nos...@ml...> wrote: > My ISP forwards all mail for my domain at one account. I than use > fetchmail to download all mail to my box, MailScanner to scan for > spam and viruses (for winblows users) and sendmail distribute it to > users on local network. Hire is my .fetchmailrc: > > # Configuration created Mon Dec 1 12:45:17 2003 by fetchmailconf > set logfile "/var/log/fetchMailByIva" > set postmaster "iva" > # set nobouncemail > set no spambounce > set properties "" > > poll pop3.ourisp.net with proto POP3: > localdomains ourdomain.org > user 'ouruseratisp' there with password 'pass' is * here > > It's a low traffic on dial-up connection. Fedora Core 1 (about to be > replaced with Debian etch). > > Now to the problem. Recently we started to receive a lot of (large) mail > that is for the users that do not exist (do not have accounts) on local > mail server. Since this takes a lot of dial-up time, I was wondering if > there is a possibility for fetchmail to delete such mail. You could configure 550 as an anti-spam code (see the man page), but keep in mind that if somebody mis-types an email address it'll just get deleted and you'll never know. Note too that you really should have set the envelope header option to correctly parse multi-drop emails - see the man page again. Not doing this can lead to email going places you weren't expecting (like being dropped on the floor). -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |