Felix Bartels
a7408b73e0
Do not remove dh*.pem as they do not exist at this point in time
...
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-08-12 19:31:24 +02:00
Erik Wramner
b867532bf7
Merge pull request #1223 from erik-wramner/no_smtputf8
...
Disable SMTPUTF8 as Dovecot can't handle it
2019-08-11 21:36:31 +02:00
Erik Wramner
f5dac6e71c
Disable SMTPUTF8 as Dovecot can't handle it
2019-08-11 17:14:00 +02:00
Erik Wramner
a0ee229f00
Merge pull request #1222 from erik-wramner/no_sa_cron_when_sa_disabled
...
Remove spamassassin cron job when spamassassin is off
2019-08-11 10:18:07 +02:00
Erik Wramner
d6838e8274
Remove spamassassin cron job when spamassassin is off
2019-08-11 09:52:50 +02:00
Erik Wramner
9d7873850d
Move dovecot cert generation to startup
2019-08-10 10:15:35 +02:00
Erik Wramner
c9bd3f3e83
Added sleep to test that keeps failing randomly
2019-08-10 08:34:18 +02:00
Erik Wramner
fc8d684994
Generate dhparams at startup, not build
2019-08-09 22:13:50 +02:00
Erik Wramner
1903e98ef2
Merge pull request #1218 from romansey/fix-opendkim-multiple-nameservers
...
Fixed opendkim config on multiple nameservers
2019-08-09 10:58:16 +02:00
Roman Seyffarth
5eb0d5ffa6
Fixed opendkim config on multiple nameservers
2019-08-09 09:04:43 +02:00
Erik Wramner
c5a61ca9bb
Merge pull request #1215 from martin-schulze-vireso/bugfix/test_PERMIT_DOCKER_connected-networks
...
Test PERMIT_DOCKER=connected-networks by sending an email from second network
2019-08-08 12:14:24 +02:00
Martin Schulze
41dfe43c71
Remove code duplication
2019-08-07 22:03:17 +02:00
Martin Schulze
d712a29baf
Check for PERMIT_DOCKER correct postfix settings
2019-08-07 21:45:52 +02:00
Martin Schulze
fcce47a392
WIP: actually test PERMIT_DOCKER=connected-networks
...
also showcase timeouts and makefile integration
2019-08-07 02:24:56 +02:00
Felix Bartels
eb988aba43
Merge pull request #1209 from fbartels/bats-update
...
update bats to latest version
2019-08-06 09:30:14 +02:00
Felix Bartels
83b4cda0bf
update bats to latest version
2019-08-05 21:40:09 +02:00
Erik Wramner
41921f82aa
Merge pull request #1205 from j-marz/opendkim_nameserver
...
set Nameservers in opendkim.conf at start-up
2019-08-04 18:54:08 +02:00
Erik Wramner
8fb9a57809
Merge pull request #1185 from martin-schulze-vireso/master
...
Add PERMIT_DOCKER=connected-networks
2019-08-04 18:52:02 +02:00
j-marz
2f0e516d42
added test to check for nameservers in opendkim.conf
2019-08-04 20:29:39 +10:00
Martin Schulze
63c909da42
Update to test-files, ignore cleanup return code
2019-08-04 10:47:17 +02:00
Martin Schulze
9c1a5d76af
Fix tests for PERMIT_DOCKER=connected-networks
2019-08-03 20:49:10 +02:00
Erik Wramner
73fad9fdac
Merge pull request #1203 from j-marz/fail2ban_whois
...
install whois package for use with fail2ban
2019-08-03 13:19:49 +02:00
j-marz
8a1584c3cb
set Nameservers in opendkim.conf at start-up
2019-08-03 15:26:44 +10:00
Martin Schulze
234632913e
Add PERMIT_DOCKER=connected-networks
2019-08-02 15:05:00 +02:00
Erik Wramner
33c85d75ad
Merge pull request #1201 from erik-wramner/fix_1197_setup_in_tests
...
Fix 1197 random test failures
2019-08-02 08:38:55 +02:00
Erik Wramner
81e9c7dcff
Protect user db with flock
2019-08-01 19:39:25 +02:00
Erik Wramner
d6861881ab
Parse logs to ensure changes are processed
2019-08-01 15:24:47 +02:00
j-marz
2107793f7f
install whois package for use with fail2ban action_mwl email notification
2019-08-01 21:37:02 +10:00
Erik Wramner
ec4661194b
Compute checksum after possible in-place sed changes
2019-08-01 12:05:48 +02:00
Erik Wramner
7f3e5a22e1
Create checksums in start script, avoid race condition
2019-08-01 09:58:22 +02:00
Erik Wramner
21c89b3364
Added TODO as per code review and removed one sleep
2019-07-31 12:59:49 +02:00
Erik Wramner
573609e011
Put checksum file in /tmp as suggested in code review
2019-07-31 12:56:18 +02:00
Erik Wramner
b23a7ddc1c
Added newline as suggested in code review
2019-07-31 10:43:12 +02:00
Erik Wramner
37708b5787
Added comment explaining chksum file location
2019-07-31 10:41:32 +02:00
Erik Wramner
311bdfa1ba
Keep checksum file outside shared/mounted area
2019-07-30 16:10:51 +02:00
Erik Wramner
f849b46462
Moved test files and mounted read-only
2019-07-30 16:10:51 +02:00
Erik Wramner
566c28555a
Revert "Sync after update to make sure changes propagate to host"
...
This reverts commit 66711cfe5d33a9ce5ae3d78e7b7c04e68edf1571.
2019-07-30 16:10:51 +02:00
Erik Wramner
b58fd30c0a
Sync after update to make sure changes propagate to host
2019-07-30 16:10:51 +02:00
Erik Wramner
e47c73f789
Wait and retry if pre-defined user login fails
2019-07-30 16:10:51 +02:00
Erik Wramner
1f298e3a76
Wait and retry if added user fails to login in tests
2019-07-30 16:10:51 +02:00
Erik Wramner
7299be1284
Split tests to find out why they fail
2019-07-30 16:10:51 +02:00
Erik Wramner
f01102fd34
Connect to running container if -c is used
2019-07-30 16:10:51 +02:00
Erik Wramner
f21bffe322
Fix 1198 freshclam ( #1199 )
...
* Run freshclam as clamav user not root
* Remove freshclam cron job when clamav is disabled
2019-07-29 11:15:49 +02:00
dimalo
70cbfa352b
FIX: escape symbols in cron command ( #1200 )
2019-07-29 11:15:21 +02:00
j-marz
42675ba7ad
Fixed self-signed cert generation ( #1183 )
...
Added optional FQDN arguement to setup.sh script which avoids using temporary container hostname for cert names. Also fixed issue with certs being saved outside config volume
2019-07-29 11:14:36 +02:00
Torben Weibert
cba6b07391
Allow postfix master.cf overrides to start with numbers, not only characters ( #1190 )
2019-07-24 15:11:00 +02:00
j-marz
c3e7ecc773
Replace ENV with ARG for DEBIAN_FRONTEND ( #1180 )
...
Best practice suggests not using ENV for this setting as it persists after build. ARG is only set during build.
2019-07-24 14:48:59 +02:00
Michael Schmoock
ba06cf5bf4
Adds docker image update to restart section in README ( #1178 )
2019-07-24 14:06:31 +02:00
Felix Bartels
99cbd7066a
add test artifacts to gitignore and clean target of makefile ( #1196 )
...
* add test artifacts to gitignore and clean target of makefile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
* ignore all of test/ during docker build
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-07-24 13:38:01 +02:00
Erik Wramner
8c92c918a9
Fix Dovecot SSL parameters and generate dhparams as for Postfix ( #1177 )
...
* Fix Dovecot SSL parameters and generate dhparams as for Postfix
* Fixed broken unit tests
2019-07-23 16:13:40 +02:00