Remove obsolete comments, reset timeout value to old one, added new lines

This commit is contained in:
Johan Smits 2017-07-30 19:08:17 +02:00
parent c3da995b99
commit 7370b90add
8 changed files with 13 additions and 10 deletions

View File

@ -183,3 +183,4 @@ EXPOSE 25 587 143 993 110 995 4190
CMD supervisord -c /etc/supervisor/supervisord.conf
ADD target/filebeat.yml.tmpl /etc/filebeat/filebeat.yml.tmpl

View File

@ -138,7 +138,6 @@ run:
-e POSTMASTER_ADDRESS=postmaster@localhost.localdomain \
-e DMS_DEBUG=0 \
-h mail.my-domain.com -t $(NAME)
# Wait for containers to fully start
sleep 15
docker run -d --name mail_lmtp_ip \
-v "`pwd`/test/config":/tmp/docker-mailserver \
@ -188,7 +187,7 @@ fixtures:
docker exec mail_override_hostname /bin/sh -c "nc 0.0.0.0 25 < /tmp/docker-mailserver-test/email-templates/existing-user1.txt"
# Wait for mails to be analyzed
sleep 40
sleep 20
tests:
# Start tests

View File

@ -31,3 +31,4 @@ sleep 5
while kill -0 "`cat /var/run/fail2ban/fail2ban.pid`"; do
sleep 5
done

View File

@ -31,3 +31,4 @@ sleep 5
while kill -0 "`cat /var/spool/postfix/pid/master.pid`"; do
sleep 5
done

View File

@ -1158,12 +1158,10 @@ function _start_daemons_dovecot() {
if [ "$ENABLE_POP3" = 1 ]; then
notify 'task' 'Starting pop3 services' 'n'
mv /etc/dovecot/protocols.d/pop3d.protocol.disab /etc/dovecot/protocols.d/pop3d.protocol
# /usr/sbin/dovecot reload
fi
if [ -f /tmp/docker-mailserver/dovecot.cf ]; then
cp /tmp/docker-mailserver/dovecot.cf /etc/dovecot/local.conf
# /usr/sbin/dovecot reload
fi
supervisorctl start dovecot

View File

@ -42,3 +42,4 @@ stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
command=/usr/sbin/saslauthd -d -a shadow -O %(ENV_SASLAUTHD_MECH_OPTIONS)s
pidfile=/var/run/saslauthd/saslauthd.pid

View File

@ -113,3 +113,4 @@ autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
command=/usr/local/bin/postfix-wrapper.sh

View File

@ -1233,3 +1233,4 @@ load 'test_helper/bats-assert/load'
run docker exec mail_with_ldap /bin/bash -c "pkill saslauthd && sleep 10 && ps aux --forest | grep -v grep | grep '/usr/sbin/saslauthd'"
assert_success
}