Maddy: Difference between revisions

imported>Onny
Update work in progress note
imported>Onny
Add note on mail attachement size
Line 228: Line 228:


The second part in this example replaces a part in the default config of the Maddy module and inserts the rspamd check to the message pipeline as described in the [https://maddy.email/reference/checks/rspamd upstream documentation].
The second part in this example replaces a part in the default config of the Maddy module and inserts the rspamd check to the message pipeline as described in the [https://maddy.email/reference/checks/rspamd upstream documentation].
=== Mail attachement size ===
The default max mail attachement size is set to 32MB, for a higher value (in this case 64MB) change the default configuration via this workaround
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{ options, lib, ... }: {
services.maddy.config = builtins.replaceStrings [
  "dmarc yes"
] [
  ''dmarc yes
  max_message_size 64M''] options.services.maddy.config.default;
[...]
</nowiki>}}


== Tipps & tricks ==
== Tipps & tricks ==