Added setcap command.
This commit is contained in:
parent
df05267583
commit
e523a8b15d
2 changed files with 6 additions and 3 deletions
|
|
@ -13,6 +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.
|
||||
setcap 'cap_net_bind_service=+ep' /usr/bin/socat
|
||||
socat TCP-LISTEN:25,fork TCP:127.0.0.1:1025 &
|
||||
socat TCP-LISTEN:143,fork TCP:127.0.0.1:1143 &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue