nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-09-2007, 03:18 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
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
  #2 (permalink)  
Old 25-09-2007, 05:38 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 246 Times in 184 Posts
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 Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 25-09-2007, 06:50 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
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 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?
Reply With Quote
Reply


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 Off


Similar Threads

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


All times are GMT +5.5. The time now is 04:51 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38