Skip to content

Instantly share code, notes, and snippets.

@adamamyl
Created January 4, 2016 17:37
Show Gist options
  • Select an option

  • Save adamamyl/58f7f813a205120d3124 to your computer and use it in GitHub Desktop.

Select an option

Save adamamyl/58f7f813a205120d3124 to your computer and use it in GitHub Desktop.
HAProxy config for load-balancing Mailman SMTP
listen smtp :2525
mode tcp
option tcplog
balance roundrobin
# Use the local address to avoid having to change exim configs
# config for woolf (=lists.no2id.net)
server woolf 127.0.0.1:25 check weight 10
server bingham 93.93.131.141:25 check weight 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment