On 2021-05-17 23:39, post...@ptld.com wrote:
I am setting up a postfix instance as submission only to compliment
dovecot in imap mode.

+1

Is there a way to turn off listening on port 25 and only have
submission listen on 587?

put # in front of smtp line in master.cf should be it

I already know how to bind the submission service to 587 in the master.cf

same here if you dont need this put # infront of that line in master.cf

verify by issue "postconf -Mf"

if looks good test after restart of postfix, netstat -natpu

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.

you could do a loop-backonly maybe ?

Is my only choice to allow postfix to bind to 25 and just firewall it
off from the public? If possible id rather disable listening on 25
since its not being used.

see above :)

Reply via email to