HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   My client's website can't acces webmail...some help (http://www.howtoforge.com/forums/showthread.php?t=61701)

razvandc 2nd May 2013 23:34

My client's website can't acces webmail...some help
 
Heloo i'm new here and in linux but i do my best to learn .

I've instaled new server with : http://www.howtoforge.com/perfect-se...ot-ispconfig-3

And all service work fine but i cannot acces webmail by client site
exemple : www.client.example.com/webmail

i can acces webmail by server ip address example 88.88.88.158/webmail

But work phpmyadmin www.client.example.com/phpmyadmin
this work ...

Is someone who can help me how to configure webmail or ispconfig to make it work?

Thanks and sorry for my bad english

Toucan 3rd May 2013 02:47

Unless things have changed, this isn't a simple task to achieve. The webmail program runs under a different user than the clients site so permissions would be all different.

I have tried using sym links to achieve this but only partial success.

A simple answer could be up build your client a page with an iframe in it to give the impression of that URL.

Or you could explore url rewrite modules.

razvandc 3rd May 2013 09:29

ok
and another thing when i create a client site without database ex : client.com/webmail works it opens squerremail but when i create a database for respective website squerremail no more work ...
after i create database for respective domain when acces webmail apear something to download and i download and apear this in downloaded file
Quote:

<?php

/**
* index.php
*
* Redirects to the login page.
*
* @copyright 1999-2010 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: index.php 13893 2010-01-25 02:47:41Z pdontthink $
* @package squirrelmail
*/

// Are we configured yet?
if( ! file_exists ( 'config/config.php' ) ) {
echo '<html><body><p><strong>ERROR:</strong> Config file ' .
'&quot;<tt>config/config.php</tt>&quot; not found. You need to ' .
'configure SquirrelMail before you can use it.</p></body></html>';
exit;
}

// If we are, go ahead to the login page.
header('Location: src/login.php');

?>
someboy know who ti fix this ?

till 3rd May 2013 09:36

Quote:

Originally Posted by Toucan (Post 296677)
Unless things have changed, this isn't a simple task to achieve. The webmail program runs under a different user than the clients site so permissions would be all different.

This has changed in the meantime. If you follow chapter 20.2 of the perfects etup guide, then squirrelmail runs as apache / www-data user.

http://www.howtoforge.com/perfect-se...ispconfig-3-p6

@razvandc: did you configure squirrelmail as described in chapter 20.2?

razvandc 3rd May 2013 09:41

yes but i will reconfigure maybe i do something wrong ...

i will come back with details thanks !

razvandc 4th May 2013 17:11

now i configure like in guide but when i acces website address now go directly to mail

ex when i type my website adress.com now redirect me to squirre mail

how to fix this?

razvandc 5th May 2013 18:15

somebody?
when i acces website adress now redirect me directrly to squerremail
please some help
i wil become subscriber but when i will activate my card acount thanks .


All times are GMT +2. The time now is 22:23.

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