Identificando problemas no IMAP do Lotus Domino
Conectando no servidor remoto de correio via Telnet
Podemos conectar remotamente no servidor para verificar se qual pode ser o problema
1) Com o programa de Telnet, faça o seguinte
Obs.: não esqueça de informar a porta 143
O resultado deve ser assim
> telnet myserver.mydomain.com.br 143 OK Domino IMAP4 Server Release 5.0.10 ready Mon, 06 Dec 2004 16:00:20 -0500
NOTE: This begins the communication by initiating a login to the mailbox.
2. "? LOGIN <NTDOMAIN/NTACCOUNT/ALIAS> <PASSWORD>" returns:
? login tuser password ? OK LOGIN completed
NOTE: Don't forget the "?" and space before the commands.
Exception as noted above: Another example using the name, "mary jones". If you type:
? login mary jones password,
the server does not recognize this command because of the space between "mary" and "jones" as the user name. It perceives that "mary" is the user name and "jones" is the password.
For a login such as this, you must use quotes as follows: ? login "mary jones" password
3. "? LIST "" "*" " (This provides a list of available folders.) returns:
? list "" "*" * LIST () "\\" Drafts * LIST (\Noinferiors) "\\" INBOX * LIST () "\\" "Sent Items" * LIST () "\\" {16} Sent Items\sent2 * LIST () "\\" Trash ? OK LIST completed
4. "? Select <Folder>" (For example, Inbox or Deleted Items. This selects the appropriate mailbox.) returns:
? select inbox * 9 EXISTS * 0 RECENT * OK [UNSEEN 3] Message 3 is first unseen * OK [UIDVALIDITY 0] UIDs valid * FLAGS (\Flagged \Seen \Answered \Deleted \Draft) * OK [PERMANENTFLAGS (\Flagged \Seen \Answered \Deleted \Draft)] Permanent flags ? OK [READ-WRITE] SELECT completed
5. "? FETCH <message number [1, 2, 3, and so on]> <All, Body> (This retrieves a message. You will see the message you selected with a "message number" response.) returns:
? fetch 1 all * 1 FETCH (ENVELOPE ("Tue, 01 Aug 2003 12:06:08 -0500" "Countered: dfdsfdaf" ((NIL NIL "test" "ping.lotus.com")) ((NIL NIL "test" "ping.lotus.com")) ((NIL NIL "test" "ping.lotus.com")) ((NIL NIL "test" "ping.lotus.com")) NIL NIL NIL "<OFF9C 12227.212D94CF-ON86256C1B.005DEA24-86256C1B.005DF25F@NoInternetDomain>") INTERNALDATE "20-Aug-2002 17:06:09 +0000" RFC822.SIZE 7914 FLAGS (\Seen)) ? OK FETCH completed
IMAP4 clients conforming to RFC 2060 should be able to connect to the mailbox on the Domino IMAP Servers
6. "? FETCH <message number [1, 2, 3, and so on]> <Body[header]> (This retrieves a message. You will see the message you selected with a "message number" response and the command will display the full header information on the message.) returns:
? fetch 1 body[header] * 1 FETCH (BODY[header] {544} Subject: test message for x-notes-item 2 Message-ID: <OFCE97DF68.B12F4DB8-ON88256C95.00639317-88256C95.00635686@austin.ibm.com> Date: Fri, 03 Dec 2004 10:07:52 -0800 To: imaptest/Eng%[email protected] From: [email protected] Content-Type: multipart/alternative; boundary="=_alternative 0063568388256C95_=" MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on nt02/Eng(Release 5.0.11 |July 24, 2002) at 12/20/2002 10:05:03 AM,Serialize complete at 12/20/2002 10:05:03 AM
7. (This ends the session).
? logout