<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>I've got exim set up to deliver like this:</tt></p>
<p><tt> </tt><br>
</p>
<pre style="background-color:#2d2a2e;color:#fcfcfa;font-family:'Menlo';font-size:9.0pt;">command = /usr/local/libexec/dovecot/dovecot-lda -a $original_local_part@$original_domain -d $local_part@$domain -f $sender_address
</pre>
<p><br>
</p>
<p>If an email to is <a class="moz-txt-link-abbreviated" href="mailto:bob+sales@ish.com.au">bob+sales@ish.com.au</a> then we should have "-a
<a class="moz-txt-link-abbreviated" href="mailto:bob+sales@subdomain.ish.com.au">bob+sales@subdomain.ish.com.au</a> -d <a class="moz-txt-link-abbreviated" href="mailto:bob@ish.com.au">bob@ish.com.au</a>".</p>
<p><br>
</p>
<p>Now in dovecot, only <a class="moz-txt-link-abbreviated" href="mailto:bob@ish.com.au">bob@ish.com.au</a> is a real user but I want to
be able to use both addresses in different places. For LDAP lookup
I need to reference <a class="moz-txt-link-abbreviated" href="mailto:bob@ish.com.au">bob@ish.com.au</a>. But in sieve, I need to see
the original address with plus notation.</p>
<p>However, dovecot appears to get the "-a" address into %u and the
"-d" address can't be accessed.</p>
<p>
<a class="moz-txt-link-freetext" href="https://doc.dovecot.org/configuration_manual/config_file/config_variables/">https://doc.dovecot.org/configuration_manual/config_file/config_variables/</a></p>
<p><br>
</p>
<p>Is what is the point of dovecot-lda having both -a and -d
options? Can I get at both bits of data?</p>
<p><br>
</p>
<p>Thanks</p>
<p>Ari<br>
</p>
</body>
</html>