Re: [Exim] People thinking port 25 is a web server

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: William Thompson
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] People thinking port 25 is a web server
On Mon, 10 Mar 2003, William Thompson wrote:

> Is there an easy way to immediately drop people from doing this:
> 2003-03-08 07:33:53 SMTP syntax error in "POST / HTTP/1.0" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP syntax error in "Via: 1.0 TANGO" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP syntax error in "Host: 216.98.66.34:25" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP syntax error in "Content-length: 8253" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP syntax error in "Content-type: application/x-www-form-urlencoded" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP syntax error in "Connection: Keep-Alive" H=[199.243.131.42]: unrecognized command
> 2003-03-08 07:33:53 SMTP call from [199.243.131.42] dropped: too many unrecognized commands
>
> I was thinking of modifying the smtp commands to add POST as a "quit" option
> that ignores parameters
>
> I'm currently using exim 3.35. I'd like to know if it's doable at all (any
> version upto and including the latest)


In the next release (4.14, due out on Wednesday), you can set what you
want for "too many" via an option called smtp_max_unknown_commands. The
default is now 3.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.