Unexpected token in IMAP greeting: '+'

See original GitHub issue

Hi, I’m using Mailkit 1.0.9 from NuGet with an Cyrus Server. The problem is that I get the following ImapProtocolException when I try to connect:

Unexpected token in IMAP greeting: '+'

Logging the whole connection process with the ProtocolLogger gives me this Output:

Connected to imaps://yxz.yxz.yxz:995/
S: +OK yxz.yxz.yxz Cyrus POP3 v2.4.16-Debian-2.4.16-4+deb7u2 server ready <11461268568888226136.1425393580@yxz.yxz.yxz>

(original Domain replaced by yxz.yxz.yxz) However, when I try to connect to another Server, powered by hMailserver, everything works flawlessly. It would be really great if you can help me with getting rid of this bug. Thanks in advance and greetings from Germany

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jstedfastcommented, Mar 3, 2015

Take a closer look at the greeting… 😃

S: +OK yxz.yxz.yxz Cyrus POP3 ...

What kind of server are you connecting to? Are you connecting to an IMAP server? Or are you really connecting to a POP3 server? 😃

Try port 993 instead. 995 is for POP3, not IMAP.

0reactions
jstedfastcommented, Mar 5, 2015

I try 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

MailKit.Net.Imap.ImapProtocolException: "Syntax error in ...
MailKit.Net.Imap.ImapProtocolException: "Syntax error in IMAP server greeting. Unexpected token: [atom: OK]" · Ask Question.
Read more >
IMAP connect error: syntax error / forbids use of this system ...
I get an error: Syntax error in IMAP server greeting. Unexpected token: [atom: 220]. The log file reads:.
Read more >
Reading POP/IMAP Email: Error 220? - Help
Hi, I'm trying to read email messages from a SaaS email provider (also occurs with Gmail account), and whether I try POP or...
Read more >
Get IMAP Mail Messages token Error - Activities
Unexpected token: [atom: 0]' displayed. It's been working fine for a while, but recently I'm getting an error. Port value and server are...
Read more >
MailKit.Net.Imap.ImapProtocolException: "Syntax error in ...
Coding example for the question MailKit.Net.Imap.ImapProtocolException: "Syntax error in IMAP server greeting. Unexpected token: [atom: OK]"-C#.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found