From c635de001ba2b2e68d1a9d32b4d165c3ff700988 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 12 Feb 2013 11:12:00 +0100 Subject: [PATCH] Pass the recipient address to dovecot-lda so vacation message can be ignored for unspecified addresses --- root/etc/e-smith/templates-user/.qmail/80DovecotLDA | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates-user/.qmail/80DovecotLDA b/root/etc/e-smith/templates-user/.qmail/80DovecotLDA index 10bbe8f..2847f27 100644 --- a/root/etc/e-smith/templates-user/.qmail/80DovecotLDA +++ b/root/etc/e-smith/templates-user/.qmail/80DovecotLDA @@ -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;'; } }