Andrzej Adam Filip a écrit :> nodens2099 <nodens2099@xxxxxxxxx> 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.> I made some more test. The problem is definitely in the cyrus map. real mailbox name : Hosting/Abuse@xxxxxxxxxx sendmail -d -bt<cut meaningless debug info>ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)Enter <ruleset> <address>> /map cyrus +Hosting/Abuse@xxxxxxxxxxxxxxxxxxxx: cyrus (+Hosting/Abuse@xxxxxxxxxx) no match (68) (creating hosting/abuse@xxxxxxxxxx, that is the same folder but inlowercase)> /map cyrus +Hosting/Abuse@xxxxxxxxxxxxxxxxxxxx: cyrus (+Hosting/Abuse@xxxxxxxxxx)map_rewrite(+hosting/abuse@xxxxxxxxxx), av = +Hosting/Abuse@xxxxxxxxxxxxxxxxxxxxx => +hosting/abuse@xxxxxxxxxx<OK>returns +hosting/abuse@xxxxxxxxxx<OK> (0) socketmapClient.pl : ./socketmapClient.pl unix:/var/run/cyrus/socket/smmap cyrus"+Hosting/Abuse@xxxxxxxxxx"+Hosting/Abuse@xxxxxxxxxx => OK +Hosting/Abuse@xxxxxxxxxx So socketmap daemon works as expected. Regards, -- Clément Hermann (nodens) ----Cyrus Home Page: http://cyrusimap.web.cmu.edu/Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twikiList Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html