
14th March 2010, 18:55
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
I set these two parameter in php.ini
display_errors = On
error_reporting = E_ALL
But I still get a blank screen.
|

15th March 2010, 14:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Did you restart Apache?
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

15th March 2010, 17:35
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Yes Falko, I restarted my apache. After I enter my login credentials at the following url:
http://mydomain.ca/webmail/src/login.php
I get a blank white screen, no errors displayed on the screen!
Thanks!
|

16th March 2010, 14:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Please make sure you introduced no PHP syntax error in the config.php file of the change_sqlpass plugin.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

17th March 2010, 14:32
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Falko, thanks for pointing me in the right direction. Even though my config.php for the change_sqlpass is exactly as in the howto. But the problem lies somewhere there... because when I disable that plugin using the conf.pl script, everything works just fine. Here are the lines based on ur tutorial that I put in my config.php
Code:
$csp_dsn = 'mysql://mail_admin:*******@10.10.0.200/mail';
$lookup_password_query = 'SELECT count(*) FROM users WHERE email = "%1" AND password = %4';
$password_update_queries = array('UPDATE users SET password = %4 WHERE email = "%1"');
$password_encryption = 'MYSQLENCRYPT';
$csp_salt_static = 'LEFT(password, 2)';
//$csp_salt_query = 'SELECT salt FROM users WHERE username = "%1"';
$csp_delimiter = '@';
Of course in the first line, my user for the database 'mail' is mail_admin and I put the appropriate password. However, I am not sure if the last part is correct: @10.10.0.200/mail
Because my setup is a little different. The postfix/courier are on the 10.10.0.200 server. Perhaps the problem lies here. What would be the correct directive?
Thanks a lot. Cheers.
|

18th March 2010, 14:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Does your MySQL password contain any special characters (like ') that need to be escaped?
|

18th March 2010, 18:39
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Does your MySQL password contain any special characters (like ') that need to be escaped?
|
Yes Falko, my password contains a "^". Is that a problem? If so, how and where do I escape it? Thanks!
|

18th March 2010, 22:34
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Hi... another issue...
First, to recap... I have the mail server (postfix, courier, squirrelmail) installed on 10.10.0.200. I also installed squirrelmail on 10.10.0.54 and configured it to talk to courier on 10.10.0.200. Now, the problem that I encountered is that I can't send email from http://10.10.0.54/webmail
I can however send emails from http://10.10.0.200/webmail
Is there a mynetworks setting that I have to configure in postfix config file on 10.10.0.200? I am after all using login (authentication) to login to squirrelmail, so that shouldn't be necessary.
Why can't I send mail from the 10.10.0.54 machine? Thanks for your time.
|

19th March 2010, 16:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,595 Times in 2,446 Posts
|
|
Are there any errors in the mail log on the 10.10.0.54 server?
Quote:
|
Yes Falko, my password contains a "^". Is that a problem? If so, how and where do I escape it? Thanks!
|
Try to escape it with a backslash: \^
|

19th March 2010, 20:57
|
|
Junior Member
|
|
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by falko
Are there any errors in the mail log on the 10.10.0.54 server?
Try to escape it with a backslash: \^
|
Escaping the ^ character did not work. I still get a blank screen once I login. But the problem is definitely in the change_sqlpass because as soon as I remove this plugin using the conf.pl script, I am able to login just fine. So what else could it be? Without this working, users won't be able to change their passwords.
Regarding not being able to send mail from 10.10.0.54, I was able to fix that by adding 10.10.0.54 in mynetworks directive in the main.cf on 10.10.0.200. I just want to make sure that spammers won't be able to relay through 10.10.0.54. 10.10.0.54 is a webserver; anyone can access www.domain.ca/webmail. But since they don't have the login, they can't exploit my system right?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:15.
|
|
Recent comments
23 hours 53 min ago
1 day 4 hours ago
1 day 9 hours ago
1 day 11 hours ago
2 days 1 hour ago
2 days 1 hour ago
2 days 6 hours ago
2 days 13 hours ago
2 days 13 hours ago
2 days 15 hours ago