1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02:00
Commit Graph

265 Commits

Author SHA1 Message Date
43df48cb06 README, env file: Warn about open relay configuration
Addresses: #1405
2020-03-01 19:51:16 +01:00
e4f8bac6d1 Added FAQ for bare domains #968 2020-01-18 11:42:23 +01:00
739043d501 fixed a typo in the bayes shortcircuit docu 2020-01-14 22:08:17 +01:00
b8726b80a4 activate SA shortcircuit features via env, fixes #1118 2020-01-13 14:22:14 +01:00
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
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
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
36afac7726 New option DOVECOT_MAILBOX_FORMAT 2019-11-04 15:49:29 +00:00
0b9bbc79b8 Update README.md
link FAQ
2019-11-02 06:46:35 +01:00
c6b19bd80a Updated system requirements, see #1224 2019-10-28 13:55:18 +01:00
f50cf3ecb4 Update README.md
added command for required file to run docker-compose  up -d mail
2019-10-17 18:53:32 +03:00
96268bb45b Removed a dot from .env-mailserver 2019-09-29 21:47:09 +03:30
1fce099ade Separate environments and simplify docker-compose.yml 2019-09-20 13:38:13 -06:00
e60e2d180e Separate environments and simplify docker-compose.yml 2019-09-20 10:40:37 -06:00
2584124ccd Updated readme after code review 2019-09-16 08:05:18 +02:00
008b8e6bce Fix #1093, pflogsumm and logwatch 2019-09-16 08:00:35 +02:00
043e184630 Update readme
reorg dockerfile and add comments
2019-09-02 11:16:21 +02:00
0a9bd1c09d Corrected docs for dovecot attrs #1234 2019-08-21 12:53:53 +02:00
f6ad68d5c9 Improved documentation for SA_KILL 2019-08-21 11:25:10 +01:00
29db9a8f2b Improved documentation for SA_KILL 2019-08-20 13:01:51 +01:00
234632913e Add PERMIT_DOCKER=connected-networks 2019-08-02 15:05:00 +02:00
ba06cf5bf4 Adds docker image update to restart section in README (#1178) 2019-07-24 14:06:31 +02:00
adf3d8e1b3 fixed privileges (#1166) 2019-05-14 21:40:02 +02:00
c4b2f6b7e6 Update indentation in README (#1162) 2019-05-05 20:22:51 +02:00
7dbc96e908 Improve ldap queries to support email forwarding to a other mailserver 2019-02-02 11:02:31 +01:00
265d770e47 Spelling fixes (Closes: #1113) 2019-01-22 14:00:53 +01:00
7f7dd9b746 Set minimum docker-compose version to 1.7 (Closes: #1106)
Bump docker compose version to 1.7
2019-01-20 11:16:19 +01:00
8517a4d025 Document missing DOVECOT_* environment variables (Closes: #1099, #1112)
* Document missing DOVECOT_* environment variables, fixes #1099
* remove misleading quotes
2019-01-20 11:15:26 +01:00
a3724fa91d Support for setting relayhost in main.cf (#1104)
* Added DEFAULT_RELAY_HOST setting
* If set this value will be used as the relayhost in /etc/postfix/maincf causing all mail to be delivered using this relay host
* Test for default relay host setting
2019-01-19 11:10:31 +01:00
a989d77a87 Disable ssl when no certificate is set (Closes: #1083, #1085)
* Modified start-mailserver.sh with two new options for SSL certificate Configuration ():
+ ‘’ (empty string) modifies dovecot configs to allow plain text access
+ * (default) does nothing but warn with message ‘SSL configured by default’

* Updated README.md:
SSL_TYPE environment variable with unknown value will set SSL by default
2018-12-02 12:59:16 +01:00
0fb4a6d082 Clear up env format and hostname value (#1076)
* Describe format for .env in README
* Display used domain and hostname even when they are not acceptable
This should be clearer for the user when the hostname was set incorrectly.
2018-11-11 20:46:53 +01:00
216def8490 add LDAP_QUERY_FILTER_DOMAIN env to documentation (#1070)
* added LDAP_QUERY_FILTER_DOMAIN env
* updated docs for LDAP_QUERY_FILTER_DOMAIN env

additionally removed unnecessary quotation marks in example ldap.yml
2018-11-03 21:52:17 +01:00
53a344a056 Support for additional postgrey options (Close: #998, #999, #1046)
* addnl postgrey whitelist support. closes #998, closes #999.

	modified:   Dockerfile
	modified:   Makefile
	modified:   README.md
	modified:   docker-compose.elk.yml.dist
	modified:   docker-compose.yml.dist
	modified:   target/start-mailserver.sh
	modified:   target/supervisor/conf.d/supervisor-app.conf
	new file:   test/config/whitelist_recipients
	new file:   test/nc_templates/postgrey_whitelist_local.txt
	new file:   test/nc_templates/postgrey_whitelist_recipients.txt
	modified:   test/tests.bats

* match existing indent convention

	modified:   target/start-mailserver.sh

* ISSUE-999: add support for header_checks

	modified:   Dockerfile
	modified:   target/postfix/main.cf

* ISSUE-999: add empty header_check file

	new file:   target/postfix/header_checks.pcre
2018-11-01 19:32:36 +01:00
8c8426ef4a postfix: fix message size limits (#1061)
The message size limit was reduced in c8728eab from the postfix
default [1] of 10,240,000B = 10,000kiB = ~10MiB to only
1,048,576B = 1MiB. And the documentation claims that this would be 10MiB
instead of 1MiB.

Restore the old behaviour as default and fix the documentation as well.

[1]: http://www.postfix.org/postconf.5.html
2018-10-20 20:10:30 +02:00
c8728eab8a feat: added postfix message & mailbox size limits to ENV settings (Closes: #629, #1056) 2018-10-15 21:17:45 +02:00
8f48d0536f Fix Readme usage: Start container before running setup.sh (#1054) 2018-10-14 21:41:52 +02:00
d518a9fc1d DOMAINNAME can fail to be set in postsrsd-wrapper.sh (#989)
* DOMAINNAME can fail to be set in postsrsd-wrapper.sh

if the container doesn’t have a proper hostname, postsrsd will fail to start
because SRS_DOMAIN is empty. Make a best effort to figure out the domain name
and provide a way to set one if needed.
2018-06-19 08:17:32 +02:00
60656aec49 Report sender (#965)
* added REPORT_SENDER env variable to the container.
* integration test for REPORT_SENDER
* added tests for default REPORT_SENDER
2018-05-01 19:57:31 +02:00
137d623171 Ensure that the account contains a @ (#923, #924)
* Ensure that the provided username actually contains a domain
* Update README.md to be consistent with addmailuser script
* Add a test to check if the username includes the domain
2018-04-04 18:59:28 +02:00
f28e9843ce Implementation of multi-domain relay hosts (#922, #926)
* Add new configuration for multi-domain relay hosts (#922)
 * Creates new environment variables (replacing existing AWS_SES variables)
 * Optionally allows more advanced setups using config files
* Update relay hosts during change detection (#922)
* Add helper scripts for adding relay hosts and per-domain auth
* Allow the possibility to deliver some mail directly
* adding a domain with no destination will exclude it from the
  relayhost_map and so Postfix will attempt to deliver the mail directly
* tests for setup.sh script
* tests for relay host configuration
* these tests cover the code in `start-mailserver.sh` dealing with both
  the env vars and the configuration files
2018-04-02 10:45:58 +02:00
2167108ec0 introducing ENABLE_SRS env variable (Closes: #906, #852)
* making postsrsd optional
* added tests, added documentation
2018-03-18 20:15:06 +01:00
a420b15370 Adding daily mail review from Issue 839 (#881)
* Added dependencies, binary, startup configuration
* Added env variable to dist files/readme
* send summary after each logrotate, added env variable for mail/logrotate interval
* remove mail.log from rsyslogs logrotate
* rotate mail.log when no email is set
* Added documentation for POSTFIX_LOGROTATE_INTERVAL
* Removed interval option, since its not being tested for.
* changed test to force logrotate to rotate fixed logrotate config
* readded setup_environment, made logrotate_setup being called everytime
* changed documentation for new variable names - again
* Did Documentation, added a default recipient, added test for default config.
* layout fix
* changed variable names apposite the documentation
2018-03-18 19:52:28 +01:00
ef79e9a65d Generate SRS secret on first run and store it (#891) 2018-03-10 13:41:20 +01:00
2e8bb4ae34 Allow configuring SRS secrets using the environment (#885) 2018-03-08 22:51:10 +01:00
d691b8df6f Fix typo in README (#883) 2018-03-07 22:14:52 +01:00
a73692cc9f Added reject_authenticated_sender_login_mismatch (#872)
* added reject_authenticated_sender_login_mismatch handling including tests
* removed obsolete reject_sender_login_mismatch
* introduced SPOOF_PROTECTION env variable, tests, documentation and missing documentation for TLS_LEVEL
* added missing email template
2018-03-07 19:33:43 +01:00
c36e878d76 Nist tls (#831)
* remove two ciphers according to https://www.htbridge.com/ssl/ (NIST, HIPAA)
* added a switch via an environment variable to choose between modern and intermediate ciphers
2018-02-22 08:36:12 +01:00
eb20722b80 Add environment variable to allow for customizing postsrsd's SRS_EXCLUDE_DOMAINS setting (#849, #842) 2018-02-18 20:53:13 +01:00
803dab12c6 Update readme and changelog about the ports and usage (#848) 2018-02-18 13:12:39 +01:00
115ad555be Introduce .env for docker-compose examples (Closes #815)
Introduce .env for docker-compose examples
2018-02-07 19:37:26 +01:00