Re: Disable browser based access to postfix

2022-12-15 Thread Wietse Venema
mailm...@ionos.gr: > > now that is funny, I didn't know postfix replied to HTTP requests hahaha! > > $ telnet mail.server 25 > Trying 192.168.1.184... > Connected to mail.server. > Escape character is '^]'. > 220-mail.server.erebor.lan ESMTP > > GET / HTTP/1.0 > > 521 5.7.0 Error: I can break r

Re: Disable browser based access to postfix

2022-12-15 Thread Viktor Dukhovni
On Thu, Dec 15, 2022 at 11:08:24PM +0530, Dhanushka Parakrama wrote: > So i wanted to block browser based access to the mail server or stop > displaying the error message , So is there any way to do that ? Postfix has no way to know whether a TCP connection is from a browser or not until after

Re: Disable browser based access to postfix

2022-12-15 Thread mailmary
now that is funny, I didn't know postfix replied to HTTP requests hahaha! $ telnet mail.server 25 Trying 192.168.1.184... Connected to mail.server. Escape character is '^]'. 220-mail.server.erebor.lan ESMTP GET / HTTP/1.0 521 5.7.0 Error: I can break rules, too. Goodbye. Connection closed by f

Re: Disable browser based access to postfix

2022-12-15 Thread Matus UHLAR - fantomas
On 15.12.22 23:08, Dhanushka Parakrama wrote: I have postfix server which runs in usual port 25 . apart from that we have configured that postfix instance to run on port 2587 as well . So the issue is when i access the URL as below *http://mailserver.example.com:2587

Disable browser based access to postfix

2022-12-15 Thread Dhanushka Parakrama
Hi Team I have postfix server which runs in usual port 25 . apart from that we have configured that postfix instance to run on port 2587 as well . So the issue is when i access the URL as below *http://mailserver.example.com:2587 * i get the following er