This commit is contained in:
14
run.sh
14
run.sh
@@ -2,16 +2,13 @@
|
||||
|
||||
[ "${DEBUG}" == "yes" ] && set -x
|
||||
|
||||
# GPG Area
|
||||
#exec gpg-agent --daemon --batch --disable-scdaemon
|
||||
# GPG/PMB Area -------------------
|
||||
gpg-agent --daemon --batch --disable-scdaemon
|
||||
# ProtonMail bridge has really bad timeout/retry logic:
|
||||
sleep 2
|
||||
/pmb/bridge -n &
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Postfix area
|
||||
# Postfix area ------------------
|
||||
|
||||
function add_config_value() {
|
||||
local key=${1}
|
||||
@@ -46,6 +43,7 @@ add_config_value "myorigin" '$mydomain'
|
||||
add_config_value "relayhost" "[${SMTP_SERVER}]:${SMTP_PORT}"
|
||||
add_config_value "smtp_use_tls" "yes"
|
||||
if [ ! -z "${SMTP_USERNAME}" ]; then
|
||||
# Following line added for proton bridge
|
||||
add_config_value "smtp_sasl_mechanism_filter" "login"
|
||||
add_config_value "smtp_sasl_auth_enable" "yes"
|
||||
add_config_value "smtp_sasl_password_maps" "lmdb:/etc/postfix/sasl_passwd"
|
||||
|
||||
Reference in New Issue
Block a user