Menu

Unable to access mail folder

mark trent
2008-03-02
2012-09-14
  • mark trent

    mark trent - 2008-03-02

    Hi,

    Anyone know where I should be troubleshooting this on a centos 5 linux install?

    When I try and do a "email gateway" >> "test Connection" for a pop mailbox on the net I immediately get this error on a new blank web page "Unable to access mail folder(1)."

    The httpd error log outputs " [error] [client 10.1.1.26] PHP Warning: imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {mail.XXX.com.au:110/pop3/novalidate-cert} in /var/www/html/alloc/shared/lib/class_alloc_email_receive.inc.php on line 63, referer: http://10.1.1.85/alloc/config/config.php?

    I have verified I can telnet to the mail box on the isp server on port 110 from the console.

    Any ideas?

    Thanks In Advance

    Mark

     
    • mark trent

      mark trent - 2008-03-05

      Hi Alex,

      I can confirm that when I have it set to use IMAP it works perfectly. No my ISP does not require mandatory SSL. It would be nice to have functional POP and I will try and debug the problem, I have noticed quite a few PHP related posts to this problem when googled.

      Thanks

      Mark

       
    • Con Zymaris

      Con Zymaris - 2008-03-03

      Just confirming,

      you can telnet from the host which has allocPSA installed, to the remote POP server?

       
      • mark trent

        mark trent - 2008-03-04

        Hi Yes I can telnet into the box fine: here is a copy of the telnet session from the PSA box.

        [root@psa ~]# telnet mail.XXX.com.au 110
        Trying 53.7.xxx.8...
        Connected to mail.XXX.com.au (53.7.xxx.8).
        Escape character is '^]'.
        +OK Hello there.
        user psa@xxx.com.au
        +OK Password required.
        pass passXXXX
        +OK logged in.
        list
        +OK POP3 clients that break here, they violate STD53.
        1 2407
        .

         
        • Alex Lance

          Alex Lance - 2008-03-05

          Hi Mark,

          It may be that the email receiving functionality has not been tested very well with POP mail accounts (we use it mainly with IMAP).

          If you are willing to debug the problem the error message is caused by line 62 in shared/lib/class_alloc_email_receive.inc.php which looks like:

          $this->connection = imap_open($connect_string, $this->username, $this->password, OP_HALFOPEN) or die("Unable to access mail folder(1).");

          and the reference for the imap_open function is here: http://www.php.net/imap_open

          Does your POP server by any chance require SSL?

          Cheers,
          Alex Lance
          http://www.allocpsa.com

           

Anonymous
Anonymous

Add attachments
Cancel





Auth0 Logo