Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
11-14-2005, 06:37 PM
|
#1
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Rep:
|
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)!
I don't get it. Can any help????
Thanks
John
|
|
|
11-15-2005, 02:15 AM
|
#2
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
Anyone out there might have an answer?????
|
|
|
11-15-2005, 07:55 AM
|
#3
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
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.
|
|
|
11-15-2005, 09:10 AM
|
#4
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
ai6ksb,
I'm using FC3. Sendmail is location in "/usr/sbin/sendmail". Why it won't find it?
|
|
|
11-15-2005, 09:16 AM
|
#5
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
ai6ksb,
I changed the location to /usr/lib/sendmail and I still get the same error. Any other suggestion?
|
|
|
11-16-2005, 01:43 AM
|
#6
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
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
|
|
|
11-17-2005, 01:48 AM
|
#7
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
ai6ksb,
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????
|
|
|
11-17-2005, 03:31 AM
|
#8
|
Member
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992
Rep:
|
|
|
|
11-17-2005, 03:46 PM
|
#9
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
I've just built fc3 box and got the same errors, i'd be interested if you find a solution to this problen
|
|
|
11-17-2005, 03:52 PM
|
#10
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
Thanks jayakrishnan
I enabled httpd_can_connect and it worked
I just need to know what it means and what are the implications of doing this?
Can you help?
|
|
|
11-18-2005, 10:09 AM
|
#11
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
ai6ksb,
where do you enable httpd_can_connect? How do you restart SELinux without rebooting the server?
|
|
|
11-18-2005, 01:10 PM
|
#12
|
LQ Newbie
Registered: Nov 2005
Posts: 5
Rep:
|
Try this System Settings -> security -> SELinux -> Other
|
|
|
11-18-2005, 04:27 PM
|
#13
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
ai6ksb,
"httpd_can_connect" is not on the list. Also, I use shell via ssh to do most of my work.
|
|
|
04-23-2006, 12:43 AM
|
#14
|
Member
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432
Rep:
|
Sendmail config howto? Any Sendmail expert here?
I having FC5 and would like to setup simple mail server with Sendmail, Dovecot and SquirrelMail.
In the very begining, I can not login via SquirrelMail webmail interface. The problem of this thread just same as mine so I turn off the SELinux.
But now I want to go back how to configure sendmail. Are there any expert here?
Cheers
|
|
|
04-24-2006, 11:50 AM
|
#15
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Original Poster
Rep:
|
fhleung,
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:
1. yum -y install selinux-targeted-sources
2. setenforce 0
3. audit2allow -l -i /var/log/messages >> /etc/selinux/targeted/src/policy/domains/misc/local.te
4. /usr/bin/make -C /etc/selinux/targeted/src/policy/ reload
5. setenforce 1
6. try to login again
7. repeat step 2 thru 6 if neccessary
This should fix your problem. Let me know if you need help.
John
|
|
|
All times are GMT -5. The time now is 08:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|