Re: how to disable port 143

2024-06-13 Thread Jerry Stuckle via dovecot
We use fail2ban also. It's good for automatically updating the Linux firewall based on the system logs. However, if you just want to block one port for everyone you can do it yourself with one firewall rule. For instance, if you have a database server that should only be accessed by systems o

Re: how to disable port 143

2024-06-09 Thread Jeff Peng via dovecot
We already have thousands of fw rules by fail2ban :) On 2024-06-10 10:44, Jerry Stuckle via dovecot wrote: If you don't want to accept any requests on port 143, can't you use the Linux firewall to reject them? That's what we do and it works well. Jerry

Re: how to disable port 143

2024-06-09 Thread Jerry Stuckle via dovecot
If you don't want to accept any requests on port 143, can't you use the Linux firewall to reject them? That's what we do and it works well. Jerry ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: how to disable port 143

2024-06-09 Thread Jeff Peng via dovecot
that's great. now i have port 143 disabled. # netstat -ntlp|grep dovecot tcp0 0 0.0.0.0:993 0.0.0.0:* LISTEN 44800/dovecot tcp6 0 0 :::993 Thanks for the kind info. regards. I would say documented way of disabling a service listener. Aki On 09/06

Re: how to disable port 143

2024-06-09 Thread Aki Tuomi via dovecot
I would say documented way of disabling a service listener. Aki > On 09/06/2024 09:49 EEST Jeff Peng via dovecot wrote: > > > setting port to zero, is it just a trick in dovecot? thank you. > > > > In other words set the port to zero. I only have port 993 listening. > __

Re: how to disable port 143

2024-06-09 Thread Jeff Peng via dovecot
setting port to zero, is it just a trick in dovecot? thank you. In other words set the port to zero. I only have port 993 listening. ___ dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-le...@dovecot.org

Re: how to disable port 143

2024-06-08 Thread Pete Long via dovecot
> On 9 Jun 2024, at 00:21, Jeff Peng via dovecot wrote: > > > But this doesn't close the port 143. > So I have changed it to: > > service imap-login { > inet_listener imap { >address = 127.0.0.1 >port = 143 > } > > This let port 143 listen on local address. > > my question, is it

Re: how to disable port 143

2024-06-08 Thread Alexander Dallou via dovecot
Am 09.06.2024 um 01:21 schrieb Jeff Peng via dovecot: [ ... ] my question, is it possible to close port 143 entirely in dovecot? https://doc.dovecot.org/configuration_manual/service_configuration/#port Thanks. ___ dovecot mailing list -- doveco

how to disable port 143

2024-06-08 Thread Jeff Peng via dovecot
Hello, I have commented out this line in 10-master.conf: service imap-login { inet_listener imap { #port = 143 } But this doesn't close the port 143. So I have changed it to: service imap-login { inet_listener imap { address = 127.0.0.1 port = 143 } This let port 143 liste