8 Jan
2014
8 Jan
'14
10:12 p.m.
On 8-01-14 5:46 PM, Charles Marcus wrote:
On 2014-01-07 9:20 PM, Greg Rivers <gcr+dovecot@tharned.org> wrote:
So for the archives, to get sieve's "envelope :detail ..." working with sendmail and dovecot LMTP, do the following:
Add "lda_original_recipient_header = X-Original-To" to 15-lda.conf
Add the following rule to sendmail.mc to add a X-Original-To: header to every message:
LOCAL_CONFIG H?${u}?X-Original-To: $u
This probably only works if there is exactly one RCPT TO in the LMTP session. If there are multiple recipients, sendmail cannot add that header. What should it contain?
So you have to limit sendmail to max. one recipient per LMTP session. Hopefully you don't use SIS.
Mike.