Proxmox relay domain to multiple host

TT5776

New Member
Jul 27, 2018
4
0
1
25
Hello

For this exemple :
Code:
mail.exemple.com local ip : 192.168.20.100
mail2.exemple.com local ip : 192.168.20.101

mail.exemple.com and mail2.exemple.com are a cluster

Actually in my DNS i've :
exemple.com IN MX 30 mail.exemple.com
exemple.com IN MX 10 mail2.exemple.com

mail.exemple.com IN A PUBLICIP1
mail2.exemple.com IN A PUBLICIP2

Actually i dont want Proxmox use public IP to send email to my domain exemple.com
Can i set a relay for exemple.com using 192.168.20.100 and 192.168.20.101 ( if the first one crash ? )

Thanks
 
Yes, just define a "Transport" for those two domains (Configuration/MailProxy/Transports).
 
Hi,
I'm sorry but it's not two domain, i only have one, i've two Lotus Domino in cluster for the same domain.
Cant i set in "host" something like : 192.168.20.100;192.168.20.101 ?

Thanks.
 

Attachments

  • proxmox.png
    proxmox.png
    43.7 KB · Views: 45
You can use smtp_fallback_relay postfix parameter.
For example, if 1 is down, it will send to 2; 2 down, send to 3.

relay_transport = smtp:[10.10.10.1]:25
smtp_fallback_relay = [10.10.10.2]:25, [10.10.10.3]:25
 
  • Like
Reactions: DerDanilo

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!