>
>
> I am setting up a postfix instance as submission only to compliment
> dovecot in imap mode.
> Is there a way to turn off listening on port 25 and only have submission
> listen on 587?
> I already know how to bind the submission service to 587 in the
> master.cf


Any service could be commented out in master.cf



>
> I assume listening on 25 is controlled by inet_interfaces however i
> don't see anything in docs about specifying "nothing", its either all or
> a specific IP.
>

In most cases it is safe  to bind it to the "loopback-only" interface


Is my only choice to allow postfix to bind to 25 and just firewall it

off from the public?


You can comment it in master.cf but even if you couldn't, you can always
bind it to the localhost only
either by preprending smtp service with "127.0.0.1:"  in master.conf or by
using
inet_interfaces="loopback-only"

Latter approach is recommended.


>

Reply via email to