tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY - mail spam attack
@ 1997-11-25 17:04 Tom Ozanich
  0 siblings, 0 replies; only message in thread
From: Tom Ozanich @ 1997-11-25 17:04 UTC (permalink / raw)
  To: tru64-unix-managers


many thanks to:  (in no particular order)

Andy Walden
Craig I. Hagan
Christer Borang
Simon Tardell
Tom Smith
Berry Kercheval
Steve VanDevender
Ann Cantelow


For the moment the attacks have stopped ( after several contacts to the
providers of the spammers)

Many thanks to Tom Smith from Digital Equipment Corp.  for his continued
advice and patience.

There are several sites with updated information and tools.  A good place
to start is sendmail.org.  Other very good sites included below.


Craig I. Hagan writes:


look at both http://www.cih.com/~hagan/smap-hacks and
http://www.cih.com/~hagan/smtpd-hacks 

Steve VanDevender writes:

Here's a very simple check_rcpt rule that will work with sendmail 8.8.6
or later to prevent mail from being relayed through your machine (that
is, to have people not on your machine send mail to recipients not on
your machine).

Scheck_rcpt
R$*             $: $(dequote "" $&{client_name} $) $| $1
R$=w $| $*      $@ OK           client names in class w are OK
R$@ $| $*       $@ OK           null client name (local invocation) is OK
R$* $| $*       $: $>3 $2       not local, check rcpt
R$* <@$=w.> $*  $>3 $1 $3       remove local part, maybe repeatedly
R$* <@ $+ > $*  $#error $@ 5.5.1 $: 551 we do not relay

You can add these lines at the bottom of your existing sendmail.cf, or
place them under a LOCAL_RULESETS line in a sendmail m4 macro 

For a more complicated but flexible ruleset that will allow you to
selectively accept mail from clients in selected domains or networks, or
relay mail to selected domains or networks, see:

http://hexadecimal.uoregon.edu/antirelay/ 


Ann Cantelow writes:
>  http://www.informatik.uni-kiel.de/%7Eca/email/check.html
>
> To stop general relaying, where spammers vary their from-addresses
> continuously, you want the check_rcpt rule set.
>
> If you have users who need to use relaying from outside through your
> site, there could be some rough going for them for a little while, as
> you put in additional rules to allow them to pass but still keep the
> spammers out.  All this is covered at that site by Mr. Assmann too- see
> the link called "another version" towards the bottom of the check_rcpt
> page.                                                                    

*****************************************
Tom Ozanich             Cegelec ESCA    *
11120 NE 33rd. Place    206.822.6800    *
Bellevue, WA  98004                     *
                                        *
Internet:               txo@esca.com    *
*****************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-25 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-25 17:04 SUMMARY - mail spam attack Tom Ozanich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox