MailScanner / Mailwatch on CentOS
Wondering if any of you chaps can help me. Am installing Mailscanner/Mailwatch onto a CentOS 5.1 box. As far as I can see, I have configured everything correctly, Postfix, works and forwards mail. Mailscanner scans it correctly. All is fine.
My problem comes when I try and goto the MailWatch UI! I type the address in (http://<domain.com>/mailscanner/) and all I get in return is :
Cannot open MailScanner configuration file
Thing is, I can not see why it would not be able to read the file. I have checked that the apache user can read the config file (located here: /etc/MailScanner/MailScanner.conf). I have also edited the functions.php file to return the MailScanner config filename and location. Which now returns the error:
Cannot open MailScanner configuration file: /etc/MailScanner/MailScanner.conf
does anyone have any thoughts as to why MailWatch cannot read the MailScanner config file?
I know its probably going to be something simple but think it is the case of "can't see the wood for the trees!"
If you want any information from me regarding this, please let me know!
Just an update, seems it was something Obvious, seems my Apache is chrooted!
How do i either,
A. Un-chroot my Apache (httpd)?
B. Add the /etc/MailScanner/ directory to the chrooted scope for apache(httpd)?
You can try this: remove or comment out the ChrootDir line and the LoadModule line for mod_chroot in your Apache configuration, then restart Apache.
Thanks for the suggestion. I couldn't find any reference to chroot anywhere in any of the conf files.
I ended up finding the problem, I used to have plesk installed on this box (Wasn't my choice, people we are renting it off of.) I have now removed it but it seems a lot of the old config files are still lurking around the system, more specfically one called "zz010.psa.httpd.conf" which, holds the solution to my problem! As it holds the config for the default site! Added in the /etc/MailScanner as an allowed path, made the other necessary changes and now have it working.
Thank you for the suggestion.
|All times are GMT +2. The time now is 06:44.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.