Add tests for SASL_PASSWD
This commit is contained in:
parent
ec5837d496
commit
53959b8eae
1
Makefile
1
Makefile
|
@ -19,6 +19,7 @@ run:
|
||||||
-e SA_TAG=1.0 \
|
-e SA_TAG=1.0 \
|
||||||
-e SA_TAG2=2.0 \
|
-e SA_TAG2=2.0 \
|
||||||
-e SA_KILL=3.0 \
|
-e SA_KILL=3.0 \
|
||||||
|
-e SASL_PASSWD=testing \
|
||||||
-h mail.my-domain.com -t $(NAME)
|
-h mail.my-domain.com -t $(NAME)
|
||||||
docker run -d --name mail_pop3 \
|
docker run -d --name mail_pop3 \
|
||||||
-v "`pwd`/postfix":/tmp/postfix \
|
-v "`pwd`/postfix":/tmp/postfix \
|
||||||
|
|
|
@ -105,6 +105,11 @@
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "checking sasl: sasl_passwd.db exists" {
|
||||||
|
run docker exec mail [ -f /etc/postfix/sasl_passwd.db ]
|
||||||
|
[ "$status" -eq 0 ]
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# smtp
|
# smtp
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue