Create on login is not working in Cyrusimap/OLDAP

Simon Matter simon.matter at invoca.ch
Mon Feb 19 02:18:37 EST 2007


> Simon Matter wrote:
>>> Hi All,
>>> I had setup a squirrelmail/oldap server with autocreate patch. The
>>> problem is when a valid user login,cyrus will not create
>>>
>>> its inbox automatically. But the createonpost is working successfully.
>>> I
>>> am pasting my imapd.conf file below.
>>>
>>>
>>> --------------------------------------------------
>>> autocreatequota: 10000
>>> createonpost: yes
>>>
>>
>> Remove the line below and try again. I don't think creating "Inbox"
>> makes
>> sense, INBOX is a special folder and is always created, what you do is
>> creating a subfolder Inbox, like INBOX.Inbox.
>>
>>
>>> autocreateinboxfolders: Inbox|Trash|Sent|Drafts
>>> --------------------------------------------------
>>>
>>> When a valid user login the squirrelmail showing following errors
>>>
>>
>> The problem I know with that configuration is that, at least when using
>> pam, openldap users are not case sensitiv. That's why I added a new
>> module
>> to the pam stack which makes sure the user is lowercase. And in my case
>> I
>> also set "lmtp_downcase_rcpt: yes" in imapd.conf to apply the same rule
>> from the MTA side.
>>
>> Simon
>>
>>
>>> (1).The following error show on left panel
>>> -----------------------------------------------------------------------------------------------------------
>>> Warning: substr_count(): Empty substring. in
>>> /usr/share/squirrelmail/functions/imap_mailbox.php on line 394
>>>
>>> Warning: substr_count(): Empty substring. in
>>> /usr/share/squirrelmail/src/left_main.php on line 932
>>> ------------------------------------------------------------------------------------------------------------
>>>
>>>
>>>
>>> (2).The following error show on right panel
>>> -------------------------------------
>>> ERROR : Could not complete request.
>>> Query: SELECT "INBOX"
>>> Reason Given: Mailbox does not exist
>>> -------------------------------------
>>>
>>> Please tell me the missing thing.
>>> Kindly help
>>>
>>> BipinDas
>>> --
>>> ----
>>> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
>>> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
>>> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>>>
>>
>>
>>
> Hi simon,
> I had triend again according to your instructions,but fails. The same
> error throwing.

So what is created on the server when you try to login or what do the logs
show?

Simon


More information about the Info-cyrus mailing list