Le 16/10/2024 à 11:46, Aki Tuomi via dovecot a écrit :
Make sure import_environment setting includes PATH.
Thank you for your reply.
I have added:
import_environment = TZ PATH
in /etc/dovecot/dovecot.conf
but I still get:
dovecot: imap: Error: Use of uninitialized value $ENV{"PATH"} in split at /usr/lib/x86_64-linux-gnu/perl-base/File/Spec/Unix.pm line 136.
Strangely, I no longer have the other three error messages (Error: program exec:/usr/lib/dovecot/sieve-pipe/sa-learn-spam.sh (2526990): Forcibly terminated with signal 15, Error: sieve: failed to pipe message to program `sa-learn-spam.sh': refer to server log for more information. and Error: sieve: Execution of script /usr/lib/dovecot/sieve-pipe/report-spam.sieve failed).
So it is not clear to me if the issue is fixed.
I have also never been able to enable a clear message in mail.log upon successful execution of report-spam.sieve.
Julien