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" ) {