On Tue, 2010-02-16 at 13:34 +0100, Lazy wrote: > > lda is executed as > > exec /var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -s .. > + /* if DTLINE (qmail Delivered-To: header) is not null use it > as a destination address */ > + if (destaddr == NULL) { > + destaddr = getenv("DTLINE"); > + if (destaddr != NULL) { > + if (strlen(destaddr) > 18 ) > + destaddr = > i_strdup(address_sanitize(destaddr+14)); > + else > + destaddr = NULL; > + } > + }
Isn't it possible to use deliver -a $DTLINE or something?
signature.asc
Description: This is a digitally signed message part