Re: [exim] HELO verification

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: W B Hacker
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] HELO verification
Jakob Hirsch wrote:

> Quoting Jakob Hirsch:
>
>
>>condition = ${if !match {$sender_helo_name}
>>{\N^([a-z0-9][-_a-z0-9]*\.)+[a-z]{2,6}$\N}}
>
>
> This should have been case-insensitive:
>
> condition = ${if !match {$sender_helo_name}
> {\N^(?i)([a-z0-9][-_a-z0-9]*\.)+[a-z]{2,6}$\N}}
>
> I have it now running with warn/log_message, but there was no host
> triggering it yet, so I guess it's really not useful.
>
>


I have a similar one, and log entries do show from time to time,
but from the scoundrels being nailed by lack of a DNS match
before the pattern-match is even reached.

So nit useless, but - 'belt and braces' - it would kick in if
one had more lenient DNS & protocol tests.


Bill