Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th June 2006, 22:25
bkrausz bkrausz is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default Squirrelmail Package!

Well, this forum (and ISPConfig in general) made my life loads easier, so I figured it was time to give back to the community. Well, actually, I wanted to get SquirrelMail installed, and it was pretty easy to make a package.

http://nerdlife.net/ispconfig/squirrelmail.pkg

Tested on the latest release of ISPConfig under Debian Sarge. It doesn't conflict with other webmail packages, so feel free to install it for the sake of poking around.

How's it work for you guys?

--Brian
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2006, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Thanks for the package

May I make the package available for download on the ISPConfig website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th June 2006, 07:08
alexnz alexnz is offline
Member
 
Join Date: Jun 2006
Posts: 66
Thanks: 3
Thanked 0 Times in 0 Posts
Default

working perfectly, thank you!
Reply With Quote
  #4  
Old 19th June 2006, 07:48
bkrausz bkrausz is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Thanks for the package

May I make the package available for download on the ISPConfig website?
no problem...that's why i made it.

fyi this package uses the full email address for logins...it looks at virtusertable (vlogin mod)

Last edited by bkrausz; 19th June 2006 at 07:52.
Reply With Quote
  #5  
Old 19th June 2006, 08:57
Brenton Brenton is offline
Member
 
Join Date: Jul 2005
Posts: 68
Thanks: 2
Thanked 2 Times in 1 Post
Default Ubuntu 5.10

Hi

Would this work on a Perfect Install - Ubuntu 5.10 as is? Or would I have to make any adjustments to the .pak file?

Been waiting for this. Thank you very much for making this available.

Regards
Brenton
Reply With Quote
  #6  
Old 19th June 2006, 09:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

The .pkg files are working for all linux distributions and can be installed with the ISPConfig update function.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 19th June 2006, 10:49
Brenton Brenton is offline
Member
 
Join Date: Jul 2005
Posts: 68
Thanks: 2
Thanked 2 Times in 1 Post
Default

Thanks for your reply till, I've installed the .pkg file and it works great.

One more question, if I want http://mail.domain.com to point to the Squirrelmail how would I go about it?

I apologise for these basic questions, but I'm doing this on a production server and am having to be very careful.

Regards
Brenton
Reply With Quote
  #8  
Old 20th June 2006, 14:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

You can do it with a PHP header redirect:

PHP Code:
<?php
header
("Location: https://www.example.com:81/squirrelmail"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
?>
Replace squirrelmail with the real directory.
__________________
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
  #9  
Old 21st June 2006, 00:59
bkrausz bkrausz is offline
Junior Member
 
Join Date: Jun 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
You can do it with a PHP header redirect:

PHP Code:
<?php
header
("Location: https://www.example.com:81/squirrelmail"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
?>
Replace squirrelmail with the real directory.
You can also just setup a forward in the co-domains option to redirect mail.something.com to that site.

What I've been wondering is if there's a way to do this for all mail.*, so that all clients can go to mail.theirdomain.com and be redirected without having to manually set it.
Reply With Quote
  #10  
Old 21st June 2006, 11:46
todvard todvard is offline
Member
 
Join Date: Aug 2005
Posts: 85
Thanks: 1
Thanked 6 Times in 5 Posts
 
Default

you can create a virtualhost in Apache (not in ISPConfig) with this content:

<VirtualHost 192.168.1.1:80>
ServerName mail.*:80
ServerAdmin webmaster@domain.com

DocumentRoot /var/www/sharedip

RewriteEngine On
RewriteCond %{HTTP_HOST} ^webmail..+..+$ [NC]
RewriteCond %{HTTP_HOST} !^mail.domain.com$
RewriteRule ^(.*)$ https://webmail.domain.com$1 [R=301]

</VirtualHost>

It will redicrect all incoming querys from http://mail.* to https://webmail.domain.com (of course, "webmail" hosname in domain.com domain should exist, and "mail" host in all domains too, you can create them in DNS Manager)

Last edited by todvard; 21st June 2006 at 12:03.
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, domains Postfix.. & Squirrelmail laser144 HOWTO-Related Questions 6 4th May 2006 23:23
Help....package missing sbovisjb1 Installation/Configuration 3 31st March 2006 11:14
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58
Logging in to isp config Jrdgames General 43 6th March 2006 19:04
suse 9.3 install: E: Couldn't find package ncftp aallen Installation/Configuration 4 26th January 2006 20:02


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


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