public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Lindsay Haisley <fmouse-gentoo@fmp.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] SMTP Woes
Date: Fri, 30 Nov 2007 13:41:53 -0600	[thread overview]
Message-ID: <1196451713.8841.62.camel@vishnu.fmp.com> (raw)
In-Reply-To: <279fbba40711300334k62b356eej90db419b06144aca@mail.gmail.com>

In my experience SPF isn't deployed widely enough to be a reliable
technology on its own for identifying spam.  There are just too many
ISPs out there running mail servers, and sending legitimate email, that
don't identify in SPF.  You'll get many false positives.

Although I'm not using courier-mta instead of postfix, I'm using
blacklists with very good results on FMP's small commercial mail server.
The lion's share of blocking is done based on the Composite Blocking
List.  See <http://cbl.abuseat.org/>, although I have several others in
the mix.

Courier doesn't mess with an inbound SMTP connection attempt if it
identifies in a BL, but simply rejects the connection out front with an
error, which should cause the sending system to issue a DSN in the case
of falsely identified spam - of which I see extremely little.  I expect
postfix works in a similar way.  This delays the connection somewhat,
but you don't end up with dozens of spam-bots tying up your SMTP server
because they fail to properly disconnect when they are told they're
trying to send to a nonexistent mailbox.

On Fri, 2007-11-30 at 11:34 +0000, Kerin Millar wrote:
> On 30/11/2007, Arturo 'Buanzo' Busleiman <buanzo@buanzo.com.ar> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Randy Barlow wrote:
> > > I am getting a huge number of connections to my mail server (postfix)
> > > compared to usual.  I've seen as many as 50 connections open at one
> > > time.  The logs show that the connections are from several computers of
> > > varying IPs, and they are all trying to send mail to random mailboxes on
> > > my domain.  It's very annoying, and I have noticed that inbound mail
> > > seems to be lagging by several hours.  Is there something similar to
> > > denyhosts for spammers?  Any other suggestions?
> >
> > Check those IPs against: www.robtex.com/rbl
> > Choose your favorite blacklists (test them, some of them provide too many false positives) and
> > implement with them DNSBL/RBL in your postfix. Also, SPF and greylisting make a good job.
> 
> Regarding SPF, I'd just like to add that the SPF policy daemons (which
> can be integrated into postfix very easily) are available at
> http://www.openspf.org/Software. There are implementations in perl and
> python and, as luck would have it, the python version is available in
> portage as mail-filter/pypolicyd-spf. If you choose to endorse SPF
> then don't forget to define records for one's own domains! A helpful
> document describing SPF syntax can be found here:
> http://www.openspf.org/SPF_Record_Syntax.
> 
> Regards,
> 
> --Kerin

-- 
gentoo-server@gentoo.org mailing list



  reply	other threads:[~2007-11-30 19:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30  7:00 [gentoo-server] SMTP Woes Randy Barlow
2007-11-30 10:22 ` Arturo 'Buanzo' Busleiman
2007-11-30 11:34   ` Kerin Millar
2007-11-30 19:41     ` Lindsay Haisley [this message]
2007-11-30 18:27 ` Wendall Cada
2007-11-30 19:07 ` Wendall Cada
2007-11-30 22:57   ` Randy Barlow
2007-12-03 18:46     ` [gentoo-server] Interesting IP Aliasing Problem M Summers
2007-12-03 20:03       ` Konstantin Astafjev
2007-12-03 20:34         ` RijilV
2007-12-03 21:20           ` Re[2]: " Konstantin Astafjev
2007-12-03 21:06         ` M Summers
2007-12-06 21:09 ` [gentoo-server] SMTP Woes Olaf Niermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1196451713.8841.62.camel@vishnu.fmp.com \
    --to=fmouse-gentoo@fmp.com \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox