Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Redirect mail button on Wiki pages OS X Server
I have seen on the Apple discussion forum that there is no solution for the mentioned redirection. Today I have found a solution which was plain simple as all things Apple.

Every time you click on the mail link in Wiki Server it will take you to SquirrelMail login screen. This screen is the login.php file.

So in order to redirect Wiki Mail to any URL of your choice you just need to edit or substitute the login.php file which is located in /usr/share/squirrelmail/ like this:
/* Redirect browser */
header("Location: http://your_preffered_url/");

[crarko adds: I haven't tested this one, but it seems pretty straightforward. As always when editing system-related files, have a known good backup.]
  • Currently 1.46 / 5
  You rated: 2 / 5 (57 votes cast)

Redirect mail button on Wiki pages | 1 comments | Create New Account
Click here to return to the 'Redirect mail button on Wiki pages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Redirect mail button on Wiki pages
Authored by: alexiskai on Feb 20, '12 08:46:02AM

Be aware that SquirrelMail updates will overwrite this file. You'd be better off doing an Apache rewrite such that incoming URL requests for the SquirrelMail login with a referral from the wiki are redirected to the desired webmail.

[ Reply to This | # ]