Dnia 28.04.2021 o godz. 16:28:39 IL Ka pisze:
configure inet_interfaces to listen only your VPN IP
http://www.postfix.org/postconf.5.html#inet_interfaces
You can even listen to the submission port (instead of SMTP/25) and close
25 with a firewall.
On 28.04.21 16:31, Jaroslaw Rafa wrote:
I'd suggest the opposite: if you will only be sending mail via VPN (that
means from a fixed IP address), then don't bother using submission port,
just add that IP to "mynetworks" and send the mail to your server the
normal way via port 25... Less to set up...
it's always better to separate submssion from incoming mail and use proper
ports for that.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)