Bad username and/or password when configuring MG v3

rated by 0 users
This post has 2 Replies | 1 Follower

J-O Eriksson
Top 25 Contributor
Posts 1,127
Points 34,945
MVPs
By: J-O Eriksson
Posted: Tue, Apr 24 2007 5:10 PM

Am I correct in assuming that the Mail Gateway for CS 2007 and CS 2007 itself can run on different servers?

I have CS 2007 at my host, and the Mail Gateway v3 on one of my own servers. I've set up the CS 2007 site according to the docs, enabled it, set a passphrase, maildomain and configured a mailbox (existing on the POP3 server) with username and password.

Installed Mail Gateway on my own server and configured mailgateway.config with my sitename and the passphrase I set in my CS 2007 site above.

The error log tells me:

2007-04-24 22:50:00,654 [2508] ERROR [] - Exception occurred in Pop3.CheckForMessages()
Exception: aspNetPOP3.POP3AuthenticationException
Message: Bad username and/or password. aspNetPOP3.POP3ProtocolException: Missing a positive response (+OK) from the POP3 server. The following response was recieved: '-ERR UserName or Password is incorrect'. If you have not enabled logging, more information may be obtained by setting POP3.LogPath and/or using POP3.LogInMemory.
   at aspNetPOP3.POP3.?(? , Boolean )
   at aspNetPOP3.POP3.?(? , Boolean )
   at aspNetPOP3.POP3.?(? , Boolean )
   at aspNetPOP3.POP3.Connect(String username, String password, String server)
Source: aspNetPOP3
   at aspNetPOP3.POP3.Connect(String username, String password, String server)
   at aspNetPOP3.POP3.Connect()
   at Telligent.MailGateway.Service.Core.Pop3.?(String , POP3 , MailAccount )

I have checked the username and password for the configured POP3 mailbox both in the Mail Gateway settings in the CS 2007 site, and at the settings for my POP3 admin, and they should be the same as far as I can see.

Does the above error message indicate something else than what I assume here?

J-O

J-O Eriksson's blog
 
  • Post Points: 5 |
J-O Eriksson
Top 25 Contributor
Posts 1,127
Points 34,945
MVPs
By: J-O Eriksson
Posted: Tue, Apr 24 2007 5:13 PM In reply to

Hmm, after I wrote this message and then checked the mailgateway.log again. This error seemed to be gone in the last polls, and replaced by:

2007-04-24 22:59:43,301 [2396] INFO  [] - Begin processing messages
2007-04-24 22:59:43,301 [2396] INFO  [] - Done processing messages
2007-04-24 22:59:43,301 [3464] INFO  [] - Site: csswe - Begin processing site
2007-04-24 22:59:43,301 [3464] INFO  [] - Site: csswe - Retrieving messages
2007-04-24 22:59:44,563 [3464] INFO  [] - Site: csswe - Retrieved messages, 1 messages to process
2007-04-24 22:59:44,593 [3464] INFO  [] - Site: csswe - Submitting messages <000801c786b0$d24bd660$76e38320$@se> to the site
2007-04-24 22:59:46,887 [3464] INFO  [] - Site: csswe - Failed processing message <000801c786b0$d24bd660$76e38320$@se>
2007-04-24 22:59:46,887 [3464] WARN  [] - Fail # Exception: System.Exception: System.ArgumentException : 'Unicode (UTF-8)' is not a supported encoding name.
Parameter name: name
2007-04-24 22:59:46,887 [3464] INFO  [] - Site: csswe - Done processing site

J-O

J-O Eriksson's blog
 
  • Post Points: 5 |
J-O Eriksson
Top 25 Contributor
Posts 1,127
Points 34,945
MVPs
By: J-O Eriksson
Posted: Tue, Apr 24 2007 5:20 PM In reply to

Another update: The test message I mailed to one of the forums that I've mail enabled, was added over and over again once for each poll the service did. Each time the utf-8 error occured. When I tried to move the messages that was added to the forum via CS own move button the CS site gave me:

Server Error in '/' Application.

'Unicode (UTF-8)' is not a supported encoding name.
Parameter name: name

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: 'Unicode (UTF-8)' is not a supported encoding name.
Parameter name: name

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: 'Unicode (UTF-8)' is not a supported encoding name.
Parameter name: name]
   System.Globalization.EncodingTable.internalGetCodePageFromName(String name) +2664738
   System.Globalization.EncodingTable.GetCodePageFromName(String name) +84
   CommunityServer.MailRoom.Components.ForumEmails.MailGatewayCreatePost(Post post, User subscriber, List`1 tokens) +1118
   CommunityServer.MailRoom.Components.Emails.SectionTracking(Post post, EnquePostEmails epm, List`1 tokens) +555
   CommunityServer.MailRoom.Components.ForumEmails.ForumTracking(Post post) +131
   CommunityServer.Discussions.Components.Moderate.MovePost(ForumPost post, Int32 moveToForumID, Int32 movedBy, Boolean sendEmail) +130
   CommunityServer.ControlPanel.Controls.ThreadsMove.MoveThread_Click(Object sender, EventArgs e) +232
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

 

Looking in the queue folder on my server where MG v3 is running the message was still there.

J-O

J-O Eriksson's blog
 
  • Post Points: 5 |
Page 1 of 1 (3 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com