Posts: 337
Thanks: 49
Thanked 33 Times in 27 Posts
You have some ways to do this... you can set postfix to receive all sent mails and next, relay it to multiple postfix servers to delivery using roundrobin, you can find how to implement in the following thread:
Another way is to attach some networks card to one server, create one postfix instance for each NIC attached (1 postfix with 1 NIC with 1 IP...). You have to search about "postfix roundrobin" to have this working...
Maybe that question is ooooooooold but have some nice solution :-)
Well warlock, in searching of solution I did some googling but did not found solution sooo I turned off Google and enable a Brain++ :->
What we want? That Postfix connect to one of FEW hosts (relayhosts).
Welll, lets play with DNS :-)
In example do domain mysweetdomain.com lets make some A lines:
mxr IN A 192.168.1.121
mxr IN A 192.168.1.131
mxr IN A 192.168.1.141
mxr IN A 192.168.1.151
mxr IN A 192.168.1.161
Lets flush bind and what we have? Nice :-)
[root@anubis postfix]# host mxr.mysweetdomain.com
mxr.mysweetdomain.com has address 194.177.4.121
mxr.mysweetdomain.com has address 194.177.4.131
mxr.mysweetdomain.com has address 194.177.4.161
mxr.mysweetdomain.com has address 194.177.4.141
mxr.mysweetdomain.com has address 194.177.4.151
Standard roundrobin rulez :-D
Then only that little line in postfix/main.cf
relayhost = mxr.mysweetdomain.com
and Postfix relays with every of these ips in roundrobin style :-)
Maybe it does not work as failover but better have 3/5 relays working then none :-) 60% delivered mails at once, rest waits for some time
Simple and nice :-) Hace fun :-)
This way didnt work.
it says ITS SENT! but I dont get any email so It didnt work :-s
Recent comments
18 hours 33 min ago
1 day 8 hours ago
1 day 8 hours ago
1 day 13 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 13 hours ago