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; # ssl-cert, ssl-key, ssl-ca;
# authenticating as msuser, mspass # authenticating as msuser, mspass
# #
# msserver smtp.example.com msserver smtp.example.com
# msport 587 msport 587
# ssl starttls ssl starttls
# ssl-key mycerts/my.key.pem # ssl-key mycerts/my.key.pem
# ssl-cert mycerts/my.cert.pem # ssl-cert mycerts/my.cert.pem
# msuser smtp-username msuser kuvert@example.com
# mspass smtp-password mspass smtp-password
# mspass-from-query-secret f mspass-from-query-secret f
# #
# 2. by using the msp program # 2. by using the msp program
# #
msp /usr/sbin/sendmail -om -oi -oem #msp /usr/sbin/sendmail -om -oi -oem
can-detach f can-detach f
# maport 2587 maport 2587
# ma-user yourname ma-user kuvert
# ma-pass somethingSECRET ma-pass ChangeMe
defaultaction fallback-all defaultaction fallback-all
alwaystrust t alwaystrust t
use-agent t use-agent f
query-secret /usr/bin/q-agent get %s #query-secret /usr/bin/q-agent get %s
flush-secret /usr/bin/q-agent delete %s #flush-secret /usr/bin/q-agent delete %s
# action specifications for recipients # action specifications for recipients
# are given with some leading whitespace # 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_QUEUE_DIR"
chown -R "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_CONFIG_DIR" chown -R "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_CONFIG_DIR"
echo " +-- changing permissions..." 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_LOGS_DIR"
chmod -R u=rwX,g=rX,o= "$KUVERT_USER":"$KUVERT_GROUP" "$KUVERT_QUEUE_DIR" chmod -R u=rwX,g=rX,o= "$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_CONFIG_DIR"
# #
# kuvert explicitly expects the config file to be ~/.kuvert, so we need to link it to the actual config file, # kuvert explicitly expects the config file to be ~/.kuvert, so we need to link it to the actual config file,