Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic MailSuite

 AfterLogic Forum : AfterLogic MailSuite
Subject Topic: Funky Issues Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 26 September 2009 at 12:46pm | IP Logged Quote cartaysm

Just upgraded from pro version around april to pro version lastest. Everything went fine except 2 radom issues.

     My first problem is that when sending an email from code in my website smtp.licensekey= xxx I get errors saying my new key is invalid, HOWEVER if I put my old key in it works fine.

     My second problem is all of a sudden I cant recieve emails from my school address, but I can send to it. I am recieveing from everywhere else expect that location.

     My third issue not relating to my upgrade is I attempted to switch to SSl ports and use my cert. Everything seems fine expect the issue with not being able to recieve from my school address. So my question is if I set up the SSl cert what needs to be done? I put the certs in the MAIL_root folder in certs, and I set the ports to 995 and 465. Am I not doing something that needs to be done?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 27 September 2009 at 2:18pm | IP Logged Quote cartaysm

I sorta fixed the second problem/its tied in with the third problem. Other than the license key issue my big issue is the SSL part. I read in another post part 5 of the SSL txt and I also reread the online documentation on SSL. But I think I am missing something. Am I supposed to change anything in any configs? Or do I simply put my certs into the mailroot folder labeled certs? My certs are in the format .crt currently, could that be an issue?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 September 2009 at 4:12am | IP Logged Quote Andrew

Could you please clarify which products you use and relate each issue with the appropriate product?

"smtp.licensekey= xxx" makes us think that you use MailBee.NET SMTP component, but there's no Pro or Lite version of such component.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 28 September 2009 at 5:18am | IP Logged Quote cartaysm

Platform: Windows Server 2008
XMail Server Pro
Version: 3.3.21
Last update: 21 Aug 2009
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 September 2009 at 6:45am | IP Logged Quote Andrew

Please make sure SSL ports are not blocked by a firewall/antivirus running on the server. You may even try to temporarily disable all software of this kind for testing purpose.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 28 September 2009 at 11:55am | IP Logged Quote cartaysm

All ports are open.... If I have a signed cert and I place that cert in the MAilroot folder under certs.. What do I need to do to have that cert work?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 28 September 2009 at 5:49pm | IP Logged Quote cartaysm

OK, let me try again...

I am currently running:
Platform: Windows Server 2008
XMail Server Pro
Version: 3.3.21
Last update: 21 Aug 2009

I have a signed cert that I bought from godaddy that I would like to use with my email system. I have setup the email system inside my site, so that the site cert and email cert are one in the same. I am confused on how to get the cert working with afterlogic, I have place the cert in the MAilroot folder under certs. I am unsure on where to go from here, any suggestions?

My next issue is inside my website I send an email in vb.net code from the contact us page. To do this I call upon afterlogic dll's and use smtp.licensekey = xxxx.   This has worked fine in the past but with this upgrade I just did, for some reason it will not except the new key. It will however work if I input my old key. Is there a reason for this?

I have also noticed since the upgrade that when I want to delete an email and I select the check box and hit delete nothing happens. So if I move the file to the trash folder and hit the dropdown on delete to empty trash, nothing happens. Is there a reason for this?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 September 2009 at 3:34am | IP Logged Quote Andrew

Quote:
My next issue is inside my website I send an email in vb.net code from the contact us page. To do this I call upon afterlogic dll's and use smtp.licensekey = xxxx.   This has worked fine in the past but with this upgrade I just did, for some reason it will not except the new key. It will however work if I input my old key. Is there a reason for this?


This is expected behavior. The new license key is a license key for AfterLogic WebMail Pro ASP.NET, while the previous key is for MailBee.NET Objects. A license key for MailBee.NET Objects cannot be used with the latest versions of AfterLogic WebMail Pro ASP.NET.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 September 2009 at 3:52am | IP Logged Quote Andrew

Quote:
I have a signed cert that I bought from godaddy that I would like to use with my email system. I have setup the email system inside my site, so that the site cert and email cert are one in the same. I am confused on how to get the cert working with afterlogic, I have place the cert in the MAilroot folder under certs. I am unsure on where to go from here, any suggestions?


This article should be helpful to you. Please note, "MailRoot" must be mail root folder of AfterLogic XMail Server, not IIS mailroot.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 29 September 2009 at 8:12am | IP Logged Quote cartaysm

Yeah I have read that article about 100 times and I am still having problems. I have also attempted to catch the live chat online but never can seem to do so. As of right now my SSL Settings are:

#"### SSL settings"
"SSLWantVerify"     "0"
"SSLWantCert"     "0"
"SSLAllowSelfSigned"     "0"
"SSLUseCertsDir"     "1"
"EnableCTRL-TLS"     "1"
"EnableSMTP-TLS"     "1"
"EnablePOP3-TLS"     "0"

Do I need to change anything in the openssl.cnf?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 29 September 2009 at 8:12am | IP Logged Quote cartaysm

