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.POP3AuthenticationExceptionMessage: 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?
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 messages2007-04-24 22:59:43,301 [2396] INFO [] - Done processing messages2007-04-24 22:59:43,301 [3464] INFO [] - Site: csswe - Begin processing site2007-04-24 22:59:43,301 [3464] INFO [] - Site: csswe - Retrieving messages2007-04-24 22:59:44,563 [3464] INFO [] - Site: csswe - Retrieved messages, 1 messages to process2007-04-24 22:59:44,593 [3464] INFO [] - Site: csswe - Submitting messages <000801c786b0$d24bd660$76e38320$@se> to the site2007-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: name2007-04-24 22:59:46,887 [3464] INFO [] - Site: csswe - Done processing site
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:
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.
[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.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com