Fixed tests
This commit is contained in:
parent
39e2fe9394
commit
f73e295a67
|
@ -33,9 +33,9 @@ $enable_global_cache = 1; # enable use of libdb-based cache if $enable_db=1
|
|||
$inet_socket_port = 10024; # default listening socket
|
||||
|
||||
$sa_spam_subject_tag = '***SPAM*** ';
|
||||
$sa_tag_level_deflt = 1.0; # add spam info headers if at, or above that level
|
||||
$sa_tag2_level_deflt = 2.0; # add 'spam detected' headers at that level
|
||||
$sa_kill_level_deflt = 3.0; # triggers spam evasive actions
|
||||
$sa_tag_level_deflt = 2.0; # add spam info headers if at, or above that level
|
||||
$sa_tag2_level_deflt = 6.31; # add 'spam detected' headers at that level
|
||||
$sa_kill_level_deflt = 6.31; # triggers spam evasive actions
|
||||
$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent
|
||||
|
||||
$sa_mail_body_size_limit = 200*1024; # don't waste time on SA if mail is larger
|
||||
|
|
|
@ -263,7 +263,7 @@ load 'test_helper/bats-assert/load'
|
|||
@test "checking smtp: delivers mail to existing account" {
|
||||
run docker exec mail /bin/sh -c "grep 'postfix/lmtp' /var/log/mail/mail.log | grep 'status=sent' | grep ' Saved)' | wc -l"
|
||||
assert_success
|
||||
assert_output 7
|
||||
assert_output 8
|
||||
}
|
||||
|
||||
@test "checking smtp: delivers mail to existing alias" {
|
||||
|
|
Loading…
Reference in New Issue