mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
Use the guidelines from Ubuntu and added some more. Added a test to ensure the number of decoders are present. Guideline: https://help.ubuntu.com/community/PostfixAmavisNew
This commit is contained in:
parent
c9e5a92db3
commit
8b19d54218
2 changed files with 22 additions and 1 deletions
|
@ -791,6 +791,13 @@ load 'test_helper/bats-assert/load'
|
|||
assert_failure
|
||||
}
|
||||
|
||||
@test "checking system: amavis decoders installed and available" {
|
||||
run docker exec mail /bin/sh -c "grep -E '.*(Internal decoder|Found decoder) for\s+\.(mail|Z|gz|bz2|xz|lzma|lrz|lzo|lz4|rpm|cpio|tar|deb|rar|arj|arc|zoo|doc|cab|tnef|zip|kmz|7z|jar|swf|lha|iso|exe).*' /var/log/mail/mail.log|wc -l"
|
||||
assert_success
|
||||
assert_output 28
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# sieve
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue