Re: [exim] Reject servers that use my ip address as EHLO

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Always Learning
Datum:  
To: Exim
Betreff: Re: [exim] Reject servers that use my ip address as EHLO

On Wed, 2016-04-20 at 09:47 +0200, Udera Udera wrote:


> I want to reject servers that use my ip address as their EHLO, that would
> be:
> EHLO [10.0.0.1]


I use several checks including these (written to run on Exim 4.63 on
Centos 5 and also works on Exim 4.84_2 on Centos 6)

Missing HELO

condition     = ${if eq{$sender_helo_name}{}}


IMPERSONATING

   condition     = ${if
eq{$sender_helo_name}{$interface_address}{yes}{no}}


SQUARE BRACKETS IN HELO

  condition     = ${if match{$sender_helo_name}{[\[|\]]} }



Hope that helps.



--
Regards,

Paul.
England, EU.      England's place is in the European Union.