72 lines
1.7 KiB
INI
72 lines
1.7 KiB
INI
# Disposable loopback-only HAProxy fixture for Bongo protocol tests.
|
|
# Enable PROXY v2 in the smtp, imap, pop3, and sieve Bongo documents and
|
|
# trust only 127.0.0.1/32 before starting this configuration.
|
|
|
|
global
|
|
log stdout format raw local0
|
|
maxconn 128
|
|
|
|
defaults
|
|
log global
|
|
mode tcp
|
|
option tcplog
|
|
timeout connect 5s
|
|
timeout client 30s
|
|
timeout server 30s
|
|
|
|
frontend fe_bongo_smtp_test
|
|
bind 127.0.0.1:11025
|
|
default_backend be_bongo_smtp_test
|
|
|
|
backend be_bongo_smtp_test
|
|
server bongo 127.0.0.1:25 send-proxy-v2
|
|
|
|
frontend fe_bongo_submission_test
|
|
bind 127.0.0.1:11587
|
|
default_backend be_bongo_submission_test
|
|
|
|
backend be_bongo_submission_test
|
|
server bongo 127.0.0.1:587 send-proxy-v2
|
|
|
|
frontend fe_bongo_submissions_test
|
|
bind 127.0.0.1:11465
|
|
default_backend be_bongo_submissions_test
|
|
|
|
backend be_bongo_submissions_test
|
|
server bongo 127.0.0.1:465 send-proxy-v2
|
|
|
|
frontend fe_bongo_imap_test
|
|
bind 127.0.0.1:11143
|
|
default_backend be_bongo_imap_test
|
|
|
|
backend be_bongo_imap_test
|
|
server bongo 127.0.0.1:143 send-proxy-v2
|
|
|
|
frontend fe_bongo_imaps_test
|
|
bind 127.0.0.1:11993
|
|
default_backend be_bongo_imaps_test
|
|
|
|
backend be_bongo_imaps_test
|
|
server bongo 127.0.0.1:993 send-proxy-v2
|
|
|
|
frontend fe_bongo_pop3_test
|
|
bind 127.0.0.1:11110
|
|
default_backend be_bongo_pop3_test
|
|
|
|
backend be_bongo_pop3_test
|
|
server bongo 127.0.0.1:110 send-proxy-v2
|
|
|
|
frontend fe_bongo_pop3s_test
|
|
bind 127.0.0.1:11995
|
|
default_backend be_bongo_pop3s_test
|
|
|
|
backend be_bongo_pop3s_test
|
|
server bongo 127.0.0.1:995 send-proxy-v2
|
|
|
|
frontend fe_bongo_sieve_test
|
|
bind 127.0.0.1:14190
|
|
default_backend be_bongo_sieve_test
|
|
|
|
backend be_bongo_sieve_test
|
|
server bongo 127.0.0.1:4190 send-proxy-v2
|