View Full Version : redirecting mail.<mydomain>:80?
bprager
08-07-2007, 09:11 AM
I find the webmail access for users not really easy to remember or to handle.
Does anybody know if it is possible to redirect mail.<mydomain>:80 to go directly to a login page for squirrelmail? So that my users don't have to remember something like http://<ipaddress>:2082/frontend/bluehost/mail/webmailform.html?user=<user>&domain=<domain>
only to get another option to choose between horde and squirrelmail?
Thanks for any help.
areidmtm
08-07-2007, 09:22 AM
you can't create a sub-domain using mail.yourdomain.com, that's reserved and messes things up if you try to.
What you can do is create a sub-domain called email.yourdomain.com and then direct that to:
http://yourdomain.com:2095/3rdparty/squirrelmail/src/webmail.php
bprager
08-07-2007, 09:40 AM
Yes, I tried that. But the user has to identify herself by <username>+<domain>.
Any way to customize that so the username only suffices?
areidmtm
08-07-2007, 10:36 AM
Yes, I tried that. But the user has to identify herself by <username>+<domain>.
Any way to customize that so the username only suffices?
No because there are a lot of domains on the server, and some may have the same username, so you have to specify what domain it's going to.
bprager
08-07-2007, 11:51 AM
Can I use a private login page, merge usernames and domain name and redirect with POST/GET attributes?
areidmtm
08-07-2007, 12:04 PM
Can I use a private login page, merge usernames and domain name and redirect with POST/GET attributes?
I don't think so. You'd have to install your own web client, such as RoundCube, then you'd be able to do some editing.
bprager
08-07-2007, 01:24 PM
Oh wow! That worked like a charm. And beautiful! I am really excited.
Except: I cannot send.
I set the SMTP server to mail.<domain> port 26
So the appropriate settings in config/main.inc.php are:
---- snip --------------------
$rcmail_config['smtp_server'] = 'mail.<domain>';
// SMTP port (default is 25; 465 for SSL)
$rcmail_config['smtp_port'] = 26;
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = '%u';
// SMTP password (if required) if you use %p as the password RoundCube
// will use the current user's password for login
$rcmail_config['smtp_pass'] = '%p';
// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';
---- snip --------------------
Do you have some experiences with that? Where can I find a log file to dig in eventual errors?
Thanks for help.
areidmtm
08-07-2007, 01:31 PM
Have you tried port 25?
bprager
08-07-2007, 01:35 PM
It looks like a RoundCube error in the moment. Tha JavaScript console reports:
Error: tinyMCE is not defined
Source File: http://email.<domain>/program/js/app.js
Line: 1683
bprager
08-07-2007, 02:08 PM
I found one fix at the RoundCube CVS branch and applied it.
Now everything is working perfectly.
Thanks a lot areidmtm for all you help.
areidmtm
08-07-2007, 02:11 PM
Glad you got a solution that works for you!
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.