Limit IMAP/IMAPS listening IPs
Dudi Goldenberg
dudi at kolcore.com
Sun Jun 25 22:15:39 EEST 2017
Hi,
>> What is the proper way to resolve this?
>
>$ mkdir -p /etc/systemd/system/dovecot.socket.d
>$ vim /etc/systemd/system/dovecot.socket.d/ports.conf
>
>content:
>
>[Socket]
># unset all ports defined in the global file ListenStream= # add our new ports
>ListenStream=[1.2.3.4]:143
>
>$ systemctl daemon-reload
>$ systemctl restart dovecot.socket dovecot.service
Thanks for the prompt reply!
How do I specify more than 1 IP? I'd like 127.0.0.1 and say 192.168.1.100 only.
Regards,
Dudi
More information about the dovecot
mailing list