youtous
3e3f5d557b
Update test/mail_dhparams_manual_one_dir.bats
...
Co-Authored-By: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2020-04-27 10:42:39 +02:00
youtous
27cbdeeb6a
Update test/mail_dhparams_default.bats
...
Co-Authored-By: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2020-04-27 10:42:24 +02:00
youtous
e680c349b1
test wait setup for // containers
2020-04-27 10:28:24 +02:00
youtous
149a10272c
improve dhe tests documentation
2020-04-27 09:57:36 +02:00
youtous
dff7355fa9
fix #1459
2020-04-26 23:07:34 +02:00
youtous
4d031f73e3
test dhparams ONE_DIR both cases
2020-04-26 22:25:48 +02:00
youtous
47fac2706f
use ffdhe4096 for DHE params
...
use by default ffdhe4096 for DHE params
use by default ffdhe4096 for DHE params
2020-04-26 22:23:51 +02:00
youtous
f60de0c66e
init tests cases ffdhe4096
2020-04-26 22:23:51 +02:00
youtous
bdcf5e0cf1
fix send mail test quota
...
fix quota warning test: wait for postfix to be UP
increase postfix restart delay
2020-04-24 19:03:27 +02:00
youtous
2e149b74c2
fix async quota tests
2020-04-24 17:03:09 +02:00
youtous
04de46dc41
test quota reached
2020-04-24 15:53:44 +02:00
youtous
2527ebfaf2
added dovecot quota feature
...
add postfix service quota check
check-for-changes on quotas
setquota command
fix checkforchanges quota
addquota verify user exists
add setquota in setup.sh
merging addquota into setquota
test quota commands
add ldap tests for dovecot quota
fix smtp only quota postfix rules
test postfix conf
add quota test integration
add quota exceeded test
add wait analyze
fix tests
fix setup typo
add test fixes
fix error output
wip
update startup rules
fix setup
fix setup tests
fix output commands
remove quota on remove user
try to fix sync limit mails
check if file exists
fix path
change used quota user
fix post size
check if quota file exists
update tests
configure virtualmailbox limit for dovecot
last fix
fix quota expr
relax dovecot tests
auto create dovecot-quotas
fix dovecot apply quota test
wip quota warning
trying to fix get dovadm quota
dovecot applies fix
fix quota warning lda path
test count mail on quota
fix quota warning permissiosn
fix test
2020-04-24 14:56:15 +02:00
Erik Wramner
dde6acd1a1
Search in rotated logs and limit to RelayedInbound
2020-01-26 21:05:24 +01:00
Erik Wramner
f342151b80
Fixed several amavis tests and removed commented code
2020-01-26 16:39:58 +01:00
Erik Wramner
42ccae2642
Test stop with a less central container than mail
2020-01-26 08:36:31 +01:00
Erik Wramner
27d66cf11f
Restored test removed by accident
2020-01-22 19:11:59 +01:00
Erik Wramner
881ac71601
Show delivered mails with more details in test
2020-01-20 21:59:34 +01:00
Erik Wramner
1c73290ba0
Show found and expected decoders in test
2020-01-19 09:20:50 +01:00
Erik Wramner
a66b2bff0c
Make test result easier to evaluate
2020-01-18 21:01:24 +01:00
Erik Wramner
2ad667209c
Merge pull request #1323 from ap-wtioit/master-remove_tty_necessity
...
fix: dont use TTY in docker if not present, rem TTY necessity in tests
2019-11-13 09:59:01 +01:00
Andreas Perhab
bbab4ef3fc
fix: fix test setup.sh debug fetchmail on wildcard domains
...
on hosts that belong to wildcard domains pop3.example.com might
actually resolve to pop3.example.com.[mydomain.com] and give a valid ip
the return code of fetchmail then no longer is 11 (dns failure) but
something else (2 for socket error in our case)
to make sure we always get return code 11 we use the domain name
pop3.example.com. that is not allowed to be resolved to a subdomain.
2019-11-12 15:35:03 +01:00
Andreas Perhab
d8be2bd3cc
fix: dont use TTY in docker if not present, rem TTY necessity in tests
...
Gitlab CI has not TTY present and TTY is not really required for
automated testing
2019-11-12 09:32:27 +01:00
Erik Wramner
c882d95deb
Merge pull request #1284 from vortex852456/master
...
Added optional file user-patches.sh for own patches without recompiling
2019-11-09 15:13:06 +01:00
Sebastian Kaiser
37540509dc
- test for user-patches.sh
2019-11-08 02:22:33 +01:00
Germain Masse
d764d89ea9
Test for DOVECOT_MAILBOX_FORMAT
2019-11-04 15:49:29 +00:00
Germain Masse
fa167a9e51
Test special-use folders are available in IMAP
2019-11-01 20:04:37 +00:00
Germain Masse
e465e659ad
Remove unnecessary maildir folders creation
2019-11-01 20:04:37 +00:00
vortex852456
34f52c6ad0
only "assert_success" for user-patches.sh check
2019-10-31 09:51:40 +01:00
Vortex
def8400c17
added default "user-patches.sh" to the first container "mail"
2019-10-31 09:01:44 +01:00
Vortex
437d3b74cc
added test for "checking configuration: user-patches.sh executed" - should fail with this commit
2019-10-31 02:38:45 +01:00
Felix Bartels
7ff9764285
Provide version information through labels ( #1256 )
...
* Provide version information through labels
Can be retrieved by calling e.g. `docker inspect -f {{.Config.Labels}} tvial/docker-mailserver:testing`
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* add build hook so that Docker Hub can work with the build args
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* remove obsolete build-no-cache
build args invalidate build cache already
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* adapt travis file
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* shellcheck
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-10-23 11:22:23 +02:00
Germain Masse
b34a79310a
Privacy test email no more tagged as SPAM. ClamAV and SA disabled to avoid time-out on low perf system
2019-10-14 13:25:44 +00:00
Martin Schulze
e2bbf12524
Tests fx: Also wait for smtp port
2019-10-08 23:39:04 +02:00
Martin Schulze
604a65024e
Tests: extract mail_privacy into own .bats file
2019-10-08 23:11:27 +02:00
Martin Schulze
533ac7ed29
Tests: extract mail_pop3 into own .bats file
2019-10-08 22:24:05 +02:00
Martin Schulze
81fd83525c
Tests: extract mail_smtponly into own .bats file
2019-10-08 22:15:27 +02:00
Martin Schulze
56f47db0f2
Tests: Extract mail_fail2ban into own .bats file
2019-10-08 22:03:56 +02:00
Martin Schulze
d05255cb04
Tests: Extract mail_fetchmail into own .bats file
2019-10-08 21:45:05 +02:00
Martin Schulze
a03c741e1b
Extract mail_manual_ssl into own .bats file
2019-10-08 21:36:13 +02:00
Martin Schulze
d3e2dfe3ba
Move mail_with_ldap into its own .bats file
2019-10-08 21:31:56 +02:00
Martin Schulze
d9a48878c9
Print last 10 log lines on container setup timeout
2019-09-12 00:43:44 +02:00
Martin Schulze
3f9dd4180a
Fix setup_file marker logic
2019-09-12 00:42:04 +02:00
Martin Schulze
a20f2c4199
Add pregenerated test/config dh params
2019-09-12 00:42:04 +02:00
Erik Wramner
ca821fa51a
Merge pull request #1259 from martin-schulze-vireso/bugfix/no_error_printed_on_timeout
...
Fix missing error output from timeout
2019-09-11 14:04:04 +02:00
Martin Schulze
3513944d0a
Skip all tests of file after failed setup_file
2019-09-11 01:01:51 +02:00
Martin Schulze
8e6152ff2f
Fix missing error output from timeout
...
The exits would prevent the printing code from running
2019-09-11 00:02:16 +02:00
Erik Wramner
8f23cb7b35
Adjust wait for tests as they often fail
2019-09-05 21:35:23 +02:00
Martin Schulze
596563ae64
Make failed test output more readable
2019-08-21 21:16:39 +02:00
Martin Schulze
bfc4f5693e
Don't use run in repeat_until_success_or_timeout
...
it overwrites the return code of its command
2019-08-17 21:23:48 +02:00
Martin Schulze
a933ef27ac
Fix polling with pipes
2019-08-17 20:58:33 +02:00