From 03135541dc74a8a5eda9f7b82caf2790af906710 Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Fri, 19 Jul 2013 11:02:09 +0200 Subject: [PATCH] always use plain $PATH --- plugins/dovecot/dovecot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/dovecot/dovecot b/plugins/dovecot/dovecot index 3452a071..b23b73e1 100644 --- a/plugins/dovecot/dovecot +++ b/plugins/dovecot/dovecot @@ -22,7 +22,9 @@ $aborted = 0; ($dirname = $0) =~ s/[^\/]+$//; $logfile = $ENV{'LOGFILE'} || '/var/log/mail.log'; -$DOVEADM = "/usr/bin/doveadm"; + +# Use an overrided $PATH for all external programs if needed +$DOVEADM = "doveadm"; if ( $ARGV[0] and $ARGV[0] eq "autoconf" ) {