Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VestaCP help
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

VestaCP help

agentmishraagentmishra Member, Host Rep

hello everybody

i need some help with vestacp...

  1. how to convert domain.com/webmail to webmail.domain.com

  2. if i had an email say, [email protected]

at the email username login, i wish to validate just mail1 instead of the complete [email protected]

if anybody could help

«1

Comments

  • MuZoMuZo Member
    1. You can do a simple redirect with htaccess or html / php / js. If you want it to be applied to all websites write the redirect in the default nginx/apache config.
    2. https://forum.vestacp.com , not sure if I understood your question but I don't think that's supported by the panel as [email protected] should be a different user from [email protected].
    Thanked by 1agentmishra
  • agentmishraagentmishra Member, Host Rep

    @MuZo said:
    1. You can do a simple redirect with htaccess or html / php / js. If you want it to be applied to all websites write the redirect in the default nginx/apache config.

    2. https://forum.vestacp.com , not sure if I understood your question but I don't think that's supported by the panel as [email protected] should be a different user from [email protected]

    my second question was

    say i have a domain a.com

    and an email say [email protected]

    so in vestacp at the webmail login we need to write the full user id as [email protected]

    what i wish is if there is any work around and if i could only write mail1 and then then login with the password...

  • cassacassa Member

    You can do 2 by going into the roundcube and set the default domain

    Thanked by 1agentmishra
  • MuZoMuZo Member

    I'm not sure as I don't use vestacp but if you want it to be applied to a single website it should be quite easy to do:

    1. copy the webmail login page from vestacp sources
    2. put it in your webmail.a.com domain
    3. edit the source to add the "@a.com" in the username field automatically
  • agentmishraagentmishra Member, Host Rep

    @cassa said:
    You can do 2 by going into the roundcube and set the default domain

    i am sorry, how do i do this?

  • agentmishraagentmishra Member, Host Rep

    but i am not having single domain

    arround more than 8 domains...

    i did try this, but it works only for 1 domain, so how to go about...

  • @agentmishra said:
    i did try this, but it works only for 1 domain, so how to go about...
    @agentmishra said:
    i did try this, but it works only for 1 domain, so how to go about...

    Upload a different version of roundcube for each domain!

    Thanked by 1agentmishra
  • agentmishraagentmishra Member, Host Rep

    @jar

    if you could help me in this

    also if i use kloxo, @linuxthefish i do not upload different versions there, its done by itself, so there must be a way which i am unable to figure out...

  • jarjar Patron Provider, Top Host, Veteran

    This would be an entirely manual setup and not reasonably accomplished. As @linuxthefish said your best bet is really to use different versions for each domain. When you have a global instance of Roundcube it is going to load one config file that has one default domain setting. I'm not sure about anything kloxo does, but speaking purely in terms of knowing Vesta and Roundcube, I can't think of a way to reasonably accomplish this without either developing a plugin for Roundcube or loading separate instances (literally or effectively by loading it's own index with domain specific includes) for each domain.

    Thanked by 1agentmishra
  • The following is in the kloxo config for roundcube:

    $__domain = $_SERVER['SERVER_NAME'];
    if (strstr($__domain, "webmail.") !== false) {
            $__domain = substr($__domain, strlen("webmail."));
    }
    $rcmail_config['username_domain'] = $__domain;
    Thanked by 2jar agentmishra
  • jarjar Patron Provider, Top Host, Veteran

    @linuxthefish said:
    The following is in the kloxo config for roundcube:

    $__domain = $_SERVER['SERVER_NAME'];
    > if (strstr($__domain, "webmail.") !== false) {
    >         $__domain = substr($__domain, strlen("webmail."));
    > }
    > $rcmail_config['username_domain'] = $__domain;

    Suppose that is one way to do it then, if that works :)

    Thanked by 2agentmishra netomx
  • agentmishraagentmishra Member, Host Rep

    @linuxthefish said:
    The following is in the kloxo config for roundcube:

    $__domain = $_SERVER['SERVER_NAME'];
    > if (strstr($__domain, "webmail.") !== false) {
    >         $__domain = substr($__domain, strlen("webmail."));
    > }
    > $rcmail_config['username_domain'] = $__domain;

    hurray

    this works!!!

    this works!!!

    yipee...

  • agentmishraagentmishra Member, Host Rep

    ok @jar, @linuxthefish, @earl, @cassa, @MuZo, thanks for this help

    and i have another issue, i understand this isnt vesetacp help desk, but if you can help me...

    in my inbox, in the mails the tab for the from/to email address is not showing any thing

    its just blank and empty, i am trying google, but if any body could help...

    and yes thanks once again

  • cassacassa Member

    You can better ask this these things here:

    http://www.roundcubeforum.net/

    Thanked by 1agentmishra
  • @agentmishra said:
    ok jar, linuxthefish, earl, cassa, MuZo, thanks for this help

    and i have another issue, i understand this isnt vesetacp help desk, but if you can help me...

    in my inbox, in the mails the tab for the from/to email address is not showing any thing

    its just blank and empty, i am trying google, but if any body could help...

    and yes thanks once again

    I've never had any issues like this, have you tried other browser or computer?

    Thanked by 1agentmishra
  • agentmishraagentmishra Member, Host Rep

    @linuxthefish said:
    I've never had any issues like this, have you tried other browser or computer?

    yup i did it

    in the inbox view, it should from/to after the subject ant than the dates and other things...

    every thing is fine only the from/to is not showing up

  • Have a look in the error logs for Dovecot and Roundcube: http://vestacp.com/docs/#config-log-location-rhel-centos (scroll down for Debian locations)

    Thanked by 1agentmishra
  • netomxnetomx Moderator, Veteran

    @agentmishra said:
    yipee...

    Says thanks with $10 via PayPal

    Thanked by 1agentmishra
  • agentmishraagentmishra Member, Host Rep

    @netomx said:
    Says thanks with $10 via PayPal

    i like that...

  • agentmishraagentmishra Member, Host Rep

    @linuxthefish said:
    Have a look in the error logs for Dovecot and Roundcube: http://vestacp.com/docs/#config-log-location-rhel-centos (scroll down for Debian locations)

    those dont show any problematic thing

  • agentmishraagentmishra Member, Host Rep

    @jar, @linuxthefish, @earl

    can any body let me know how to upgrade the roundcube in the vestacp install

    i did try but since its a packaged one from vestacp, i am not getting success.

    @jar, i believe you own a brand using vestacp, can you help me... (only if you do not consider me as a business rival and willing to share knowledge)

    @earl also has a fare good linux knowledge, your suggestion about the multi-domain code from kloxo for roundcube did work in vestacp.

    if any of you could help

  • You can replace /etc/roundcubemail with whatever webmail client you want...

  • jarjar Patron Provider, Top Host, Veteran

    @agentmishra said:
    every thing is fine only the from/to is not showing up

    Is the column blank or not there at all?

  • agentmishraagentmishra Member, Host Rep

    @jar could you update your roundcube in vestacp?

  • jarjar Patron Provider, Top Host, Veteran
    edited July 2014

    @agentmishra said:
    jar could you update your roundcube in vestacp?

    Consider it more of a manual installation of the latest version than an upgrade. That will be mostly your experience. It's not hard, but it's not fun for anyone who hasn't done it before.

  • agentmishraagentmishra Member, Host Rep

    @jar can you guide me...

    i am unable to do it...

  • jarjar Patron Provider, Top Host, Veteran
    edited July 2014

    @agentmishra said:
    jar can you guide me...

    i am unable to do it...

    I've not done it on a vesta setup. I've done it on servers where I originally installed roundcube from repository. It's rarely going to be the same steps twice with all of the supported distros.

    This is about as straight forward as I could guide: http://trac.roundcube.net/wiki/Howto_Install

    Thanked by 1agentmishra
  • agentmishraagentmishra Member, Host Rep

    ok one final note to every thing

    vestacp has different version of roundcube for centos and debian...

    things are fine with centos but a bit troublesome with debian...

Sign In or Register to comment.