add pmb build and pgp stuff
Some checks are pending
Test / build (push) Waiting to run

This commit is contained in:
2024-07-07 10:12:32 -07:00
parent 7a958d4382
commit c65f98a437
4 changed files with 57 additions and 5 deletions

12
run.sh
View File

@@ -2,6 +2,17 @@
[ "${DEBUG}" == "yes" ] && set -x
# GPG Area
#exec gpg-agent --daemon --batch --disable-scdaemon
gpg-agent --daemon --batch --disable-scdaemon
# Postfix area
function add_config_value() {
local key=${1}
local value=${2}
@@ -35,6 +46,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
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"
add_config_value "smtp_sasl_security_options" "noanonymous"