Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2010, 14:04
afandino afandino is offline
Member
 
Join Date: May 2009
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Default ispconfig3 and squirrel mail client

Guy's

I know this has been asked a dozen times before but i have not been able to find a clear answer.

Here is the scenario,

the mail client is accessed through the main domain of the webserver and all the clients need to be directed there for webmail access. this is how it is now.

What i need is for the client domain to have access to web mail at clientdomain.com/webmail and not the main server domain.

the other thing needed is for the address in the browser to show clientdomain/webmail, when i redirect the address bar shows the main domain/webmail

Is there a way to make this happen that is clearly described ?

thank you
tony
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2010, 12:20
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default

Have you thought about making an HTML file in yourdom.com/webmail that consists of a frame set? You can then load maindom.com/webmail into the main body frame causing the original URL to be still displayed in the address bar?
Reply With Quote
  #3  
Old 18th March 2010, 15:11
afandino afandino is offline
Member
 
Join Date: May 2009
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I give that a try. Really had not considered that approach. I will let you know how it works out.

tony
Reply With Quote
  #4  
Old 18th March 2010, 15:43
tony_simcock tony_simcock is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default

What I've done is have my webmail directory symlinked to all of my client domains... works for me...
Reply With Quote
  #5  
Old 18th March 2010, 16:16
afandino afandino is offline
Member
 
Join Date: May 2009
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by tony_simcock View Post
What I've done is have my webmail directory symlinked to all of my client domains... works for me...

Are you using ispconfig 3.02 ?
Reply With Quote
  #6  
Old 18th March 2010, 16:24
tony_simcock tony_simcock is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default

As of an hour ago - yes.
Previously I was on 3.0.1.6.

if your webmail/ directory is in /var/www/ and your client's root web directory is in /var/www/clients/client1/client1web/
then just type:
Code:
ln -s /var/www/webmail/ /var/www/clients/client1/client1web/webmail
Then when your client goes to www.client1web.com/webmail they'll get the squirrel mail login screen
Reply With Quote
The Following User Says Thank You to tony_simcock For This Useful Post:
Toucan (18th March 2010)
  #7  
Old 18th March 2010, 22:10
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 39 Times in 33 Posts
Default

Quote:
Originally Posted by tony_simcock View Post
As of an hour ago - yes.
Previously I was on 3.0.1.6.

if your webmail/ directory is in /var/www/ and your client's root web directory is in /var/www/clients/client1/client1web/
then just type:
Code:
ln -s /var/www/webmail/ /var/www/clients/client1/client1web/webmail
Then when your client goes to www.client1web.com/webmail they'll get the squirrel mail login screen
Nice idea Tony, my idea of the frame really wasn't the most fancy solution. I don't have much understanding of symlinks so i might give it a try myself.


Is this why I have duplicate contents of directories?

.///www/clients/client1/web33
is the same as
.///www.snugglestore.com?

Are symlinks used for that?

Afandino, don't forget you can edit the way squirrel mail looks to make it more in keeping with your sites
Reply With Quote
  #8  
Old 19th March 2010, 02:23
afandino afandino is offline
Member
 
Join Date: May 2009
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by tony_simcock View Post
As of an hour ago - yes.
Previously I was on 3.0.1.6.

if your webmail/ directory is in /var/www/ and your client's root web directory is in /var/www/clients/client1/client1web/
then just type:
Code:
ln -s /var/www/webmail/ /var/www/clients/client1/client1web/webmail
Then when your client goes to www.client1web.com/webmail they'll get the squirrel mail login screen

I tried that and i get a page that says "No input file specified. "
after i created the sym link. any ideas i have seen this before when i tried previously
Reply With Quote
  #9  
Old 19th March 2010, 10:03
tony_simcock tony_simcock is offline
Junior Member
 
Join Date: Mar 2010
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by afandino View Post
I tried that and i get a page that says "No input file specified. "
after i created the sym link. any ideas i have seen this before when i tried previously
Hi Afandino,
What OS are you running on? if you do a ls -al in the directory you symlinked your webmail directory to, is webmail in a red block? can you access the content of the directory by following the symlink?
eg. If you go from my example above, can you view the contents of /var/www/clients/client1/client1web/webmail ?
if not, its possible the symlink hasn't worked. In which case if you do a pwd on the dir where your webmail dir is and tell me where you want it, I'll send you the command.

Tony
Reply With Quote
  #10  
Old 19th March 2010, 14:53
afandino afandino is offline
Member
 
Join Date: May 2009
Posts: 35
Thanks: 1
Thanked 3 Times in 3 Posts
 
Default

i'm running on debian 5.0, I had read else ware that symbolic links to web mail
in ispconfig3.02 did not work correctly. I hope till or Falko could chime in here.

tony i have not tried ls -al.

the symbolic link i created did work in ftp i can view all the webmail files(not a good thing) I don't want my user to be able to see the contents of that directory for security reasons.

thanks for your help
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
ISPConfig3 memory configuration and Squirrel SamTzu General 4 30th August 2009 11:14
squirrel prob alf3299 Installation/Configuration 6 5th June 2009 19:53
Perfect Server 8.10+ISPC3 no mail e.gami Server Operation 4 24th April 2009 13:56


All times are GMT +2. The time now is 16:25.


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