Fedora Linux Support Community & Resources Center
Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Servers

Servers The place to discuss any Fedora server problems you may have.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2005-06-14, 04:36 PM CDT
mib4 Offline
Registered User
 
Join Date: May 2005
Posts: 54
SquirrelMail and dovecot imap 13 : Permission denied

Hello,

I'm running SquirrelMail and dovecot under FC4. I'm having a problem when I'm trying to login:

ERROR
Error connecting to IMAP server: localhost.
13 : Permission denied

My sendmail server works just fine sending and receiving e-mails to and from Internet. No problem connecting to 110, 143, 995 ports.

I have enabled SELINUX policy and I believe something is wrong with the settings there. Could you help me please?

Thanks in advance.
Reply With Quote
  #2  
Old 2005-06-14, 08:49 PM CDT
mib4 Offline
Registered User
 
Join Date: May 2005
Posts: 54
I figured it out. If somebody is interested the command is:

setsebool httpd_can_network_connect=1

To see the existing status of the se booleand use:

getsebool httpd_can_network_connect

I found the information above at https://bugzilla.redhat.com/bugzilla....cgi?id=158181
Reply With Quote
  #3  
Old 2005-06-18, 07:36 PM CDT
crankshaft Offline
Registered User
 
Join Date: May 2005
Posts: 61
Hmmm, after a re-boot the problem returns !

Do I need to run the command : setsebool httpd_can_network_connect=1 each time I reboot ??

Cheers

PeterC
Reply With Quote
  #4  
Old 2005-06-24, 12:26 PM CDT
pzeigler Offline
Registered User
 
Join Date: Apr 2005
Posts: 20
Same issue here. Let me know if you find a more permanent solution. This has just happened for me when I had a selinux policy update on 6/20/05.
Reply With Quote
  #5  
Old 2005-06-24, 10:33 PM CDT
yellowbug Offline
Registered User
 
Join Date: May 2005
Posts: 3
u may try /etc/selinux/targeted/booleans.local first.
Reply With Quote
  #6  
Old 2005-07-08, 12:22 PM CDT
n3r0 Offline
Registered User
 
Join Date: Jun 2005
Posts: 20
Yeah i was having this problem too after i updated selinux.

at least there is this board where people can record all the simple problems they have

i made that file and added that line to it, reboot and it didnt work. Then i noticed that maybe like the other file in the directory (booleans) it needed to be marked as an executable so i ran the following

Code:
chmod --reference=booleans booleans.local
that unfortunately did not work.
So i put it directly into the booleans file.

didnt work. so then i thought ok ill put it in /etc/rc.d/rc.local

and ho ho! success!
Reply With Quote
  #7  
Old 2005-08-03, 07:32 PM CDT
tobrien's Avatar
tobrien Offline
Registered User
 
Join Date: Aug 2005
Location: Australia
Age: 28
Posts: 3
Quote:
Originally Posted by crankshaft
Hmmm, after a re-boot the problem returns !

Do I need to run the command : setsebool httpd_can_network_connect=1 each time I reboot ??

Cheers

PeterC
Why not add the -P switch to this command to make the change permanent when rebooting...
Code:
setsebool -P httpd_can_network_connect=1
This will add the change to your /etc/selinux/targeted/booleans file and will be applied at each reboot.

Tim

I'll be happy to answer other similar Linux queries on my Linux forum at http://obrienit.com.au/forum/ check it out, add a post
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squirrelmail / Dovecot / Sendmail problem - ERROR: Connection dropped by IMAP server. Racerdude Networking 1 2006-12-02 01:07 AM CST
squirrelmail ? imap problem? hvrossum Software 5 2006-05-03 10:47 AM CDT
Dovecot IMAP error - permission denied mlehman Servers 5 2005-08-14 06:46 AM CDT
access denied / squirrelmail / dovecot / SE Linux rioguia Security 3 2005-07-27 08:51 AM CDT
[Dovecot] IMAP EXPUNGE disconnect/box hang - Fedora Core 2,Squirrelmail and Evolution Schettino, John Charles gmane.linux.redhat.fedora.general 0 2005-06-06 11:32 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 01:25 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
Hosting provided by ThePlanet



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
vB Enterprise Translator (vBET) made by NLP-er