postfix and haproxy

Questions and answers about how to do stuff
Post Reply
sunnyg
Posts: 34
Joined: 08 Mar 2018 21:26

postfix and haproxy

Post by sunnyg »

Hello,

Has anyone successfully configured haproxy with EFA?

I found the following topic viewtopic.php?f=15&t=1844 with some settings but the configuration blocks
all emails from being accepted, and nothing seems the be logged in the maillog file.

my backend is currently configured as:

Code: Select all

backend SMTP_ipvANY
	mode			tcp
	id			118
	log			global
	# use mailers
	# level  err 
	option			log-health-checks
	timeout connect		5000
	timeout server		60000
	retries			3
	option			smtpchk HELO ghataura.com
	server			exchange2019-25 10.100.1.5:25 id 117 check inter 1000  
	server			exchange2019-587 10.100.1.5:587 id 120 check inter 1000  
	server			exchange2019-465 10.100.1.5:465 id 124 check inter 1000  
	server			exchange2019-110 10.100.1.5:110 id 126 check inter 1000

And the front end as:

Code: Select all

frontend Exchange-Frontend-SMTP
	bind			99.242.80.110:25 name 99.242.80.110:25   
	bind			99.242.80.110:587 name 99.242.80.110:587   
	bind			99.242.80.110:465 name 99.242.80.110:465   
	bind			99.242.80.110:110 name 99.242.80.110:110   
	mode			tcp
	log			global
	timeout client		30000
	default_backend SMTP_ipvANY

The settings from the link have been removed, but this is allowing all emails to be delivered and not "spam checked'

Thank you in advance

Sunny
Post Reply