more changes in dot-kuvert.docker; bugfix in run.sh

tmp
rysiek 2017-02-23 16:59:31 +01:00
parent d6cf29c9ec
commit dc8f4ee102
2 changed files with 16 additions and 16 deletions

View File

@ -34,31 +34,31 @@ preamble f
# ssl-cert, ssl-key, ssl-ca;
# authenticating as msuser, mspass
#
# msserver smtp.example.com
# msport 587
# ssl starttls
msserver smtp.example.com
msport 587
ssl starttls
# ssl-key mycerts/my.key.pem
# ssl-cert mycerts/my.cert.pem
# msuser smtp-username
# mspass smtp-password
# mspass-from-query-secret f
msuser kuvert@example.com
mspass smtp-password
mspass-from-query-secret f
#
# 2. by using the msp program
#
msp /usr/sbin/sendmail -om -oi -oem
#msp /usr/sbin/sendmail -om -oi -oem
can-detach f
# maport 2587
# ma-user yourname
# ma-pass somethingSECRET
maport 2587
ma-user kuvert
ma-pass ChangeMe
defaultaction fallback-all
alwaystrust t
use-agent t
query-secret /usr/bin/q-agent get %s
flush-secret /usr/bin/q-agent delete %s
use-agent f
#query-secret /usr/bin/q-agent get %s
#flush-secret /usr/bin/q-agent delete %s
# action specifications for recipients
# are given with some leading whitespace

6
run.sh
View File

@ -127,9 +127,9 @@ chown -R "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_LOGS_DIR"
chown -R "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_QUEUE_DIR"
chown -R "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_CONFIG_DIR"
echo " +-- changing permissions..."
chmod -R u=rwX,g=rX,o= "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_LOGS_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_QUEUE_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_CONFIG_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_LOGS_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_QUEUE_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_CONFIG_DIR"
#
# kuvert explicitly expects the config file to be ~/.kuvert, so we need to link it to the actual config file,