ENV{"PATH"}. errors on my log
Hi,
I'm getting this error a lot on my logs:
May 01 12:57:03 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.
I googled a bit and the only reference I found was related to the possibility of imapsieve scripts that could be generating this. I haven't found any perl script on my install, but I momentarily turned off spamassassin, but the logs continued.
Any hint on how I can debug this? Turning the debug logs on dovecot didn't bring me any extra information of what the source of this could be.
Best, Francis
-- Francis Augusto Medeiros-Logeay Oslo, Norway
On 01/05/2024 13:59 EEST Francis Augusto Medeiros-Logeay via dovecot
<dovecot@dovecot.org> wrote:
Hi,
I'm getting this error a lot on my logs:
May 01 12:57:03 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.
I googled a bit and the only reference I found was related to the
possibility of imapsieve scripts that could be generating this. I
haven't found any perl script on my install, but I momentarily turned
off spamassassin, but the logs continued.
Any hint on how I can debug this? Turning the debug logs on dovecot
didn't bring me any extra information of what the source of this
could
be.
Best,
Francis
--
Francis Augusto Medeiros-Logeay
Oslo, Norway
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org
Try adding import_environment = $import_environment PATH
to your config.
Aki
Thanks!
I actually had a bash script that calls sa-learn, so I added export PATH ...
there, and it worked.
Best,
Francis
Francis Augusto Medeiros-Logeay Oslo, Norway
On 2024-05-01 13:23, Aki Tuomi wrote:
On 01/05/2024 13:59 EEST Francis Augusto Medeiros-Logeay via dovecot <dovecot@dovecot.org> wrote:
Hi,
I'm getting this error a lot on my logs:
May 01 12:57:03 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.
I googled a bit and the only reference I found was related to the possibility of imapsieve scripts that could be generating this. I haven't found any perl script on my install, but I momentarily turned off spamassassin, but the logs continued.
Any hint on how I can debug this? Turning the debug logs on dovecot didn't bring me any extra information of what the source of this could be.
Best, Francis
-- Francis Augusto Medeiros-Logeay Oslo, Norway
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
Try adding
import_environment = $import_environment PATH
to your config.Aki
participants (2)
-
Aki Tuomi
-
Francis Augusto Medeiros-Logeay