Bug 162220 - selinux prevents squirrelmail to access imap
selinux prevents squirrelmail to access imap
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Depends On:
  Show dependency treegraph
Reported: 2005-06-30 17:37 EDT by Florin Andrei
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-03 11:31:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Florin Andrei 2005-06-30 17:37:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
I try to login to Squirrelmail, enter username, password, click on Login, but I get this error:

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

In the logs i see this:

kernel: audit(1120167209.519:0): avc:  denied  { connect } for  pid=3646 exe=/usr/sbin/httpd scontext=user_u:system_r:httpd_t tcontext=user_u:system_r:httpd_t tclass=tcp_socket

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.see above

Actual Results:  squirrelmail doesn't work

Expected Results:  duh

Additional info:

I'm using cyrus-imapd-2.2.12-1.1.fc3
Comment 1 Daniel Walsh 2005-07-03 11:31:20 EDT
Set boolean 

setsebool -P httpd_can_network_connect=1

Note You need to log in before you can comment on or make changes to this bug.