Commit graph

1194 commits

Author SHA1 Message Date
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 33d0f0f64d Updated readme with announcement 2020-03-16 18:38:28 +01:00
Erik Wramner f2c9424828
Merge pull request #1407 from casperklein/patch-1
Allow calling setup.sh from other scripts by using tty command.
2020-03-16 17:02:18 +01:00
Erik Wramner e59859cfe5
Merge pull request #1431 from VanVan/master
Add an option to place spam in the inbox, and then sort the mail by a sieve rule (not included).
2020-03-16 16:51:08 +01:00
Wandrille RONCE 90951876cd Add an option to place spam in the inbox, and then sort the mail by a sieve rule for example 2020-03-15 17:51:12 +01:00
Erik Wramner c075a0e436
Merge pull request #1415 from Rillke/rr/2020/openRelayWarning
README, env file: Warn about open relay configuration
2020-03-02 07:57:42 +01:00
Rainer Rillke 43df48cb06 README, env file: Warn about open relay configuration
Addresses: #1405
2020-03-01 19:51:16 +01:00
Casper 6b21e637a5
Missing options from README.md added. 2020-02-22 23:36:14 +01:00
Casper ff861ca314
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-02-22 00:52:32 +01:00
Erik Wramner 7f3fe45a83
Merge pull request #1388 from r-pufky/fix-legacy-f2b-dovecot-filter
Fix broken fail2ban dovecot filter; use <HOST>.
2020-02-02 20:51:23 +01:00
Robert Pufky a82caf5d9b 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-02-01 14:57:03 -08: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