Re: [Exim] AUTH= support for lmtp transport

Etusivu
Poista viesti
Vastaa
Lähettäjä: Claas Hilbrecht
Päiväys:  
Vastaanottaja: Tony Finch
Kopio: exim-users
Aihe: Re: [Exim] AUTH= support for lmtp transport
>> cyrus_lmtp:
>>  rcpt_include_affixes = yes
>>  driver = lmtp
>>  auth = ${lookup mysql{select auth from mailcfg_email_mailboxes where \
>>                mailbox='${quote_mysql:$local_part}' limit 1}}
>>  socket = /var/run/cyrus/socket/lmtp

>
> Er, you seem to be attaching recipient information to the MAIL FROM
> command which makes no sense at all. The AUTH= parameter is supposed
> to give the authenticated identity of the original message sender
> (which may of course be different from the return path); it isn't
> something you can randomly invent.
>
> Also, the AUTH= parameter needs to be encoded as an xtext and you
> don't appear to have addressed that requirement.


Maybe you're correct but cyrus 2.1.15 needs an "AUTH=<name>" in the way I
described above to allow deliver mail directly to the users subfolders. The
<name> must be a username that is allowd to post to that mailbox. So maybe
this is only useful for cyrus but that patch allows me to drop mails
directly to any subfolder.

If the patch is incorrect give me a better one since I searched for that
feature (dropping mail directly to a cyrus imap subfolder) a very long time
before and no solution I found before works for me.

---
Claas Hilbrecht
http://www.jucs-kramkiste.de