LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2012, 03:05 AM   #1
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Rep: Reputation: 16
Squirrelmail configuration


Hello,

I have installed postfix/dovecot/squirrelmail following a tutorial here: http://linuxadminatoz.blogspot.co.uk...h-postfix.html

Using webmin I can send and receive mail from my system users so I guess the postfix and dovecot configurations are correct, however when I try to access squirrelmail I get "Unknown user or password incorrect."

Also when I try to access mysite.com/squirrelmail/src/configtest.php I get:

You don't have permission to access /squirrelmail/src/configtest.php on this server.

The mail log gives this error:

Sep 10 06:50:47 debian-squeeze-base dovecot: auth-worker(default): pam(cliff,127.0.0.1): pam_start() failed: Critical error - immediate abort
Sep 10 06:50:54 debian-squeeze-base dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<cliff>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

I'm guessing it's a permissions issue, attached are the current settings for POP / IMAP mail server, does this look correct to you guys?
Attached Thumbnails
Click image for larger version

Name:	dovecotpam.png
Views:	15
Size:	16.1 KB
ID:	10638  
 
Old 09-10-2012, 10:09 PM   #2
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 244

Rep: Reputation: 51
Hi,

Have you tried to switch off SElinux?
That could cause the "You don't have permission to access /squirrelmail/src/configtest.php on this server." trouble.

Disable SElinux and reboot the system and check to see if it works.

Laz
 
Old 09-11-2012, 02:19 AM   #3
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
Hi,

Don't see SElinux as a running process, yikes!
 
Old 09-12-2012, 06:40 AM   #4
okcomputer44
Member
 
Registered: Jun 2008
Location: /home/laz
Distribution: CentOS/Debian
Posts: 244

Rep: Reputation: 51
Hi,

SElinux is not a running process, so you wont find it as a service.
It's rather a security system that provides access control security for the whole box.

You can disable it in the /etc/selinux/config file. (CentOS/RedHat/Fedora)
Quote:
SELINUX=disabled
Then reboot the system to check the squirelmail if it's working or not.

Laz
 
Old 09-14-2012, 03:27 AM   #5
ludo33
Member
 
Registered: Feb 2009
Posts: 119

Original Poster
Rep: Reputation: 16
AHA, seems after checking the various error logs that apache is not correctly configured as all requests are sent to /var/www so squirrelmail.conf never gets called! So the question now is how to change the apache config?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail configuration narendra.server Linux - Networking 1 12-20-2009 11:33 AM
Squirrelmail Configuration on Centos 5 blackcat9 Linux - Software 3 06-24-2009 04:51 AM
Squirrelmail Configuration on Centos 5 blackcat9 Linux - Newbie 3 06-22-2009 07:11 PM
Help With Squirrelmail Configuration carlosinfl Linux - Server 2 09-10-2008 01:50 PM
Squirrelmail webserver configuration selestin Mathew Linux - Server 1 12-03-2007 08:01 AM


All times are GMT -5. The time now is 08:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration