HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=19)
-   -   Squirrelmail Package! (http://www.howtoforge.com/forums/showthread.php?t=4964)

bkrausz 16th June 2006 22:25

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

till 17th June 2006 10:34

Thanks for the package :)

May I make the package available for download on the ISPConfig website?

alexnz 19th June 2006 07:08

working perfectly, thank you!

bkrausz 19th June 2006 07:48

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)

Brenton 19th June 2006 08:57

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

till 19th June 2006 09:38

The .pkg files are working for all linux distributions and can be installed with the ISPConfig update function.

Brenton 19th June 2006 10:49

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

falko 20th June 2006 14:38

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.

bkrausz 21st June 2006 00:59

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.

todvard 21st June 2006 11:46

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)


All times are GMT +2. The time now is 17:09.

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