Re: [exim] helo regexp checks

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dudi Goldenberg
Päiväys:  
Vastaanottaja: exim-users
Kopio: Phil Pennock
Aihe: Re: [exim] helo regexp checks
Hi,

>You can check $received_port to see which port number the connection is
>on. You can then later, perhaps, require that the user be authenticated
>if on port 587.


I got some of the rules working, some others I guess I'll have to learn the exim regexp way and then convert my old ones.

As for port 587 & authentication, I got an error saying that authentication is not possible in helo checks, so I ended up just checking for port 587 and skipping the whole block if it is, added this just before my helo rules:

  accept  hosts = +auth_relay_hosts
          condition = ${if eq {$interface_port}{587} {yes}{no}}
          endpass


Since port 587 enforces authentication in my case, I think I am Ok the way it is.

Thanks,

Dudi

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.21.7/1331 - Release Date: 3/16/2008 10:34