Increase PMG's mail deliverability

kienvt

New Member
Jun 6, 2023
6
1
3
Hello
I have 2 questions to ask:
- How from 1 mail server can send smtp through many pmg servers (with each pmg server corresponding to 1 ip address)?
- I want to increase the frequency of sending out smtp mail on pmg? (I've seen it affected by queued/delivered and accepted/delivered processes, it's slow, causing a lot of queue).
 
Not sure I understand your questions - but I'll try to answer:
- How from 1 mail server can send smtp through many pmg servers (with each pmg server corresponding to 1 ip address)?
Why would you want that? - for load-balancing or do you want specific mails to be sent to one PMG and others to another?
If it's for load-balancing then DNS-round-robin would be an option (just create one DNS-name and have 2 A/AAAA records from it pointing to the PMG IPs - then mails should be distributed
if it's for specific mails you need to configure the sending server to route them according to the condition you have in mind

I want to increase the frequency of sending out smtp mail on pmg? (I've seen it affected by queued/delivered and accepted/delivered processes, it's slow, causing a lot of queue).
PMG does send mails out directly after processing them - if they remain queued that means there was a temporary issue with sending them out - check the logs to find out why sending did not work directly
 
  • Like
Reactions: kienvt
- How from 1 mail server can send smtp through many pmg servers (with each pmg server corresponding to 1 ip address)?

This may not be exactly what you want, but if you have multiple IPs available on the PMG host, then you can use sender_transport to redirect outgoing mail through any one of those IPs. These IPs could be associated with different domains so recipients would see your PMG originated emails arriving from different domains or subdomains, which could ease any mail queue blocking by remote mail servers.
 
  • Like
Reactions: kienvt
- How from 1 mail server can send smtp through many pmg servers (with each pmg server corresponding to 1 ip address)?

This may not be exactly what you want, but if you have multiple IPs available on the PMG host, then you can use sender_transport to redirect outgoing mail through any one of those IPs. These IPs could be associated with different domains so recipients would see your PMG originated emails arriving from different domains or subdomains, which could ease any mail queue blocking by remote mail servers.
Thanks @markc, this is a great idea and I'm using it. Thank you very much.
 
  • Like
Reactions: markc

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!