Postfix, Dovecot, SquirrelMail Troubles?!
I just configured Postfix and Dovecot and have been at this for a couple of days now. I'm able to log into my mail server just fine. Problem is, I'm unable to see my mail sitting in my Inbox. When I check /var/log/maillog I get this:
Code:
Jul 11 22:11:35 simonsez imap-login: Login: simonsez [::ffff:127.0.0.1] Code:
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691 |
What's the permissions of these new mail?
|
Quote:
|
Postfix, Dovecot, SquirrelMail Troubles?!
I just configured Postfix and Dovecot and have been at this for a couple of days now. I'm able to log into my mail server just fine. Problem is, I'm unable to see my mail sitting in my Inbox. When I check /var/log/maillog I get this:
Code:
Jul 11 22:11:35 simonsez imap-login: Login: simonsez [::ffff:127.0.0.1] Code:
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691 |
Merged your two threads so people can see what has been explored so far....
|
Who is the owner and group of the mail message and who is the owner and group of /home/simonsez/Maildir/new/? How do you authenticate with dovecot (what are the settings for auth_userdb and auth_passdb in dovecot.conf)?
(- Steve -) |
The owner of mail is simonsez.
auth_userdb = passwd auth_passdb = pam |
It's odd....I can see my mail when I use Evolution Mail but it's only when I use SquirrelMail that I have this problem.
|
Just to clarify. Do you get the "permission denied" error when you connect with Evolution or just when you connect with Squirrelmail? It seems like this is a Squirrelmail problem.
(- Steve -) |
Just with squirrelmail.
|
Is SE Linux enabled?
To see if SE linux is enabled on your machine, su root and type: /usr/sbin/sestatus. If you find that SE Linux is enabled, temporarily
disable it. You can temporarily turn it off by typing setenforce 0 (and type setenforce 1 to temporarily restore enforcing mode after you have concluded your test). IF SE Linux is the issue, you may want to try: Step 1. vi /etc/selinux/targeted/booleans Step 2. insert: httpd_can_network_connect=1 [EDITED] Step 3. reboot setsebool -P httpd_can_network_connect=1 and reboot should also work |
Re: Is SE Linux enabled?
Quote:
OMG, I did what you posted and now my machine doesn't load right. It gets stuck at this on startup: Code:
Welcome to Fedora Core help!!! |
OK....I used FC4 disk with linux rescue mode and took out what you posted and now it reboots fine. What happened there? I'd like to know why it hangs with the settings you provided.
|
what was the result of /usr/sbin/sestatus ?
what was the result of /usr/sbin/sestatus ?
I did this on FC3 and it fixed my similar problem. it comes from: https://bugzilla.redhat.com/bugzilla....cgi?id=158181 You could also try setsebool -P httpd_can_network_connect=1 and see if that works. |
I just disabled SELinux and now I can use my Squirrelmail correctly.
|
All times are GMT -5. The time now is 12:01 PM. |