mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-31 15:30:50 +02:00
Clamav, Imap, Pop3, Dovecot, Postfix services are now logging into
/var/log/mail directory. Fail2ban jails and logrotate config files have been updated accordingly. Integration tests have been extended to include a check of the new path.
This commit is contained in:
parent
25ac07cae7
commit
c2881024c7
2 changed files with 13 additions and 0 deletions
|
@ -115,6 +115,16 @@
|
|||
[ "$status" -eq 0 ]
|
||||
}
|
||||
|
||||
#
|
||||
# logs
|
||||
#
|
||||
|
||||
@test "checking logs: mail related logs should be located in a subdirectory" {
|
||||
run docker exec mail /bin/sh -c "ls -1 /var/log/mail/ | grep -E 'clamav|freshclam|mail'|wc -l"
|
||||
[ "$status" -eq 0 ]
|
||||
[ "$output" = 3 ]
|
||||
}
|
||||
|
||||
#
|
||||
# smtp
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue