This is a discussion on multiple addresses within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi there, I am running postfix 2.0.16 on a NetBSD machine with Mutt and Fetchmail. I wonder how ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there, I am running postfix 2.0.16 on a NetBSD machine with Mutt and Fetchmail. I wonder how I could eliminate spam mail with multiple addresses under To: or/and CC: Many thanks hk Example: From lfrxpo@cnnic.net.cn Sun Jan 25 11:56:29 2004 Return-Path: <lfrxpo@cnnic.net.cn> snip.... Received: from 68.163.176.162 (HELO pool-68-163-176-162.bos.east.verizon.net) by mta113.mail.ukl.------.com with SMTP; Sat, 24 Jan 2004 20:28:16 +0000 Received: from [68.163.176.162] by e-hostzz.comIP with HTTP; Sat, 24 Jan 2004 03:24:13 -0500 From: "Tammy Lim" <lfrxpo@cnnic.net.cn> To: ooruwari@------.uk, ot34@------.uk Cc: otylihiousdivalola@------.uk, otinij@------.uk, orn2001@------.uk, ormrod@------.uk, kartoem@------.uk, osama_malki@------.uk, ones@------.uk, oosterk@------.uk Subject: Re: DQWGGAOU, against the polonaise Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [3002hosting.comIP] -- hk Powered by NetBSD 1.6 and slrn |
|
|||
|
hk wrote:
> Hi there, > > I am running postfix 2.0.16 on a NetBSD machine with Mutt and Fetchmail. I > wonder how I could eliminate spam mail with multiple addresses under > To: or/and CC: > Well generally it's unimportant if there are any CCs named. So if I was you I'd test spamassassin (www.spamassassin.org). It's a damn good filter based on perl. I'm actually run it on three servers and it catches... well... I think round about 95% spam. |
|
|||
|
On 2004-01-26, Torsten Stauder <audio07@t-online.de> wrote:
> hk wrote: > >> Hi there, >> >> I am running postfix 2.0.16 on a NetBSD machine with Mutt and Fetchmail. I >> wonder how I could eliminate spam mail with multiple addresses under >> To: or/and CC: >> > Well generally it's unimportant if there are any CCs named. So if I was > you I'd test spamassassin (www.spamassassin.org). It's a damn good > filter based on perl. I'm actually run it on three servers and it > catches... well... I think round about 95% spam. > Hi Torsten, Thank you for your advice. I installed spamassassin with the help of the following information obtained from a spamassassin-postfix Howto. I am very impressed. ************* 7. In /etc/postfix/master.cf in the "Services" section, alter the 'smtp' line as follows (the " -o con..." SHOULD be on the next line: # --------------------------------------------------------------------------- smtp inet n - n - - smtpd -o content_filter=spamfilter: # ---------------------------------------------------------------------------- 8. In /etc/postfix/master.cf in the "Interfaces to non-Postfix software" section add: # ----------------------------------------------------------------------- spamfilter unix - n n - - pipe flags=Rq user=spamfilter argv=/usr/bin/postfixfilter -f ${sender} -- ${recipient} # ------------------------------------------------------------------------- #!/usr/pkg/bin/bash /usr/pkg/bin/spamc | /usr/sbin/sendmail -i "$@" exit $? -- hk Powered by NetBSD 1.6 and slrn |