I have also noticed since the upgrade that when I want to delete an email and I select the check box and hit delete nothing happens. So if I move the file to the trash folder and hit the dropdown on delete to empty trash, nothing happens. Is there a reason for this?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 30 September 2009 at 1:34am | IP Logged Quote oleg

> I have a signed cert that I bought from godaddy that I would like to use with my email system.

* First point - did you follow the instructions from the reccommended document to get authority-signed Cert?

Quote: "If you want to have a certificate signed by an authority, you need to generate a certificate request file:

C:> openssl req -new -key server.key -out cert.csr -config openssl.cnf
...
The 'cert.csr' file needs then to be submitted to the certificate authority in order to obtain a root-signed certificate file (that will be your 'SERVER.CERT')
"

* Second point:
> "SSLUseCertsDir"     "1"

Did you copy all of certs from the "MailRoot\win32ssl\certs" to "MailRoot\certs" folder, and authority-signed MID cert also copied to this folder?

* And the last one point:

After generating "Server.key" and "Server.cert" -

Quote: "These files 'MUST' be available inside the 'MAIL_ROOT' directory..."

It means that they MUST be copied to "MailRoot".

Best regards,
Oleg
Back to Top View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 30 September 2009 at 4:12am | IP Logged Quote Andrew

Quote:
I have also noticed since the upgrade that when I want to delete an email and I select the check box and hit delete nothing happens. So if I move the file to the trash folder and hit the dropdown on delete to empty trash, nothing happens. Is there a reason for this?


Please provide us with a test account in your WebMail Pro installation the issue can be reproduced on.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 30 September 2009 at 8:28pm | IP Logged Quote cartaysm

* First point - did you follow the instructions from the reccommended document to get authority-signed Cert?

I was under the assumption that because I have cert that is not self signed I had already gotten it signed by godaddy. I have already created the encryption string and sent it to them and they sent me back a zip file with 2 files 1 Server.p7b and 1 Server.org.crt

C:> openssl req -new -key server.key -out cert.csr -config openssl.cnf

I tried this but my pc didnt find the file and therefore didnt open anything.


Please provide us with a test account in your WebMail Pro installation the issue can be reproduced on.

Ran out of time to do this one today but I will get it done tomorrow.
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 01 October 2009 at 1:55am | IP Logged Quote oleg

e.g. AfterLogic XMail Server is installed to "c:\Program Files\AfterLogic XMail Server Pro\" by default.

Step-by-step guide to get the authority-signed certificate for XMail:

a. Start CMD (Start->Run->cmd)

0. Go to win32ssl

cd "c:\Program Files\AfterLogic XMail Server Pro\MailRoot\win32ssl\bin"

1. To get the server.key:

openssl genrsa 2048 -config "c:\Program Files\AfterLogic XMail Server Pro\MailRoot\win32ssl\conf\openssl.cnf" > server.key

2. To get the certificate authority request:

openssl req -new -key server.key -out cert.csr -config "c:\Program Files\AfterLogic XMail Server Pro\MailRoot\win32ssl\conf\openssl.cnf"

3. The 'cert.csr' file must be submitted to the certificate authority (godaddy in your case) in order to obtain a root-signed certificate file (that will be your 'SERVER.CERT', which is must be palced to "MailRoot")

Best regards,
Oleg
Back to Top View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 01 October 2009 at 5:21am | IP Logged Quote cartaysm

Yes this is what I have been telling you, I have already submitted to godaddy and have received my cert back. It came in a zip from godaddy from the 2048 key I submitted that contained 2 files, 1 p7b and 1 crt. Do I simply place them into the cert file via mailroot?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 01 October 2009 at 5:45am | IP Logged Quote oleg

Then just rename these files to server.key and server.cert, place them to MailRoot folder and restart XMail process.

Best regards,
Oleg
Back to Top View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 01 October 2009 at 7:24pm | IP Logged Quote cartaysm

OK I fixed the deleting issue that I was having, by creating new accounts and manually switching the emails over. Before I simply copy pasted the domain folder and that was causing problems.

With the SSL, I have 2 files that I can play with;
myserver.org.crt
gd_iis_intermediates.p7b

If I switch the names to server.cert and server.key nothing seems to happen. What am I doing wrong?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 02 October 2009 at 3:50am | IP Logged Quote oleg

Intermediate certificate must be placed to 'MailRoot\certs' folder to complete the chain of intermediate certs copied from 'MailRoot\win32sll\certs' to 'MailRoot\certs'.
Server certificate must be renamed to 'server.cert' and placed to 'MailRoot'.
'Server.key' file must be copied to the 'MailRoot' folder also.

Best regards,
Oleg
Back to Top View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 02 October 2009 at 7:08pm | IP Logged Quote cartaysm

I copied all files from win32ssl/certs to MailRoot/certs;
I then added my certs to MailRoot/certs;
As instructed I changed gd_iis_intermediates.p7b to Server.Cert (I also attempted Server.Cert.p7b);
I then changed myserver.org.crt to Server.Key (I also attempted Server.Key.crt);
I still can’t for the life of me get SSL working on my email system...
Below are first the settings in my Server.Tab file;
Then below that are some errors that I found in MailRoot/Logs/xmail;
Finally below that is one error I got via outlook when attempting to force SSL

