Commit graph

791 commits

Author SHA1 Message Date
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
Erik Wramner 60a7b07d15
Merge pull request #1324 from ap-wtioit/master-fix_fetchmail_test_domain
fix: fix test setup.sh debug fetchmail on wildcard domains
2019-11-13 09:54:44 +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 52c8e1dbb0
Merge pull request #1319 from erik-wramner/add_dovecot_solr_issue_905
Added dovecot-solr for full text search. Only package, config to be done separately.
2019-11-10 13:13:30 +01:00
Erik Wramner 5da23c066d Added dovecot-solr for full text search 2019-11-10 10:14: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
vortex852456 ce0ec4b4a9
Update user-patches.sh.dist
Removed exclamation marker for consistency
2019-11-08 12:24:28 +01:00
Sebastian Kaiser 37540509dc - test for user-patches.sh 2019-11-08 02:22:33 +01:00
Erik Wramner bcfbb0de03
Merge pull request #1314 from gmasse/mailbox-format
New option DOVECOT_MAILBOX_FORMAT.
2019-11-06 09:32:23 +01:00
Germain Masse 36afac7726 New option DOVECOT_MAILBOX_FORMAT 2019-11-04 15:49:29 +00:00
Germain Masse d764d89ea9 Test for DOVECOT_MAILBOX_FORMAT 2019-11-04 15:49:29 +00:00
Erik Wramner 92fabd3d9a
Merge pull request #1312 from dkarski/patch-1
Update README.md
2019-11-02 09:13:14 +01:00
Erik Wramner 15ad3e9ee9
Merge pull request #1311 from gmasse/issue-1296
Removing unnecessary maildir folders creation.
2019-11-02 09:12:18 +01:00
Daniel Karski 0b9bbc79b8
Update README.md
link FAQ
2019-11-02 06:46:35 +01:00
Germain Masse be907b2d91 Minor comment fix 2019-11-01 20:07:45 +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
vortex852456 2801a6a801
Update Makefile
added missing qoute
2019-10-31 09:30:05 +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
Erik Wramner 58ad56edda
Merge pull request #1307 from eliroca/patch-1
fix typo
2019-10-30 07:53:40 +01:00
Elisei Roca 4b40db04bc
fix typo 2019-10-29 20:16:54 +01:00
Erik Wramner e46d0baf7d
Merge pull request #1306 from erik-wramner/fix_1224_system_requirements
Updated system requirements, see #1224
2019-10-28 13:56:51 +01:00
Erik Wramner c6b19bd80a Updated system requirements, see #1224 2019-10-28 13:55:18 +01:00
Erik Wramner 2424aa41d8
Merge pull request #1305 from erik-wramner/fix_1300_log_permissions
Set expected permissions in log #1300
2019-10-27 10:28:47 +01:00
Erik Wramner 37e0082cd7 Set expected permissions in log #1300 2019-10-27 09:22:16 +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
Felix Bartels 1029777ffa
Merge pull request #1302 from fbartels/editorconfig
update editorconfig to make code more consistent
2019-10-23 09:49:41 +02:00
Felix Bartels f68eee1bb0 update editorconfig to make code more consistent
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-10-23 08:29:16 +02:00
Erik Wramner e2d1c2bf69
Merge pull request #1299 from ap-wtioit/patch-1
Add a hint to run make clean all
2019-10-21 10:22:23 +02:00
Andreas Perhab 59251a5e34
Add a hint to run make clean all
If developers only run make when there is a test failure the clean may not run, so 'make clean all' should be the safe mode to run the tests.
2019-10-18 14:42:00 +02:00
Erik Wramner 3d27cad6f2
Merge pull request #1298 from hack2root/patch-1
Update README.md with new required file for docker-compose.
2019-10-18 08:26:58 +02:00
Artur Mustafin f50cf3ecb4
Update README.md
added command for required file to run docker-compose  up -d mail
2019-10-17 18:53:32 +03:00
Vortex 5e6969e594 Renamed the sample script in config, as it will be called if people make a copy. Better create a sample file with another name that has to be renamed to activate it. 2019-10-17 13:13:20 +02:00
Vortex c30c3bf5de moved user_patches from misc to nearly the end of setups 2019-10-16 18:56:06 +02:00
Erik Wramner 2f1afe4e7c
Merge pull request #1293 from gmasse/fix-test-remove-privacy
[Test] "remove privacy details of the sender" misbehavior
2019-10-16 11:42:21 +02:00
Germain Masse 4049b62bc0 Revert "remove travis notification"
This reverts commit b204f7d14c.
2019-10-16 08:58:20 +00:00
Germain Masse b204f7d14c remove travis notification 2019-10-14 15:30:22 +00: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
Erik Wramner 711a3f8e1e
Merge pull request #1287 from martin-schulze-vireso/feature/extract_even_more_tests
Looks good and no WIP in title, I'll merge it.
2019-10-09 08:13:29 +02: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
Daniel Dobko e441f1318a Tests should work from now on
Merge branch 'user-patches.sh'

# Conflicts:
#	config/user-patches.sh
#	target/start-mailserver.sh
2019-10-08 21:55:46 +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