[sendmail] lmtp, cyrusv2d, shared folders and case

Andrzej Adam Filip anfi at onet.eu
Thu Apr 2 14:18:14 EDT 2009


nodens2099 <nodens2099 at gmail.com> wrote:

> Andrzej Adam Filip a écrit :
>>>> Does smmap return "unknown user" *even for lowercase folders*?
>>>>
>>> Nope, you're right. the real problem is on the mrs check, then. 
>> 
>> It can use only what smmap provides.
>> Are you ready to ask for changed in Cyrus' smmap to make it capable to
>> check Public folders availability?
>> 
>> mrs_cyrus_mailertable may be changed to check validity of mailbox folder
>> its own list of valid folders.
>> 
> This is already what I'm doing with ldap. There is no need to add
> another database, which would have to be maintained as the public folder
> list change, IMO.

OK - smmap map be needless for "LDAP centric" configuration.

> I actually took a look at the smmapd code, and it uses the
> lmtp_downcase_rcpt value to know whether the recipient should be
> converted to downcase or not.
> According to the code, it convert the user part only, and has a special
> case for shared folder, so it should be ok.
>
> Do you know a way to test smmapd manually ?

There are simple socket map client and server perl scripts in contrib
directory of sendmail distribution.

>>> if it can resolve the mrs_cyrus_mailertable problem, and if it's not too
>>> difficult to upgrade rtcyrus2 with it, I'm willing to give it a try.
>> 
>> It can be fixed but you should decide which path do you want do go:
>> a) Cyrus smmap can tell if public folders is accessible
>> b) sendmail uses its own list of valid publicly accessible Cyrus public folders
>
> the a) is definitely the way to go.

I "patch" only sendmail.cf :-)

-- 
[pl>en: Andrew] Andrzej Adam Filip : anfi at onet.eu
Woman inspires us to great things, and prevents us from achieving them.
  -- Dumas


More information about the Info-cyrus mailing list