***** Settings in Server.Tab *****
#"### SSL settings"
"SSLWantVerify"     "1"
"SSLWantCert"     "1"
"SSLAllowSelfSigned"     "1"
"SSLUseCertsDir"     "1"
"EnableCTRL-TLS"     "1"
"EnableSMTP-TLS"     "1"
"EnablePOP3-TLS"     "0"

#"### IMAP4 settings"
"Imap4Proto"     "0"
"Imap4Port"     "143"
"Imap4PortSSL"     "993"
"Imap4RenameSubscribed"     "1"
"FingerProto"     "1"
"FingerPort"     "79"
"RemoveSpoolErrors"     "1"

#"### POP3 settings"
"Pop3Proto"     "1"
"Pop3Port"     "110"
"Pop3PortSSL"     "995"

"SmtpProto"     "0"
"SmtpPort"     "25"
"SmtpPortSSL"     "465"
"EnableAuthSMTP-POP3"     "0"

***** Errors via Xmail Log *****

ErrString = Unable to open file
ErrInfo   = C:\inetpub\wwwroot\xxxxx\AfterLogic XMail Server Pro\MailRoot\domains\xxxxxx.org\tmp.tabindex\aliases-0001.hd x
02/10/2009 01:38:41 GMT [Err] [SMAILUtils.cpp (USmlMessageAuth)] ErrCode   = -232

02/10/2009 02:18:46 GMT [Err] [SSLBind.cpp (BSslSetupVerify)] ErrCode   = -238
ErrString = Error setting the SSL certificate file
ErrInfo   = C:\inetpub\wwwroot\xxxxxx\AfterLogic XMail Server Pro\MailRoot\server.cert
02/10/2009 02:18:46 GMT [Info] [SMTPSvr.cpp (SMTPHandleCmd_STARTTLS)] SMTP failed to STARTTLS [75.186.28.46]
02/10/2009 02:18:46 GMT [Err] [(null) ((null))] ErrCode   = -238
ErrString = Error setting the SSL certificate file
ErrInfo   = C:\inetpub\wwwroot\xxxxxxx\AfterLogic XMail Server Pro\MailRoot\server.cert

02/10/2009 02:31:27 GMT [Err] <<
ErrCode   = -56
ErrString = Invalid spool file
[SMAILSvr.cpp (SMAILTryProcessMessage)] Unable to load spool file "C:\inetpub\wwwroot\xxxxx\AfterLogic XMail Server Pro\MailRoot\spool\0\21\mess\1254450687409.3144.0.WIN-xxxxx"
SMTP-Error = "554 Error loading spool file"

ErrCode   = -210
ErrString = Cmd alias not found
02/10/2009 02:35:08 GMT [Err] [TabIndex.cpp (TbixOpenIndex)] ErrCode   = -19

02/10/2009 02:35:08 GMT [Err] [UsrUtils.cpp (UsrGetMailProcessFile)] ErrCode   = -117
ErrString = User mail processing file not present


***** Outlook Error *****

MsgSeqNum 5, New UID 2. Prev UID: 2, Next UID: 0.
     Protocol:   &nb sp; IMAP
     Server:     ; xxxxx.org
     Port:    & nbsp;143
     Error Code:     0x800CCCDC


Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
oleg
AfterLogic Support
AfterLogic Support
Avatar

Joined: 11 April 2007
Location: United States
Online Status: Offline
Posts: 21
Posted: 05 October 2009 at 12:25am | IP Logged Quote oleg

"server.key" and "server.cert" files both must be copied to "MailRoot", not "MailRoot\certs".


Back to Top View oleg's Profile Search for other posts by oleg Visit oleg's Homepage
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 05 October 2009 at 4:46am | IP Logged Quote cartaysm

OK moved them to Mailroot instead of MailRoot/Cert and still not working...
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
lizgoode206
Newbie
Newbie


Joined: 06 October 2009
Online Status: Offline
Posts: 5
Posted: 06 October 2009 at 8:29am | IP Logged Quote lizgoode206

Thanks you guys this info helped me out. still cant explain y it makes my computer shut down




Name Jewelry
Back to Top View lizgoode206's Profile Search for other posts by lizgoode206
 
cartaysm
Groupie
Groupie


Joined: 17 February 2009
Online Status: Offline
Posts: 53
Posted: 08 October 2009 at 6:24am | IP Logged Quote cartaysm

I haven't heard anything for a few days, is this just a lost cause?
Back to Top View cartaysm's Profile Search for other posts by cartaysm
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 12 October 2009 at 4:10am | IP Logged Quote Igor

cartaysm wrote:
I haven't heard anything for a few days, is this just a lost cause?


No way it is. As a lead developer of XMail Server Pro, Oleg is now searching for the way to reproduce the issue. Once there is new information in this regard, we will let you know.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide