mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 09:34:33 +02:00
parent
50a3418d7f
commit
a62062c382
6 changed files with 25 additions and 14 deletions
|
@ -149,7 +149,7 @@
|
|||
}
|
||||
|
||||
@test "checking smtp: delivers mail to existing account" {
|
||||
run docker exec mail /bin/sh -c "grep 'status=sent (delivered via dovecot service)' /var/log/mail/mail.log | wc -l"
|
||||
run docker exec mail /bin/sh -c "grep 'postfix/lmtp' /var/log/mail/mail.log | grep 'status=sent' | grep ' Saved)' | wc -l"
|
||||
[ "$status" -eq 0 ]
|
||||
[ "$output" -eq 6 ]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue