Re: [exim] Block HELO with IPs

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Block HELO with IPs
Luca Bertoncello <lucabert@???> (So 23 Sep 2007 18:57:30 CEST):
> Hi, list!
>
> I have a very strange problem: I will reject the E-Mail with invalid HELO,
> and I wrote this in my Exim-Config:
>
>   drop  condition         = ${if isip{$sender_helo_name}}
>         !authenticated    = *
>         message           = 553 PRH03 - Invalid HELO/EHLO name (See RFC2821
> 4.1.3)


...


> I tough, I will reject the E-Mail with HELO using an IP, but I see always in
> my exim_mainlog that it's not so, for example:
>
> 2007-09-23 18:30:04 H=([84.79.58.33]) [84.79.58.33]
> F=<speccingww73@???> rejected RCPT <lucabert@???>:
> Greylisted 180


"isip" checks if the argument is an IP. "[84.79.58.33]" isn't an IP.


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -