Removed SMTP/IMAP port variables, exposed ports.

This commit is contained in:
michael 2020-05-22 11:26:10 -05:00
parent 4c35ecad32
commit c6bc75bb21
3 changed files with 4 additions and 6 deletions

View file

@ -13,7 +13,7 @@ export HOME=/var/lib/proton
# The ProtonMail Bridge expects connections from 127.0.0.1. Use socat to
# redirect incoming connections to localhost. Also, this allows us to use
# the default SMTP/IMAP ports.
socat TCP-LISTEN:$SMTP_PORT,fork TCP:127.0.0.1:1025 &
socat TCP-LISTEN:$IMAP_PORT,fork TCP:127.0.0.1:1143 &
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 &
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 &
exec /sbin/su-exec proton "$@"