Removed SMTP/IMAP port variables, exposed ports.
This commit is contained in:
parent
4c35ecad32
commit
c6bc75bb21
3 changed files with 4 additions and 6 deletions
|
|
@ -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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue