Re: [Exim] AUTH= support for lmtp transport

Top Page
Delete this message
Reply to this message
Author: Kevin P. Fleming
Date:  
To: Exim users list
Subject: Re: [Exim] AUTH= support for lmtp transport
Claas Hilbrecht wrote:

>> I'm using
>>
>> driver = smtp
>> protocol = lmtp
>> authenticated_sender = $authenticated_id
>>


Yes, this works great, and you can create your own
authenticated_sender using:

authenticated_sender = ${sg${local_part}{\N(.*)(\+.*)\N}{\$1}}

as long as you set max_rcpt=1 on this transport. This defeats Cyrus'
single-instance storage of messages to multiple local recipients, so I
only use this transport for local parts that have a suffix attached;
all others go through a standard Cyrus transport that uses anonymous
posting, since the INBOX folders will always allow that.

IMHO, the patch to the LMTP transport is not required (and actually, I
think the LMTP transport itself should go away, since the SMTP
transport in LMTP mode can do everything it does, with a little more
overhead).