NethServer Version: 7.2009
Module: nethserver-mail
Greetings. Had this question prior and was given a solution, found here:
https://community.nethserver.org/t/discarding-duplicate-emails-send-to-groups
However this solution seem to no longer work, and actually breaks Dovecot, and as a result, mail from flowing.
I’m not sure if something changed between when it was implemented and now, however when adding the sieve_extensions = +imapflags +editheader +vnd.dovecot.duplicate
to /etc/e-smith/templates-custom/etc/dovecot/dovecot.conf/60lmtp
and using the signal-event nethserver-mail-server-update
command to regenerate the configuration files, I’m met with the following error when viewing the status of Dovecot.
[23:38] [network ~] # service dovecot status
Redirecting to /bin/systemctl status dovecot.service
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/usr/lib/systemd/system/dovecot.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/dovecot.service.d
└─limits.conf
Active: failed (Result: exit-code) since Wed 2022-11-09 23:38:08 EST; 4s ago
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
Process: 12867 ExecStart=/usr/sbin/dovecot (code=exited, status=89)
Process: 12864 ExecStartPre=/usr/sbin/portrelease dovecot (code=exited, status=0/SUCCESS)
Process: 12860 ExecStartPre=/usr/libexec/dovecot/prestartscript (code=exited, status=0/SUCCESS)
Main PID: 36421 (code=exited, status=0/SUCCESS)Nov 09 23:38:08 network systemd[1]: Starting Dovecot IMAP/POP3 email server…
Nov 09 23:38:08 network dovecot[12867]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 346: Unknown setting: sieve_extensions
Nov 09 23:38:08 network dovecot[12867]: doveconf: Error: managesieve-login: dump-capability process returned 89
Nov 09 23:38:08 network dovecot[12867]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 346: Unknown setting: sieve_extensions
Nov 09 23:38:08 network systemd[1]: dovecot.service: control process exited, code=exited status=89
Nov 09 23:38:08 network systemd[1]: Failed to start Dovecot IMAP/POP3 email server.
Nov 09 23:38:08 network systemd[1]: Unit dovecot.service entered failed state.
Nov 09 23:38:08 network systemd[1]: dovecot.service failed.
@Andy_Wismer @mrmarkuz @Shane_Treweek, do you have any insight on why suddenly this would stop working after more than a year of functioning perfectly?
** Edit ** Nothing has changed with the previous configuration we came to after the previous post was marked solution. No changes were made to Dovecot, or Postfix. The duplicate plugin just seems to have stopped working.