Re: [Exim] Return code using ACL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: William Thompson
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [Exim] Return code using ACL
> > The reason I was asking is to deny MAIL if HELO wasn't sent first with code
> > 503 (which I think is the proper code)
>
> Yes, that's probably right. I see that Exim gets it wrong when you set
> helo_verify_hosts; it sends 550 for MAIL without HELO. I should probably
> fix that.


I didn't realize it did that. By the way, how do I restrict MAIL if HELO
wasn't sent w/o using an ACL? or is it possible?

> When I get back to working on the functionality, I'll think about
> allowing a restricted set of codes for ACL denys. In particular, only
> 4xx or 5xx. Something along the lines of "if the message string starts
> with 4xx or 5xx then use that as the code".


That was the first thing that came into mind.

I don't see that as being too difficult to implement from what I saw from
smtp_in.c