[sendmail] lmtp, cyrusv2d, shared folders and case

nodens2099 nodens2099 at gmail.com
Thu Apr 2 05:20:23 EDT 2009


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.

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 ?


>> 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.

-- 
Clément Hermann (nodens)


More information about the Info-cyrus mailing list