Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
For some reason, my user "simonsez" is unable to open the new mail that is sitting at /home/simonsez/Maildir/new/ due to permissions denied. The newmail sitting in my Inbox is labelled "Unknown Unknown date (no subject)". When I try to view it or delete it, I get this error message:
Code:
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 692
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 692
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 693
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:
For some reason, my user "simonsez" is unable to open the new mail that is sitting at /home/simonsez/Maildir/new/ due to permissions denied. The newmail sitting in my Inbox is labelled "Unknown Unknown date (no subject)". When I try to view it or delete it, I get this error message:
Code:
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 691
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 692
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 692
Notice: Trying to get property of non-object in /usr/share/squirrelmail/class/mime/Message.class.php on line 693
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)?
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.
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
Originally posted by rioguia 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
Step 3. cd /etc/selinux/targeted/src/policy/
Step 4. make reload
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
Press 'I' to enter interactive startup
Starting udev: MAKEDEV: mkdir: File exists
matchpathcon(/dev/nvidia0) failed Permission denied
matchpathcon(/dev/nvidiact1) failed Permission denied
[OK]
Initializing hardware..._
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.