Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Is it possible to directly log in to webmail?

Discussion in 'E-mail Discussion' started by ItsMeRomian, Aug 7, 2015.

  1. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello! Im new on here so I dont know much about this forum!

    I have a simple question, is it possible to direcly log in to roundcube without entering your email adress and password. I have my own login portal on my website for my staff.

    I saw on the demo of hostgator that they used:
    demo.hostgator.com/login?user=shared&pass=sharedpass123
    I tryed this on my own website to and it worked.

    Is this possible? And how?
    Thanks for your time and help.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You could develop a script that uses secure remote logins as documented here:

    Secure Remote Logins

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello!
    Thanks for your reply,
    unfortunately I dont have access to the cPanel files becouse I'm on a shared host.
     
  4. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,741
    Likes Received:
    76
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you do not need access you just have to place the script in your site
    there are plenty of examples of log in scripts in the forms as well as the the one Micheal linked to you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello,

    This is maybe a dumb question, but what language is this script on the end of the page?
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    It's a Perl script based on the first line:

    Code:
    #!/usr/bin/perl 
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    Hello,

    When I run the script I get a 500 error, I gave myself the permissions but it still doesnt work. I tryed to run a sample script and that one worked.
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    What specific output do you see in /usr/local/cpanel/logs/error_log or /usr/local/apache/logs/error_log when running the script?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ItsMeRomian

    ItsMeRomian Member

    Joined:
    Aug 7, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Emmen
    cPanel Access Level:
    Website Owner
    None
     
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Could you provide more details about the script you have developed such as where it's stored and how you are accessing it?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice