Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    5

    Default Can I webmail login straight to inbox rather than choosing email cilent each time

    Hi - my clients want to login to: http://theiraccount.com/webmail and then on entering user name and password go straight into their inbox (in say neomail) instead of each time being presented with a choice of neomail/horde/squirrel mail.

    Is this possible?

    Thanks...
    Last edited by chrisj; 09-09-2004 at 08:11 AM. Reason: spelling mistakes!

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,914
    Last edited by dalem; 09-09-2004 at 08:30 AM.

  3. #3
    Member
    Join Date
    Sep 2004
    Posts
    5

    Default from /webmail though?

    Thanks Dalem... anyway to get it automatic from http://domain.com/webmail which is easier for clients to remember?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,914

    Default

    http://domin.com:2095/horde/
    http://domin.com:2095/neomail/

    works for everthing exept squirrelmail


    or install cpanel proxy mail.domain.com/horde/ no ssl support


    thats as close as you can get without some hacking

  5. #5
    Member verdon's Avatar
    Join Date
    Nov 2003
    Location
    Northern Ontario, Canada
    Posts
    792

    Default

    Can't something be done in httpd.conf to get what chrisj wants?

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    http://domain.com:2095/squirrelmail/src/login.php worked for me.

    Question, can I pass the login information from my script to this?

    Al
    -Albert

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,914

    Default

    squirrelmail must be set up differently on differnt builds of OS

    PHP Code:
    http://domain.com:2095/squirrelmail/src/login.php worked for me. 
    mine goes to neomail it needs the 3rdparty in it


    I am sure you could write a php or cgi script to redirect to the different mail clients but that wasnot the orig question

    here is a simple java script


    <script type="text/javascript"> function set_target() {

    var username, password, servername, login_option, protacal;
    domain = document.forms.login_form.user.value;


    login_option = document.forms.login_form.login_option.value;

    login_option == '2096' ? protacal = 'https://' : protacal = 'http://'
    ;

    document.forms.login_form.action = protacal + domain + ':' + login_option
    ;

    } </script>

    domain name
    <form name="login_form" method="post" onsubmit="set_target();">
    <table width="154" height="59" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td height="38">
    <p><font color="#ffffff" size="1">DOMAIN
    NAME </font>
    <input style="width: 125px; height: 18px;" name="user" class="input" type="text" value="">
    <br> <select style="width: 125px; height: 18px;" name="login_option" class="input">

    <option value="2096/3rdparty/squirrelmail/src/login.php">squirrelmail</option>
    <option value="2096/neomail/neomail.pl">neomail/</option>
    <option value="2096/horde/index.php">horde Webmail</option></select> <font size="1" color="#ffffff">LOGIN
    TYPE </font> </p></td></tr><tr><td height="21">
    <input type="image" src="/images/login.gif" width="47" height="16"> </form>
    Last edited by dalem; 12-07-2005 at 03:43 PM.

  8. #8
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    close, wanting to use a form that prompts for user and password then logs directly into squirrel mail. without the 2nd prompt.
    -Albert

  9. #9
    Member
    Join Date
    Sep 2004
    Location
    Singapore
    Posts
    7

    Default

    Quote Originally Posted by dalem
    squirrelmail must be set up differently on differnt builds of OS

    PHP Code:
    http://domain.com:2095/squirrelmail/src/login.php worked for me. 
    TYPE </font> </p></td></tr><tr><td height="21">
    <input type="image" src="/images/login.gif" width="47" height="16"> </form>

    don't understand.

    my webmail always have popup to ask for email address and password

    http://webmail.steventay.com

    how do i make it like http://webmail.100for100.com

    thank.

  10. #10
    Member ryno267's Avatar
    Join Date
    Mar 2004
    Location
    Az, USA
    Posts
    214

    Default

    you can edit your httpd.conf file to route to the squirrelmail directory instead of the cpanel page. I did it.. search on the forum (older than 30days) for squirrelmail... I asked this a long time ago and remedied it...

  11. #11
    Member
    Join Date
    Sep 2004
    Posts
    5

    Talking Solution

    Inspired by your comments, I realised I could simply place the following php redirect message in a page called index.php in a folder called mail. Thereby my client can simply type in www.theirdomain.com/mail enter their username and password and end up straight away in their inbox. Excellent - thanks guys
    Chris

    index.php simply contains:

    <?php
    header("Location: http://domaincom:2095/neomail/");
    exit;
    ?>

  12. #12
    Member ryno267's Avatar
    Join Date
    Mar 2004
    Location
    Az, USA
    Posts
    214

    Default

    lol.. sure.. that'll work too... just re-re-forwards it...

  13. #13
    Registered User
    Join Date
    Jun 2005
    Posts
    2

    Default only neomail?

    how come this solution doesnt work for squirrel or horde?

  14. #14
    Member ryno267's Avatar
    Join Date
    Mar 2004
    Location
    Az, USA
    Posts
    214

    Default

    well it should in theory - just make sure you use the correct port and dir structure.

  15. #15
    Oso
    Oso is offline
    Registered User
    Join Date
    Oct 2005
    Posts
    1

    Default

    This is so weird, tell me whats wrong guys, if you will.

    Code:
    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" x-undefined>
    <title>Mail</title>
    </head>
    
    <body>
    <?php
    header("Location: http://peaches-gaming.com:2095/neomail/"); 
    exit;
    ?>
    
    
    </body>
    
    </html>

Similar Threads & Tags
Similar threads

  1. Is There URL Straight To Awstats Like There Is For Webmail
    By mrmbarnes in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-02-2008, 07:49 PM
  2. carnt send receve email or login to webmail
    By Harry E in forum E-mail Discussions
    Replies: 2
    Last Post: 01-17-2008, 03:55 PM
  3. Email send from webmail gives a time stamp 12 hours off.
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-08-2007, 05:01 PM
  4. webmail login - just won't let any sub-email accounts in.
    By JustinK in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-26-2002, 03:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube