1
1
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-09-25 07:00:39 +02:00
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
Go to file
Georg Lauterbach cd1721334c
scripts: Rspamd stabilization pt. 2 (#3282)
* move modules adjustment file to new location

Because we link `/tmp/docker-mailserver/rspamd/override.d` to
`/etc/rspamd/override.d`, I think it makes sense to move the modules
adjustment file into `/tmp/docker-mailserver/rspamd/` as well.

I write the code in a way that it is backwards compatible for now, so
this is NOT a breaking change.

* minor improvement to `__rspamd__handle_user_modules_adjustments`

The expansion of `ARGUMENT3` is now done in a way that only adds the
whitespace in case the variable is set and not null.

* move test file structure to respect latest changes

Because we're now linking `rspamd/override.d/`, we can simplify the
setup a bit. But this requires a change in directory structure.

The current Rspamd test will be renamed to `rspamd_full.bats`, because I
plan on adding more tests in different files for different feature sets.
This is done to make this feature well-tested!

* improved and added tests to Rspamd-full

FYI: The line

```bats
_run_in_container grep 'sieve_global_extensions.*\+vnd\.dovecot\.pipe'
"${SIEVE_CONFIG_FILE}"
```

was testing a condition that should actually not be met, but when I
started working on this feature, I thought this was the correct
configuration. Adding the `assert_success` statements revealed this
wrong line.

I also added tests to check whether `override.d` is linked correctly.

* renamed: `rspamd.bats` => `rspamd_full.bats`

* added new tests for incomplete Rspamd feature set

We now test that warnings are emitted & features are disabled correctly.

* update documentation
2023-04-23 14:02:56 +02:00
.github ci: simplify bug_report.yml (#3276) 2023-04-19 11:21:21 +02:00
config-examples config-examples: update fail2ban config examples with current DMS default values (#3258) 2023-04-16 20:17:58 +00:00
docs scripts: Rspamd stabilization pt. 2 (#3282) 2023-04-23 14:02:56 +02:00
target scripts: Rspamd stabilization pt. 2 (#3282) 2023-04-23 14:02:56 +02:00
test scripts: Rspamd stabilization pt. 2 (#3282) 2023-04-23 14:02:56 +02:00
.all-contributorsrc
.dockerignore
.editorconfig
.gitignore
.gitmodules
CHANGELOG.md release: v12.0.0 (#3146) 2023-04-10 10:32:33 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTORS.md
docker-compose.yml Image registry and setup update (#3233) 2023-04-10 11:37:25 +02:00
Dockerfile misc: make Fail2Ban log persistent (#3269) 2023-04-18 21:40:21 +00:00
LICENSE
mailserver.env Posfix: add option to re-enable reject_unknown_client_hostname after #3248 (#3255) 2023-04-16 14:09:00 +02:00
Makefile
README.md docs: miscellaneous improvements (#3219) 2023-04-08 11:54:16 +02:00
SECURITY.md
setup.sh Image registry and setup update (#3233) 2023-04-10 11:37:25 +02:00
VERSION release: v12.0.0 (#3146) 2023-04-10 10:32:33 +02:00

Docker Mailserver

ci::status docker::pulls documentation::badge

📃 About

A production-ready fullstack but simple containerized mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.). Only configuration files, no SQL database. Keep it simple and versioned. Easy to deploy and upgrade. Originally created by @tomav, this project is now maintained by volunteers since January 2021.

💡 Documentation

We provide a dedicated documentation hosted on GitHub Pages. Make sure to read it as it contains all the information necessary to set up and configure your mail server. The documentation is crafted with Markdown & MkDocs Material.

💥 Issues

If you have issues, please search through the documentation for your version before opening an issue. The issue tracker is for issues, not for personal support. Make sure the version of the documentation matches the image version you're using!

  1. FAQ
  2. Usage
  3. Examples
  4. Issues and Contributing
  5. Release Notes
  6. Environment Variables
  7. Updating

📦 Included Services