Need help with Squirrelmail with Dovecot & Sendmail
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.
Need help with Squirrelmail with Dovecot & Sendmail
I have configured my server with Sendmail and Dovecot as a pop3 & imap server. I'm able to send and receive mail from Outlook or Thunderbird via pop. But, when I tried to login from my web interface I get permission denied. So, I ran the configtest.php and I get this error return:
SquirrelMail configtest
This script will try to check some aspects of your SquirrelMail configuration and point you to errors whereever it can find them. You need to go run conf.pl in the config/ directory first before you run this script.
SquirrelMail version: 1.4.6 [CVS]-0.cvs20050812.1.fc3
Config file version: 1.4.0
Config file last modified: 14 November 2005 17:00:45
Checking PHP configuration...
PHP version 4.3.11 OK.
PHP extensions OK.
Checking paths...
Data dir OK.
Attachment dir OK.
Plugins OK.
Themes OK.
Default language OK.
Base URL detected as: http://www.jurgiel.com/webmail/src
Checking outgoing mail service....
ERROR: Location of sendmail program incorrect (/usr/sbin/sendmail)!
Hi I had a similiar issue, I changed the location to usr/lib/sendmail and the error moved on (this was on a Fedora Core 4 system), basically check the location of where send mail is.
My mistake I am using Postfix instead of Sendmail, as it is supposed to be more secure and easier to configure. The configtest.php passes the stage where it looks for sendmail, however if fails IMAP, (thats another problem all together), hope that helps
I found the cause of my problem. It's SELinux which prevent accessing sendmail and imap through httpd. So, if I turn off SELinux by:
setenforce 0
Squirrelmail worked perfectly. But, as soon I turned SELinux back on by:
setenforce 1
Squirrelmail will get permission denied when I tried to login. So, now I need to figure out how to change SELinux to work with Squirrelmail. Because, I don't want to disable SELinux on my server. Any ideas????
it's actually quite easy to fixed. Is your webmail work fine if you turn selinux off? If yes, you will need to install the selinux Policy targeted sources. Just follow these steps:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.