LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Squirrelmail configuration (https://www.linuxquestions.org/questions/linux-newbie-8/squirrelmail-configuration-4175426464/)

ludo33 09-10-2012 02:05 AM

Squirrelmail configuration
 
1 Attachment(s)
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?

okcomputer44 09-10-2012 09:09 PM

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

ludo33 09-11-2012 01:19 AM

Hi,

Don't see SElinux as a running process, yikes!

okcomputer44 09-12-2012 05:40 AM

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

ludo33 09-14-2012 02:27 AM

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?


All times are GMT -5. The time now is 07:19 AM.