Create on login is not working in Cyrusimap/OLDAP

Christos Soulios soulbros at noc.uoa.gr
Mon Feb 19 06:15:33 EST 2007


Hello there,
  could you also change your syslog settings so that you log debug info 
too? If you have enabled autocreate you should see something like the 
following:

autocreateinbox: autocreate inbox for user <username> was called

Cheers,
Christos

Bipindas K wrote:
> Simon Matter wrote:
>>> 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
>>
>>
>>   
> Hi simon,
> The *syslog* says the following when the user "tina" try to login,
> -----------------------------------------------------------------------------------
> Feb 19 11:34:46 cyrus cyrus/master[21711]: about to exec 
> /usr/lib/cyrus/bin/imapd
> Feb 19 11:34:46 cyrus cyrus/imap[21711]: executed
> Feb 19 11:34:46 cyrus cyrus/imapd[21711]: accepted connection
> Feb 19 11:34:46 cyrus cyrus/imapd[21711]: login: [xxx.xx.xxx.xx] tina 
> plaintext
> Feb 19 11:34:47 cyrus cyrus/imapd[21711]: accepted connection
> Feb 19 11:34:47 cyrus cyrus/imapd[21711]: login: [xxx.xx.xxx.xx] tina 
> plaintext
> Feb 19 11:34:47 cyrus cyrus/imapd[21711]: accepted connection
> Feb 19 11:34:47 cyrus cyrus/imapd[21711]: login: [xxx.xx.xxx.xx] tina 
> plaintext
> ------------------------------------------------------------------------------------
> 
> The *imapd.log* says nothing in this mysterious situation.
> 
> 
> 
> 
> -- 
> 
> 
> ------------------------------------------------------------------------
> 
> ----
> 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



More information about the Info-cyrus mailing list