Fixes #546 & #560 - comments and new lines should not be parsed (#562)

* Fixes #546 & #560 - comments and new lines should not be parsed
This commit is contained in:
Thomas VIAL 2017-03-28 10:59:02 +02:00 committed by GitHub
parent fe8287f60a
commit 912cb5676b
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,5 @@
recipient_delimiter = ~
max_idle = 600s
# this is a comment
readme_directory = /tmp

View file

@ -346,6 +346,11 @@ load 'test_helper/bats-assert/load'
assert_output 7
}
@test "checking accounts: comments are not parsed" {
run docker exec mail /bin/bash -c "ls /var/mail | grep 'comment'"
assert_failure
}
#
# postfix
#