diff --git a/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/70pluginImapSieve b/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/70pluginImapSieve index ea30834..8617f51 100644 --- a/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/70pluginImapSieve +++ b/root/etc/e-smith/templates/etc/dovecot/dovecot.conf/70pluginImapSieve @@ -10,7 +10,8 @@ plugin { sieve_plugins = sieve_imapsieve sieve_extprograms sieve_execute_bin_dir = /usr/libexec/dovecot sieve_pipe_bin_dir = /usr/libexec/dovecot - sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute + sieve_implicit_extensions = +vnd.dovecot.report + sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.execute +vnd.dovecot.environment _EOF diff --git a/root/usr/libexec/dovecot/learn-ham.sh b/root/usr/libexec/dovecot/learn-ham.sh index 4c2f75b..12f4b86 100644 --- a/root/usr/libexec/dovecot/learn-ham.sh +++ b/root/usr/libexec/dovecot/learn-ham.sh @@ -1 +1 @@ -exec /usr/bin/spamc -L ham +exec /usr/bin/spamc -u spamd --max-size=5283920 -L ham diff --git a/root/usr/libexec/dovecot/learn-spam.sh b/root/usr/libexec/dovecot/learn-spam.sh index 21f3370..9e4cc9c 100644 --- a/root/usr/libexec/dovecot/learn-spam.sh +++ b/root/usr/libexec/dovecot/learn-spam.sh @@ -1 +1 @@ -exec /usr/bin/spamc -L spam +exec /usr/bin/spamc -u spamd --max-size=5283920 -L spam diff --git a/smeserver-dovecot.spec b/smeserver-dovecot.spec index 86e44e6..28785f8 100644 --- a/smeserver-dovecot.spec +++ b/smeserver-dovecot.spec @@ -1,5 +1,5 @@ %define version 11.0.0 -%define release 14 +%define release 15 %define name smeserver-dovecot @@ -41,6 +41,11 @@ Configure the dovecot IMAP server with sieve scripts support, quota, ACL, extended logging, master user %changelog +* Sun Jan 19 2025 Jean-Philippe Pialasse 11.0.0-15.sme +- use spamd user for spams/ham learning [SME: 12265] + max size to learn hardocded to 5MB. + per user spamassassin config is not supported + * Sat Jan 18 2025 Jean-Philippe Pialasse 11.0.0-14.sme - use esmith::ssl to set ciphers and protocol [SME: 12821] improve cipher order to get strongers first