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:
parent
866bc090ca
commit
108b3cb96f
1 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
# email addresses git smudged
|
# email addresses git smudged
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableManageSieve = true;
|
||||||
stateVersion = 3;
|
stateVersion = 3;
|
||||||
fqdn = "mx.surfsite.org";
|
fqdn = "mx.surfsite.org";
|
||||||
sendingFqdn = "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
|
# this is the url of the vhost, not necessarily the same as the fqdn of
|
||||||
# the mailserver
|
# the mailserver
|
||||||
hostName = "webmail.hoyer.xyz";
|
hostName = "webmail.hoyer.xyz";
|
||||||
|
plugins = [ "managesieve" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# starttls needed for authentication, so the fqdn required to match
|
# starttls needed for authentication, so the fqdn required to match
|
||||||
# the certificate
|
# the certificate
|
||||||
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
$config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
||||||
$config['smtp_user'] = "%u";
|
$config['smtp_user'] = "%u";
|
||||||
$config['smtp_pass'] = "%p";
|
$config['smtp_pass'] = "%p";
|
||||||
|
$config['managesieve_host'] = "localhost";
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue