mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-20 16:15:58 +02:00
docs: Adjust PROXY Protocol port names (#4511)
Some checks are pending
Some checks are pending
This commit is contained in:
parent
ade4ef528e
commit
eb87c88339
1 changed files with 6 additions and 6 deletions
|
@ -258,7 +258,7 @@ The below guidance is focused on configuring [Traefik][traefik-web], but the adv
|
|||
# Create a variant for port 25 too (NOTE: Port 10025 is already assigned in DMS to Amavis):
|
||||
postconf -Mf smtp/inet | sed -e s/^smtp/12525/ >> /etc/postfix/master.cf
|
||||
# Enable PROXY Protocol support (different setting as port 25 is handled via postscreen), optionally configure a `syslog_name` to distinguish in logs:
|
||||
postconf -P 12525/inet/postscreen_upstream_proxy_protocol=haproxy 12525/inet/syslog_name=smtp-proxyprotocol
|
||||
postconf -P 12525/inet/postscreen_upstream_proxy_protocol=haproxy 12525/inet/syslog_name=postfix/smtpd-proxyprotocol
|
||||
```
|
||||
|
||||
Supporting port 25 with an additional PROXY protocol port will also require a `postfix-main.cf` override line for `postscreen` to work correctly:
|
||||
|
@ -279,12 +279,12 @@ The below guidance is focused on configuring [Traefik][traefik-web], but the adv
|
|||
haproxy_trusted_networks = 172.16.42.2
|
||||
|
||||
service imap-login {
|
||||
inet_listener imap-proxied {
|
||||
inet_listener imap-proxyprotocol {
|
||||
haproxy = yes
|
||||
port = 10143
|
||||
}
|
||||
|
||||
inet_listener imaps-proxied {
|
||||
inet_listener imaps-proxyprotocol {
|
||||
haproxy = yes
|
||||
port = 10993
|
||||
ssl = yes
|
||||
|
@ -292,12 +292,12 @@ The below guidance is focused on configuring [Traefik][traefik-web], but the adv
|
|||
}
|
||||
|
||||
service pop3-login {
|
||||
inet_listener pop3-proxied {
|
||||
inet_listener pop3-proxyprotocol {
|
||||
haproxy = yes
|
||||
port = 10110
|
||||
}
|
||||
|
||||
inet_listener pop3s-proxied {
|
||||
inet_listener pop3s-proxyprotocol {
|
||||
haproxy = yes
|
||||
port = 10995
|
||||
ssl = yes
|
||||
|
@ -305,7 +305,7 @@ The below guidance is focused on configuring [Traefik][traefik-web], but the adv
|
|||
}
|
||||
|
||||
service managesieve-login {
|
||||
inet_listener sieve-proxied {
|
||||
inet_listener sieve-proxyprotocol {
|
||||
haproxy = yes
|
||||
port = 14190
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue