9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] greylist processing in smtpd
@ 2003-11-01 18:30 David Presotto
  2003-11-01 19:23 ` Taj Khattra
  2003-11-02  2:00 ` Geoff Collyer
  0 siblings, 2 replies; 4+ messages in thread
From: David Presotto @ 2003-11-01 18:30 UTC (permalink / raw)
  To: 9fans

I updated the smtpd sources with geoff collyer's greylist processing.
It's under the -g flag.  He's been using it for weeks.

It relies on a spammer's unlikelyhood of redialing later should we tell
him we're busy.  Whenever smtpd receives a message, it first checks
a white list of ip addresses.  if the sender's address isn't there, the
mail is accepted.  If not smtpd then looks for the file
/mail/grey/<remoteip>/<localip>/<recipient>.  If that iexists, the mail
is accepted.  If not, the file is created and the message rejected with
a ``we're busy. try again later'' error code.

You'll have to remove old files from /mail/grey on a regular basis in
cron.

Geoff will be posting an initial whitelist soon.  You need to seed it with
the the yahoo (and some other mailers).  One problem with the algorithm
are multiple system smtp senders.  Yahoo had many systems that all send
smtp messages from a common set of queues.  It could be days before the
same yahoo system will try to resend the message and get added to the
whitelist.

The downside is that the first messages from any system to a local user
could take over an hour to get here depending on the sender's retry
interval.  Also, its not rocket science for spammers to figure this
out and outwit it.  However, geekmail.cc seems to be using it to good
effect.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-11-02  2:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-01 18:30 [9fans] greylist processing in smtpd David Presotto
2003-11-01 19:23 ` Taj Khattra
2003-11-01 19:29   ` David Presotto
2003-11-02  2:00 ` Geoff Collyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).