Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-22 Thread Aristotelis

Bipindas K wrote:

Hi Simon,
Sorry for disturbing you again,I didnt get my mistake yet. You told me 
the log says everything perfect,then whats wrong with my login ?.
The option creatonpost is working perfectly, create on login is not 
working that means cyrus automatically create in box when user receives 
an email.


Thanks for your time and consideration.


  Hello,

  This is quite strange as a problem. The autocreate patch has 2 
different functionalities :
1) Creates the user's INBOX if the INBOX doesn't exist when a user logs 
in via imap
2) Creates the user's INBOX if the INBOX doesn't exist when a user 
receives an email.


For create on login you need at least the autocreatequota option to be 
in a non zero value.
 When autocreate patch works it produces syslog output , so you should 
see something about the creation on the logs (something like that you 
saw when the inbox was created on post).


If there is no logging, even when you log in via imap, then 
something is wrong with the login procedure. Try to create an account 
(which is not in in imap_admins, or admins group) and then immediately 
login with this account and see if it procuces any log output in syslog.


   Best Regards,
 Aristotelis

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


Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-22 Thread Simon Matter
> Simon Matter wrote:
>>> Simon Matter wrote:
>>>
> Christos Soulios wrote:
>
>
>> 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  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: 1
>>> 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.
>>>
>>>
>>>
>>>
>>> --
>>>

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-22 Thread Bipindas K




Simon Matter wrote:

  
Simon Matter wrote:


  
Christos Soulios wrote:



  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  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: 1
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


  

Hi All,
I had created a new user called sujith in ldap. And try to login
through


  
  Where are the logs from the time when you tried the login, I'm sure
Christos will be interested to see it.

Simon


  
  
squirrel, but the same error exists,
-
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Mailbox does not exist
-

 And I had send an email to this newly created user, at that time the
inbox was created and mail delivered to that inbox. Here is the log,
---

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-21 Thread Simon Matter
> Simon Matter wrote:
>>> Christos Soulios wrote:
>>>
 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  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: 1
> 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
>

>>> Hi All,
>>> I had created a new user called sujith in ldap. And try to login
>>> through
>>>
>>
>> Where are the logs from the time when you tried the login, I'm sure
>> Christos will be interested 

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-21 Thread Bipindas K




Simon Matter wrote:

  
Christos Soulios wrote:


  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  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: 1
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

  
  
  

Hi All,
I had created a new user called sujith in ldap. And try to login through

  
  
Where are the logs from the time when you tried the login, I'm sure
Christos will be interested to see it.

Simon

  
  
squirrel, but the same error exists,
-
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Mailbox does not exist
-

 And I had send an email to this newly created user, at that time the
inbox was created and mail delivered to that inbox. Here is the log,

Feb 22 05:49:08 cyrus master[6109]: about to exec /usr/cyrus/bin/lmtpd
Feb 22 05:49:08 cyrus lmtpunix[6109]: executed
Feb 22 05:49:08 cyrus lmtpunix[6109]: accepted connection

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-21 Thread Simon Matter
> Christos Soulios wrote:
>> 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  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: 1
>>> 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
>>
>>
> Hi All,
> I had created a new user called sujith in ldap. And try to login through

Where are the logs from the time when you tried the login, I'm sure
Christos will be interested to see it.

Simon

> squirrel, but the same error exists,
> -
> ERROR : Could not complete request.
> Query: SELECT "INBOX"
> Reason Given: Mailbox does not exist
> -
>
>  And I had send an email to this newly created user, at that time the
> inbox was created and mail delivered to that inbox. Here is the log,
> -

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-21 Thread Bipindas K




Christos Soulios wrote:
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  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: 1

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

  
  
  

Hi All,
I had created a new user called sujith in ldap. And try to login
through squirrel, but the same error exists,
-
ERROR : Could not complete request.
Query: SELECT "INBOX"
Reason Given: Mailbox does not exist
-
 
 And I had 

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-19 Thread Christos Soulios

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  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: 1
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



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


Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-19 Thread Bipindas K




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: 1
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

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Simon Matter
> 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: 1
>>> 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

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


Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Bipindas K




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

-- 




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

Re: Create on login is not working in Cyrusimap/OLDAP

2007-02-18 Thread Simon Matter
> 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: 1
> 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

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