Relay over port 25

admail

Member
Apr 14, 2022
21
2
8
Hello guys

We have some devices (another subnet or ip network) where it is not possible to change the SMTP port. It is possible to get those device access to relay over port 25?

Greetz
 
you have the following options depending on your particular setup:
* if the PMG has 2 IP-addresses (one used for internal communication/those subnets) - you can have the listeners for internal and external listen to the explicit addresses (instead of different ports) - you need to use the templateing system to adapt the postfix configuration for that:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
* if you have a router/firewall between those subnets and PMG you can configure a NAT (actually PAT for port address translation) rule there
* finally you can create an iptables/nftables rule directly on PMG
(there are quite many tutorials on the net for each of the options)

I hope this helps!
 
Thank you for your answers. What mechanism is behind the block on the port 25 (external)?
 
What mechanism is behind the block on the port 25 (external)?
Not quite sure what you mean with the mechanism - but roughly said - mails on the external port are accepted if they are for a domain listed as relay domain.

I hope this explains it
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!