LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix: cant login through web (squirrelmail) (https://www.linuxquestions.org/questions/linux-server-73/postfix-cant-login-through-web-squirrelmail-657351/)

madfed 07-22-2008 02:19 AM

Postfix: cant login through web (squirrelmail)
 
Hi Guys
Installed my fedora 7 system and set up Postfix with dovecot and squirrelmail, everything is fine but i cant login. i ges its the Selinux which is preventing me from logging in, because when i disable it i login but still cant send mail, i compose very well but when i click send it takes forever sending and ultimately it stops and nothing is sent to the other persons inbox. here is a msg from selinux
Quote:

ELinux is preventing /usr/libexec/dovecot/dovecot-auth (dovecot_auth_t)
"create" to <Unknown> (dovecot_auth_t).

Detailed Description
SELinux denied access requested by /usr/libexec/dovecot/dovecot-auth. It is
not expected that this access is required by /usr/libexec/dovecot/dovecot-
auth and this access may signal an intrusion attempt. It is also possible
that the specific version or configuration of the application is causing it
to require additional access.
And also
Quote:

Summary
SELinux is preventing /usr/libexec/postfix/smtpd (postfix_smtpd_t) "read" to
eventpoll:[8126] (postfix_master_t).

Detailed Description
SELinux denied access requested by /usr/libexec/postfix/smtpd. It is not
expected that this access is required by /usr/libexec/postfix/smtpd and this
access may signal an intrusion attempt. It is also possible that the
specific version or configuration of the application is causing it to
require additional access.
Then also a cut out from tail -f /var/log/maillog

I need yor help guys.
Thanks

hardcorelinux 07-22-2008 04:34 AM

Quote:

Originally Posted by madfed (Post 3222275)
Hi Guys
Installed my fedora 7 system and set up Postfix with dovecot and squirrelmail, everything is fine but i cant login. i ges its the Selinux which is preventing me from logging in, because when i disable it i login but still cant send mail, i compose very well but when i click send it takes forever sending and ultimately it stops and nothing is sent to the other persons inbox. here is a msg from selinux


And also


Then also a cut out from tail -f /var/log/maillog

I need yor help guys.
Thanks


You can create a module to correct this problem, put the logs errors in a file and use audit2allow to generate a module and that module you can
use without any permission issue

cat filename | audit2allow -M localDovecotAuth

here you can use the localDovecotAuth module, which you created

Try foolowing more about creating modules

http://fedoraproject.org/wiki/SELinux/audit2allow

http://www.engardelinux.org/modules/...&month=2007-05


All times are GMT -5. The time now is 07:19 AM.