Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: POP3 Error Can’t Connect Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MattG
Newbie
Newbie


Joined: 18 February 2010
Location: Canada
Online Status: Offline
Posts: 20
Posted: 15 March 2010 at 11:44am | IP Logged Quote MattG

Hello,

I am upgrading webmail to a new server and I want to get webmail pro php setup for before the migration. When logging in with a test user that I have on our live webmail I get the following errors when checking mail or sending mail.

[02:24:27.42] POP3 Error: POP3 connect() - Error: Can't connect to Server. Error: 13 -- Permission denied



02:37:57.994] [SMTP] Connecting to server smtp.quadro.net on port 25
[02:37:57.999] [SMTP] Error: Permission denied
[02:37:57.999] >>>[server_xml]>>>
<?_xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Can't send message.]]></error></webmail>

Any suggestions?

Thanks Matt
Back to Top View MattG's Profile Search for other posts by MattG
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 March 2010 at 1:31am | IP Logged Quote Igor

It is necessary to make sure that SMTP and POP3 ports are not blocked by a firewall or any other kind of protective software. If you're renting a server at a hosting service, we suggest to check this with your hosting provider. If you have SSH access to your server, try connecting to SMTP/POP3 service via telnet, e.g.:
Code:
telnet smtp.quadro.net 25

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


Joined: 18 February 2010
Location: Canada
Online Status: Offline
Posts: 20
Posted: 16 March 2010 at 6:05am | IP Logged Quote MattG

The server is on site here and I did telnet into smtp.quadro.net and mail.quadro.net with no problems.
Back to Top View MattG's Profile Search for other posts by MattG
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 16 March 2010 at 7:10am | IP Logged Quote Igor

You are saying that you tried telnet from the same machine where WebMail Lite is installed, is that correct?

Please try running the following PHP code on the same server:

Code:
<?php

     error_reporting(E_ALL);
     ini_set('display_errors', 1);

     $host = 'smtp.quadro.net';
     $port = 25;
     $timeout = 10;

    $errno = 0;
    $errstr = '';
    
    echo 'connect to '.$host.':'.$port.' - ';
    if (fsockopen($host, $port, $errno, $errstr, $timeout))
    {
         echo 'Ok';
           if (strlen($errstr) > 0)
         {
             echo ' - '.$errstr;
         }
    }
    else
    {
        if (strlen($errstr) < 1)
         {
             $errstr = 'Unknown error';
         }
         
         echo $errstr.' (code: '.$errno.')';
    }


If it displays the error message, that means that PHP, for some reason, is not allowed to access the SMTP server.

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


Joined: 18 February 2010
Location: Canada
Online Status: Offline
Posts: 20
Posted: 16 March 2010 at 9:04am | IP Logged Quote MattG

Yes I did telnet from the same machine where Webmail Pro is installed. The script runs with the result ok and I have edited it and tried mail.quadro.net 110 and it runs with the same result.

[root@webmail temp]# php test.php
connect to mail.quadro.net:110 - Ok[root@webmail temp]#



Strange isn't it?
Back to Top View MattG's Profile Search for other posts by MattG
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 March 2010 at 2:42am | IP Logged Quote Igor

Strange that is indeed.

To let us help you on this, we'll need AdminPanel access to your WebMail Pro install. You can send us the access details via HelpDesk securely. Test account on your mail server would be helpful as well.

--
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