ATmail

Discussion in 'Installation/Configuration' started by madunix, Sep 18, 2011.

  1. madunix

    madunix New Member

    I have installed ATmail with ISPConfig 3 based Centos, when I try to login I get empty login..
    my DB structure

    mysql> show databases;
    +--------------------+
    | Database |
    +--------------------+
    | information_schema |
    | c0atmailopendb |
    | c0roundcubedb |
    | c0testme |
    | dbispconfig |
    | mysql |
    | openfire |
    +--------------------+
    7 rows in set (0.00 sec)



    [root@server1 log]# php -version
    PHP 5.3.3 (cli) (built: Jan 21 2011 09:39:13)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    [root@server1 log]#


    [root@server1 log]# uname -a
    Linux server1 2.6.32-131.12.1.el6.x86_64 #1 SMP Sun Jul 31 16:44:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

    I have downloaded this atmail version
    http://sourceforge.net/projects/atmailopen/files/atmailopen/1.03/atmailopen1_03.tgz/

    Any one faced this issue before ..... or could it be a bugs
     

    Attached Files:

    Last edited: Sep 18, 2011
  2. falko

    falko Super Moderator ISPConfig Developer

    Are there any errors in your mail log (in the /var/log/ directory)?

    Did you modify any of ATmail's files? If so, please check that you introduced no syntax errors.
     
  3. madunix

    madunix New Member

    I didn't not change any files ..., but after searching the fourm @mail found the following:
    http://forum.atmail.com/viewtopic.php?id=1318
    "....I don't think there's any way the current version of Atmail will run properly under PHP 5.3. I'm surprised the company hasn't been testing with 5.3, since 5.3 has been under development for so long. This should have come as a surprise to exactly no one..."
     
  4. madunix

    madunix New Member

    solved .... by modifying IMAP_Client.php using the following link

    https://github.com/BigBlueHat/atmailopen/commit/afb4b9f3c428d1985659c411ac94c5a26bdbebd3


    - $this->namespace();
    + $this->_namespace();


    - function namespace()
    + function _namespace()


    if ($this->Prefix == '' && !$this->select('Trash') && $this->select('INBOX.Trash')) {
    - $this->Prefix = 'INBOX.';
    + $this->Prefix = 'INBOX';
    $this->Deliminator = '.';


    if(!preg_match("/^{$prefix}/i", $mailbox))
    - return $this->Prefix . $mailbox;
    + return $this->Prefix . $this->Deliminator . $mailbox;
     

    Attached Files:

    • imap.jpg
      imap.jpg
      File size:
      30.2 KB
      Views:
      198
    Last edited: Sep 19, 2011

Share This Page