Modify
smtp_allow_client_ip to specify the client IP addresses (separated by a
comma or space) that can connect to the IMSS daemon SMTP
stream port.-
If
smtp_allow_client_ipis not specified, the default value is127.0.0.1. -
smtp_allow_client_ipsupports IPv4 and IPv6 addresses in the following IP formats:127.0.0.1::1123.123.123.1232001:db8:10ff::ae:44f2123.123.123.123/242001:db8:10ff::ae:44f2/64123.123.123.123-2232001:db8:10ff::ae:44f2-45ff
For example, if you only want to allow a localhost (either IPv4 and IPv6) and the
IPv6 address
2001:db8:10ff::ae:44f3 to connect to the daemon service, use the following
configuration:smtp_allow_client_ip=127.0.0.1, ::1, 2001:db8:10ff::ae:44f3
