Re: [exim] Limiting outside world to ports 465 and 587

Pàgina inicial
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
A: exim-users
Assumpte: Re: [exim] Limiting outside world to ports 465 and 587
On 2022-03-13, The Doctor via Exim-users <exim-users@???> wrote:
> I was wonder if it is doable that the outside world
> can only see ports 587 and 465
> while limiting port 25 to localhost only.



assuming 192.0.2.44 is "the outside world" ip address.
in main configuration:

    daemon_smtp_ports = 25 : 587 : 465
    local_interfaces = <; 127.0.0.1 ; ::1 ; [192.0.2.44]:587 ; [192.0.2.44]:465


drop the ::1 entry if you don't have ipv6

explanation here: https://www.exim.org/exim-html-current/doc/html/spec_html/ch-starting_the_daemon_and_the_use_of_network_interfaces.html

--
Jasen.