Hello Guys...
quite new to proxmox, but with online help,I'm trying o do this setup;
I have a mail server that runs on Control Web Panel (CWP) thus used postfix as MTA.
I'm trying to have emails from this server sent through a three-node proxmox cluster. The mail server to send emails to the cluster then any of the three nodes will send out to the final receiver. I do not want to overwhelm one node, thus I'm trying to have the load balanced.
I have installed HAProxy on the same mail server, bound it to port 1025 and edited the /etc/haproxy/haproxy.cfg to have these details
frontend smtp-in
bind *:1025
mode tcp
option tcplog
default_backend smtp-backend
backend smtp-backend
mode tcp
balance roundrobin
server proxmox-node1 <proxmox-node1-ip>:26 check
server proxmox-node2 <proxmox-node2-ip>:26 check
server proxmox-node3 <proxmox-node3-ip>:26 check
I also added a relayhost directive on postfix config file so that emails can be relayed through haproxy, running locally on port 1026
Now, when I send an email, I run into this error in the attached file
Kindly help me know what I'm getting wrong
quite new to proxmox, but with online help,I'm trying o do this setup;
I have a mail server that runs on Control Web Panel (CWP) thus used postfix as MTA.
I'm trying to have emails from this server sent through a three-node proxmox cluster. The mail server to send emails to the cluster then any of the three nodes will send out to the final receiver. I do not want to overwhelm one node, thus I'm trying to have the load balanced.
I have installed HAProxy on the same mail server, bound it to port 1025 and edited the /etc/haproxy/haproxy.cfg to have these details
frontend smtp-in
bind *:1025
mode tcp
option tcplog
default_backend smtp-backend
backend smtp-backend
mode tcp
balance roundrobin
server proxmox-node1 <proxmox-node1-ip>:26 check
server proxmox-node2 <proxmox-node2-ip>:26 check
server proxmox-node3 <proxmox-node3-ip>:26 check
I also added a relayhost directive on postfix config file so that emails can be relayed through haproxy, running locally on port 1026
Now, when I send an email, I run into this error in the attached file
Kindly help me know what I'm getting wrong