Pass the recipient address to dovecot-lda so vacation message can be ignored for unspecified addresses

This commit is contained in:
Daniel Berteaud 2013-02-12 11:12:00 +01:00
parent 2c96405523
commit c635de001b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
$OUT .= "# No local delivery (Dovecot LDA)\n";
}
else{
$OUT .= '| /var/qmail/bin/preline -f /usr/libexec/dovecot/dovecot-lda; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;';
$OUT .= '| /var/qmail/bin/preline -f /usr/libexec/dovecot/dovecot-lda -a "$RECIPIENT"; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;';
}
}