Perl5 error in logs

Stuart Henderson stu.lists at
Sun Jul 10 09:40:32 UTC 2022

On 2022-07-07, @lbutlr <kremels at> wrote:
> I am getting a lot of these in the logs:
>  dovecot[52816] imap: Error: Use of uninitialized value $ENV{"PATH"} in split at /usr/local/lib/perl5/5.36/mach/File/Spec/ line 256.
> FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC
>===>>> dovecot-
>===>>> dovecot-pigeonhole-0.5.19
>===>>> perl5-5.36.0
> All packages ae up-to-date on the system.
> Other than the error there doesn’t seem to be any other effect/
> Ideas?

Since Dovecot doesn't use perl itself, this will be from whatever script
you are running from Dovecot (perhaps some external script triggered by
imapsieve for spam learning).

More information about the dovecot mailing list