nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

RHEL5 + IMAP server

This is a discussion on RHEL5 + IMAP server within the Getting started tutorials forums, part of the Linux Getting Started category; Hi all,, I am getting the following error message while trying to access mails using apache.. Error connecting to IMAP ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 09-25-2007, 03:18 PM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 28
Rep Power: 0
vaibhav.kanchan is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-25-2007, 05:38 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 902
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Disable SELinux protection for IMAP server or write rule to allow imap server
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 09-25-2007, 06:50 PM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 28
Rep Power: 0
vaibhav.kanchan is on a distinguished road
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 addres -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?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Imap Port sweta CentOS / RHEL / Fedora 0 05-02-2008 11:34 PM
imap errors / server slow down seed2be Mail Servers 0 03-06-2008 09:36 PM
ERROR: Connection dropped by IMAP server satimis Mail Servers 0 02-13-2008 08:54 PM
openldap configuration on rhel5 chandar Getting started tutorials 2 02-12-2008 09:34 AM
RAW devices configuration on rhel5 linuxmohan Linux hardware 1 11-12-2007 07:07 PM


All times are GMT +5.5. The time now is 12:23 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36