backend mail
mode tcp
balance first
stick store-request src
stick-table type ip size 200k expire 30m
# tcp imap health check
#option tcp-check
#tcp-check connect port 143
#tcp-check expect string *\ OK
option log-health-checks
#option httpchk
option httpchk GET / HTTP/1.1
#http-check connect
#http-check send meth GET uri / HTTP/1.1
#http-check expect status 200
default-server check resolvers dnssvrs1 maxconn 200 weight 100 send-proxy-v2
#default-server resolvers dnssvrs1 maxconn 200 weight 100
server mail1 mail.local check port 5001
This still generates the same error