Results 1 to 3 of 3

Thread: RHEL5 + IMAP server

  1. #1
    Member
    Join Date
    Jul 2007
    Location
    Hyderabad
    Posts
    61
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    7

    Default RHEL5 + IMAP server

    Hi all,,

    I am getting the following error message while trying to access mails using apache..

    Error connecting to IMAP server: station1.example.com.
    13 : Permission denied

    It's happening in RHEL5 and I have kept selinux in enforcing mode.

    The moment, I change selinux from enforcing to permissive, I am able to access mails using apche.

    I am using squirrelmail and apache in this case..
    Please let me know any fix on this issue.

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,498
    Thanks
    17
    Thanked 789 Times in 507 Posts
    Rep Power
    10

    Default

    Disable SELinux protection for IMAP server or write rule to allow imap server
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. #3
    Member
    Join Date
    Jul 2007
    Location
    Hyderabad
    Posts
    61
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    7

    Default

    I can not disable the selinux as I am doing this in order make myself prepare for RHCE.. they want selinux to be in enforcing mode only...

    Shall I make any changes in /etc/dovecot.conf file also?

    Shall I try the iptables rule for IMAP server giben below:

    iptables -t filter -A INPUT -p tcp --dport 143 -s ! 172.168.24.0/24 -d 172.168.24.2 (my system IP address) -j REJECT.

    172.168.24.0/24 is the iptables range for the network...

    Please let me know if I can try this iptables rule also?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ERROR: Connection dropped by IMAP server
    By satimis in forum Mail Servers
    Replies: 2
    Last Post: 5th February 2009, 05:51 AM
  2. Imap Port
    By sweta in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 2nd May 2008, 11:34 PM
  3. imap errors / server slow down
    By seed2be in forum Mail Servers
    Replies: 0
    Last Post: 6th March 2008, 09:36 PM
  4. openldap configuration on rhel5
    By chandar in forum Getting started tutorials
    Replies: 2
    Last Post: 12th February 2008, 09:34 AM
  5. RAW devices configuration on rhel5
    By linuxmohan in forum Linux hardware
    Replies: 1
    Last Post: 12th November 2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •