1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problems after upgrade RHEL5 - IMAP and BIND

Discussion in 'Plesk for Linux - 8.x and Older' started by zooming, Nov 18, 2007.

  1. zooming

    zooming Regular Pleskian

    25
    57%
    Joined:
    Jul 12, 2006
    Messages:
    112
    Likes Received:
    0
    Hello,

    I'm having some problems after a RHEL5 (now 5.1) upgrade (yum).

    The first problem was related to "bind". It wasn't starting anymore.

    After some research I have managed to make it work, removing bind-suexec (or something like that - "rpm -e bind-suexec") and adjusting the "/etc/named.conf" file:

    directory "/var/named/run-root/var/";
    auth-nxdomain no;
    pid-file "/var/run/named/named.pid";

    (The paths were changed).

    I don't know which step make it work, so if you are having this problem, try to adjust "named.conf" first.


    The second problem is with IMAP.

    Horde and SquirrelMail are not working anymore.

    I found a lot of threads at this forum about IMAP problems, but I couldn't find a solution.

    The problem is with IMAP itself, not with any Webmail.

    IMAP is not working correctly in a simple telnet test:

    telnet localhost 143
    Trying 127.0.0.1...

    Connected to localhost.localdomain (127.0.0.1).

    Escape character is '^]'.
    * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc. See COPYING for distribution information.

    AAA LOGIN email@domain.com password
    Connection closed by foreign host.

    If I enter a wrong password, I have a different behavior:

    AAA LOGIN email@domain.com wrong-password
    LOGIN NO Error in IMAP command received by server.

    So it looks like an authentication problem.

    "ps aux | grep imap" returns this:

    /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/sbin/imaplogin /usr/lib/courier-imap/authlib/authpsa /usr/bin/imapd Maildir

    Here you can see an "authpsa" parameter. Can the problem be related to this authentication "module"?

    Can anyone help me?

    Thank you!
    Alexandre
     
  2. Ales

    Ales Basic Pleskian

    23
    73%
    Joined:
    Mar 4, 2002
    Messages:
    67
    Likes Received:
    0
    It's a courier-imap bug in connection with the 5.1 selinux update.

    Disabling selinux solves the IMAP problem. Just setting the status to permissive doesn't.

    Should be fixed in Plesk 8.3
     
Loading...