Re: [exim] Punishing malformed HELO at acl_smtp_rcpt level?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Wakko Warner
Päiväys:  
Vastaanottaja: Mike Meredith
Kopio: exim-users
Aihe: Re: [exim] Punishing malformed HELO at acl_smtp_rcpt level?
Mike Meredith wrote:
> Hi
>
> Sometime around Tue, 09 Jan 2007 01:35:39 +0100, it may be that Fionn
> Behrens wrote:
> > I am not the ultimate expert but to my knowledge smtp auth takes place
> > after HELO, doesnt it? Would it be possible to set sort of a flag in
> > this case of malformed HELO and recall it later at the acl_smtp_rcpt
>
> As an alternative to the other suggestions, you could use different
> ACLs for the mta and msa ports :-
>
> acl_smtp_rcpt = check_recipient_${if eq {$interface_port}{25}
> {mta}{msa}}


I did this on a test machine as well. If you ever do exim -bh and don't
provide an IP and port number (via -oMi I believe), the $interface_port is
-1

I wrote a macro called MTA that's basically a test for port 25 and port -1

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