Re: [Exim] exim HELO ack

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Wakko Warner
Datum:  
To: Randy Bush
CC: exim users
Betreff: Re: [Exim] exim HELO ack
> how can i stomp non-fqdn HELO/EHLOs as simply as possible?
>
> randy, reading list archive with the load average rising


I use this:
    drop    message = HELO doesn't look like a hostname
        log_message = Not a hostname
        condition = ${if match{$sender_helo_name} \
                      {\N^[^.].*\.[^.]+$\N} \
                 {no}{yes} \
                 }


This means: Drop the HELO unless it contains a . somewhere in the HELO
string, but may not begin or end with a . (imposed minimum length is 3
chars). basically x.x is ok, but .x. is not



--
Lab tests show that use of micro$oft causes cancer in lab animals