added tls support
This commit is contained in:
parent
2cd079cd11
commit
d046022544
|
|
@ -92,6 +92,7 @@ Passbolt docker image provides several environment variables to configure differ
|
||||||
* email_timeout: timeout ( defaults to 30s)
|
* email_timeout: timeout ( defaults to 30s)
|
||||||
* email_username: username for email server auth ( defaults to email_user)
|
* email_username: username for email server auth ( defaults to email_user)
|
||||||
* email_password: password for email server auth ( defaults to email_password)
|
* email_password: password for email server auth ( defaults to email_password)
|
||||||
|
* email_tls: set tls, boolean ( defaults to false)
|
||||||
|
|
||||||
## Advanced configuration
|
## Advanced configuration
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ email_setup() {
|
||||||
sed -i s:$default_timeout:${email_timeout:-30}:g $email_config
|
sed -i s:$default_timeout:${email_timeout:-30}:g $email_config
|
||||||
sed -i "0,/"$default_username"/s:"$default_username":'${email_username:-email_user}':" $email_config
|
sed -i "0,/"$default_username"/s:"$default_username":'${email_username:-email_user}':" $email_config
|
||||||
sed -i "0,/"$default_password"/s:"$default_password":'${email_password:-email_password}':" $email_config
|
sed -i "0,/"$default_password"/s:"$default_password":'${email_password:-email_password}':" $email_config
|
||||||
|
sed -i "0,/tls/s:false:'${email_tls:-false}':" $email_config
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue