Re: [Exim] exim HELO ack

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Wakko Warner
Dátum:  
Címzett: Russell King
CC: Randy Bush, exim users
Tárgy: Re: [Exim] exim HELO ack
> > 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
>
> Note that:
> - at least some Windows machines seem not to send a fqdn in their
> HELO string (despite being told both their host and domain names.)


I don't cater to windows machines.

> - "IP literal" will not have '.'s in if you're accepting IPv6
> connections - you need to check for either '.'s or ':'s.


I don't accept IP literal HELOs either.

But that's just me =)

> So you actually want something like:
>
>         condition = ${if match{$sender_helo_name} \
>                       {\N^[^.:].*[.:][^.:]+$\N} \
>                  {no}{yes} \
>                  }

>
> --
> Russell King (rmk@???)                The developer of ARM Linux
>              http://www.arm.linux.org.uk/personal/aboutme.html

>

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