make Postfix -> Dovecot delivery over LMTP (was LDA) (#305) (#360)

This commit is contained in:
Kai Ren 2016-10-24 16:03:08 +03:00 committed by Thomas VIAL
parent 50a3418d7f
commit a62062c382
6 changed files with 25 additions and 14 deletions

View file

@ -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 ]
}