Re: Athentication problem AGAIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,


Thanks for your advice.


> On Sat Jun 14 10:28:51 2008, Stephen Liu wrote:
> > a01 login satimiscyrus abc
> > a01 OK User logged in
> 
> This "a01" is a tag - IMAP syntax has every command tagged. You can  
> use any short string, basically - most often I use a dot, or a single
>  
> letter, when I'm speaking IMAP directly. So typically you'll type  
> something like:
> 
> tag COMMAND arg1 arg2
> 
> > list "Mail" "*"
> > list BAD Null command
> 
> Here you supplied a tag, but no command - you want:
> 
> a list "Mail" "*"
> 
> Or more likely:
> 
> a list "" "*"
> 
> > logout
> > * BAD Invalid tag
> 
> No tag at all - you want:
> 
> . logout
> 
> > But I can't make it connected twice.  Continued;
> > 
> > Closed Xterm and restarted a new Xterm
> > 
> > 
> > $ telnet lampserver 143
> > Trying 127.0.1.1...
> > Connected to lampserver.
> > Escape character is '^]'.
> > * OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server  
> > ready
> > login cyrus xyz
> > login BAD Please login first
> > login satimiscyrus abc
> > login BAD Please login first
> > 
> > 
> Again, you've not used a tag anywhere here, so Cyrus decides you're  
> trying to do the commands "cyrus" and "satimiscyrus", neither of  
> which are in its table - so it thinks you're probably just not  
> authorized to use them.
> 
> 
> 
> > I can't connect the server the second time including reboot the  
> > server.
> >  "CAPABILITY" and "logout/LOGOUT don't work.
> 
> They probably do if you use the right syntax:
> 
> . CAPABILITY
> . LOGOUT


Performed following tests.


$ telnet lampserver 143
Trying 127.0.1.1...
Connected to lampserver.
Escape character is '^]'.
* OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready
. login satimiscyrus abc
. OK User logged in
. list "Mail" "*"
. OK Completed (0.000 secs 1 calls)
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.
* end "


Not much information displayed on running;
. list "Mail" "*"
???


$ telnet lampserver 143
Trying 127.0.1.1...
Connected to lampserver.
Escape character is '^]'.
* OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready
. login satimiscyrus abc
. OK User logged in
a list "" "*"
* LIST (\HasNoChildren) "/" "INBOX"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Drafts"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Sent"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Trash"
* LIST (\HasNoChildren) "/" "user.groupware"
* LIST (\HasNoChildren) "/" "user.satimiscyrus"
a OK Completed (0.000 secs 7 calls)
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.
* end *


Detail info displayed on running;
a list "" "*"


$ telnet lampserver 143
Trying 127.0.1.1...
Connected to lampserver.
Escape character is '^]'.
* OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server ready
. login cyrus xyz
. OK User logged in
. list "" "*"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Drafts"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Sent"
* LIST (\NonExistent \HasNoChildren) "/" "INBOX.Trash"
* LIST (\HasNoChildren) "/" "user/satimiscyrus"
* LIST (\HasNoChildren) "/" "user.groupware"
* LIST (\HasNoChildren) "/" "user.satimiscyrus"
. OK Completed (0.000 secs 7 calls)
. CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDP
LUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
THREAD=ORDERED
SUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LOGINDISABLED
. OK Completed
. LOGOUT
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.
* end *


Why user "satimiscyrus" is displayed here and twice?  "cyrus" is
user"admin".  "satimiscyrus" is displayed here as "user/satimiscyrus"
NOT ""user.satimiscyrus"?


Furthermore I'm NOT very clear of user"cyrus" password and admin"cyrus"
password.


I created admin"cyrus" password by running;
# saslpasswd2 -c cyrus
Password: xyz1
Again (for verification): xyz1


and user"cyrus" password by running;
Enter new UNIX password: xyz
Retype new UNIX password: xyz


Most times I use "xyz".  When I have to use "xyz1"?


Please advise.  TIA



B.R.
Stephen


Send instant messages to your online friends http://uk.messenger.yahoo.com 

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux