Commit graph

836 commits

Author SHA1 Message Date
Wandrille RONCE d148eeddfb Add an option to place spam in the inbox, and then sort the mail by a sieve rule for example 2020-03-16 18:47:24 +01:00
Rainer Rillke bcb7f40260 README, env file: Warn about open relay configuration
Addresses: #1405
2020-03-16 18:46:57 +01:00
Casper 30c57b944b Allow calling setup.sh from other scripts
Calling setup.sh from other scripts fails, for example when adding a new mailbox:

    the input device is not a TTY
2020-03-16 18:46:44 +01:00
Robert Pufky d3f7c56cdf Fix broken fail2ban dovecot filter; use <HOST> instead of undocumented feature.
* Replace deprecated, undocumented fail2ban feature "(\P<host>\S*)" with
  supported host match "<HOST>".
* Fixes "No failure-id group in '(?: pop3-login|ima ..." fail2ban dovecot filter
  error message.
* See: https://github.com/fail2ban/fail2ban/issues/2130
2020-03-16 18:45:22 +01:00
Erik Wramner d03f9c8b8d
Merge pull request #1384 from erik-wramner/debian-buster
Debian buster
2020-01-28 07:22:41 +01: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 a208748ea2 Configure amavis with D_BOUNCE for spam 2020-01-26 08:34:40 +01:00
Erik Wramner 85ae8a1471 Fix fail2ban issues and install some suggested amavis packages 2020-01-25 15:33:06 +01:00
Erik Wramner 91b2c9834e Upgrade to buster and remove filebeat 2020-01-25 15:33:06 +01:00
Erik Wramner 27d66cf11f Restored test removed by accident 2020-01-22 19:11:59 +01:00
Erik Wramner 2a6d8ca6fa
Merge pull request #1377 from tweibert/bugfix-sievepipepermissions
Add executable flag for scripts in /usr/lib/dovecot/sieve-pipe
2020-01-22 19:04:35 +01:00
Torben Weibert ca16307729 Added -f flag to chmod command to suppress error when no sieve-pipe scripts exist 2020-01-21 22:18:00 +01:00
Torben Weibert 70d87f5119 Add executable flag for scripts in /usr/lib/dovecot/sieve-pipe 2020-01-21 18:18:16 +01:00
Erik Wramner f6f5a28bec
Merge pull request #1375 from erik-wramner/better_test_failures
Better test failures to prepare for debian branch (where these tests fail).
2020-01-21 08:28:43 +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 3dd57daf1f
Merge pull request #1374 from erik-wramner/document_bare_domains_968
Added FAQ for bare domains #968
2020-01-18 12:23:40 +01:00
Erik Wramner e4f8bac6d1 Added FAQ for bare domains #968 2020-01-18 11:42:23 +01:00
Erik Wramner 803bed51fe Removed file probably added by accident 2020-01-18 09:16:38 +01:00
Lukas Elsner b476118514 remove not needed log files after build 2020-01-15 20:29:21 +01:00
Erik Wramner ae2aa6eeb4
Merge pull request #1372 from phish108/shortcircuit-bayes-99-mini
activate SA shortcircuit features via env, fixes #1118 (again)
2020-01-15 07:28:00 +01:00
Christian P. Glahn 739043d501 fixed a typo in the bayes shortcircuit docu 2020-01-14 22:08:17 +01:00
Erik Wramner 00702f8fcd
Merge pull request #1367 from mindrunner/fix/logwatch
fix clamav issue in logwatch
2020-01-14 21:33:56 +01:00
Lukas Elsner 35df764107 fix clamav issue in logwatch 2020-01-13 17:58:34 -05:00
Christian Glahn b8726b80a4 activate SA shortcircuit features via env, fixes #1118 2020-01-13 14:22:14 +01:00
Erik Wramner a559631641
Merge pull request #1365 from erik-wramner/fix_vcs_version_1364
Generate correct VCS_VERSION #1364
2020-01-12 13:02:23 +01:00
Erik Wramner d7c8810c65 Generate correct VCS_VERSION #1364 2020-01-12 12:09:29 +01:00
Erik Wramner f69d30f62a
Merge pull request #1344 from erik-wramner/fix_1336_docker_inspect
Only use docker inspect with container name #1336
2019-12-22 10:43:28 +01:00
Erik Wramner 167b38df76 Only use docker inspect with container name #1336 2019-12-22 09:37:58 +01:00
Erik Wramner d847be2d5a
Merge pull request #1331 from Tecnativa/srs-sender-classes
Allow to configure SRS sender classes easily
2019-12-06 07:22:46 +01:00
Erik Wramner e08274a87d
Merge pull request #1332 from Tecnativa/amavis-touch-vhost
Avoid infinite failure log in Amavis with SMTP_ONLY=1
2019-12-06 07:20:29 +01:00
Erik Wramner e563ba8b72
Merge pull request #1333 from Tecnativa/readme-improved
Document plus addressing and DEFAULT_RELAY_HOST format
2019-12-06 07:19:12 +01:00
Jairo Llopis ce8c1734e6
Document plus addressing and DEFAULT_RELAY_HOST format
These are a couple of things that work but got me losing lots of hours. Let me add them to README:

1. Fix #1330 explaining that plus addressing works out of the box.
2. Explain that DEFAULT_RELAY_HOST will fail to authenticate with RELAY_USER and RELAY_PASSWORD if you forgot the brackets.

@Tecnativa TT20505
2019-12-03 13:52:26 +00:00
Jairo Llopis 7f1bc8f8b3
Avoid infinite failure log in Amavis with SMTP_ONLY=1
Fix #801 by simply touching the file if it doesn't exist.

@Tecnativa TT20505
2019-12-03 13:43:43 +00:00
Jairo Llopis 42348ff353
Allow to configure SRS sender classes easily
This will allow to forward safely any email from any host, no matter how strict their SPF policy is, by setting `SRS_SENDER_CLASSES=envelope_sender,header_sender`.

@Tecnativa TT20505
2019-12-03 13:33:51 +00:00
Erik Wramner 2bb1a753e7
Merge pull request #1329 from erik-wramner/fix_1326
Changed wrong set options in pflogsumm cron job
2019-12-01 12:49:59 +01:00
Erik Wramner da1287c1a5 Changed wrong set options in pflogsumm cron job 2019-12-01 09:19:47 +01:00
Erik Wramner 26afad2420
Merge pull request #1327 from OrwillT/podman-support
Add podman support to setup.sh
2019-11-26 07:16:14 +01:00
Orwill Towne a3f571365f
Change interpreter 2019-11-26 06:31:42 +08:00
Orwill Towne 317cf80ba8
fix elif 2019-11-22 23:50:23 +08:00
Orwill Towne 49b49f9723
little tweak 2019-11-22 23:10:42 +08:00
Orwill Towne 1fed68526c
Add podman support to setup.sh 2019-11-22 22:42:25 +08: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
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