Re: Klezmail with forged envelope

Tor Slettnes <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <[email protected]>
On Apr 6, 2004, at 14:30, Tim Jackson wrote:

> Even without that, these days fairly little viral stuff reaches my 
> ClamAV daemon by the time it's been through various tests; the obvious 
> ones being:
>
> - reject your own domain name(s) given in remote HELOs (this catches a 
> lot
>   of recent viral junk)
>
> - use Exiscan to block "bad" extensions
>
> Those alone clean up a lot of rubbish.

One more, which seems to catch even more junk on my side (though 
perhaps more spam than virii):

  - Reject plain IP addresses given in HELO/EHLO greetings.
    Per RFC, you must allow IP literals, i.e. IP addresses enclosed in 
square brackets:
      HELO [192.168.0.1]       <----- Valid

    However, IP addresses without the square brackets are not mandated, 
and are _only_ used by spamware and virii.  (Typically, they will HELO 
with _your_ IP address).


Exim ACL snippet:

    deny message   = You greeted me with an IP address.  I want your 
name.
         condition = ${if isip {$sender_helo_name}{true}{false}}
         delay     = 20s
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.