Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 14th March 2010, 18:55
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I set these two parameter in php.ini

display_errors = On
error_reporting = E_ALL

But I still get a blank screen.
Reply With Quote
Sponsored Links
  #12  
Old 15th March 2010, 14:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Did you restart Apache?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
linuxlover (17th March 2010)
  #13  
Old 15th March 2010, 17:35
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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!
Reply With Quote
  #14  
Old 16th March 2010, 14:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Please make sure you introduced no PHP syntax error in the config.php file of the change_sqlpass plugin.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
linuxlover (17th March 2010)
  #15  
Old 17th March 2010, 14:32
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #16  
Old 18th March 2010, 14:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Does your MySQL password contain any special characters (like ') that need to be escaped?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #17  
Old 18th March 2010, 18:39
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
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!
Reply With Quote
  #18  
Old 18th March 2010, 22:34
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #19  
Old 19th March 2010, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

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: \^
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 19th March 2010, 20:57
linuxlover linuxlover is offline
Junior Member
 
Join Date: Mar 2010
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.10) keyslapper HOWTO-Related Questions 4 20th April 2010 15:46
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 9.04) Master One HOWTO-Related Questions 4 1st July 2009 15:38
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.10) VTCop HOWTO-Related Questions 9 9th April 2009 16:17
Virtual Users And Domains W/ Postfix, Courier and MySql + Squirrelmail prob nsurge HOWTO-Related Questions 10 23rd October 2006 17:43
Squirrelmail, dovecot IMAP and sendmail - how to make it work? webcho Server Operation 3 29th June 2006 16:14


All times are GMT +2. The time now is 11:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.