Proxmox relay domain to multiple host

TT5776

New Member
Jul 27, 2018
4
0
1
21
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
 

TT5776

New Member
Jul 27, 2018
4
0
1
21
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

Sommer

Member
Jun 7, 2018
47
5
8
33
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 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 your own in 60 seconds.

Buy now!