feat(mx): enable ManageSieve for server-side email filtering

Enable ManageSieve in Dovecot (port 4190) and add the managesieve
plugin to Roundcube for managing Sieve filter rules via webmail.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harald Hoyer 2026-03-24 11:57:38 +01:00
parent 866bc090ca
commit 108b3cb96f

View file

@ -8,6 +8,7 @@
# email addresses git smudged
mailserver = {
enable = true;
enableManageSieve = true;
stateVersion = 3;
fqdn = "mx.surfsite.org";
sendingFqdn = "mx.surfsite.org";
@ -239,12 +240,14 @@
# this is the url of the vhost, not necessarily the same as the fqdn of
# the mailserver
hostName = "webmail.hoyer.xyz";
plugins = [ "managesieve" ];
extraConfig = ''
# starttls needed for authentication, so the fqdn required to match
# the certificate
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
$config['smtp_user'] = "%u";
$config['smtp_pass'] = "%p";
$config['managesieve_host'] = "localhost";
'';
};
}