SquirrelMail  
Donations
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors
Bounties













Security Notice
Phishing campain
UPDATE YOUR
EMAIL SECURITY
"IUEU"

On a brand new installation of Fedora Core 3, SElinux prevents SquirrelMail from sending email. Everything looks ok, but the actual message disappears into thin air.

The way to tell if this is happening:

# tail /var/log/messages | grep audit

May 14 11:25:41 dan kernel: audit(1116095141.399:0): avc: denied { read } for pid=5643 exe=/usr/sbin/httpd name=sh dev=dm-0 ino=2616329 scontext=user_u:system_r:httpd_t tcontext=system_u:object_r:bin_t tclass=lnk_file

The problem is that httpd isn't allowed to run /bin/sh in order to run sendmail.

The solution will appear here when I get it.

I'm not the original poster, but I had a similar problem with FC3 Postfix installation. SELinux would prevent sending of messages as well as adding attachments.

The problem has been solved in newer versions of the selinux targeted policy.

Download selinux-targeted and selinux-targeted-sources and install them, you may also need policycoreutils.

Install them and run restorecon -R -v /var/spool/squirrelmail /var/lib /usr/sbin/sendmail.postfix

If restorecon throws errors, then go to /etc/selinux/targeted/policy/ and run

make

make reload

Execute the restorecon command again.

restart apache.

restart posfix //possibly not necessary

Hope this helps, or gets you on the right track.

On a brand new installation of Fedora Core 6, SElinux prevents SquirrelMail from sending email. Everything looks ok, but the actual message disappears into thin air.

view the mailog file located in the /var/log/

The way to tell if this is happening:

May 15 00:06:45 postfix/smtp[3968]: 412CA4AB637: to=<user@domainname>, relay=none, delay=0.07, delays=0.06/0.01/0/0, dsn=5.4.6, status=bounced (mail for domainname loops back to myself)

change the "mydestination" in /etc/postfix/main.cf

mydestination = $myhostname, $mydomain,localhost.$mydomain, localhost

restart posfix

like above.

© 1999-2010 by The SquirrelMail Project Team