Change /webmail/ directive per domain?

Discussion in 'Installation/Configuration' started by concept21, Aug 30, 2018.

  1. concept21

    concept21 Member

    Hello All ISPConfig v3.1 Users,
    Is it possible to configure different /webmail/ directive per domain?
    If yes, then how to change it per domain?

    Thanks for your valuable experience. :D
     
  2. Jesse Norell

    Jesse Norell Well-Known Member

    You could use config snippets for that, or just paste everything right in the custom vhost config each time.
     
  3. concept21

    concept21 Member

    It seems that there is no per domain setting for webmail directive. :oops:
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Jesse posted above how you can change the webmail alias per domain.
     
  5. Jesse Norell

    Jesse Norell Well-Known Member

    Correct, there is no setting in ISPConfig for it; in fact I don't think you have a /webmail alias setup at all as part of a perfect server setup, so you just handle it as any other path alias. If I were to do that for an individual site, I would start with the roundcube config from the os (Debian has one, at least), tweak it to have a /webmail alias, and add it as a config snippet which can be easily used in sites.
     
  6. concept21

    concept21 Member

    Hello Jesse,
    I know how to set up /webmail/ as the global roundcube /webmail/ sub-directory. I set it to a long string of random characters to avoid hackers' dictionary attack. :cool:

    And now, I want to go further with random /webmail/ directive per domain.
    So where can I see the config snippet form, referred by you, in ISPConfig 3.1? :rolleyes:
     
  7. Jesse Norell

    Jesse Norell Well-Known Member

    Create the snippets under System > Directive Snippets .. add a new snippet of type apache or nginx with the config directives you need, and save. Then to apply to a site, Sites > {domain} > Options and click the directive name at the bottom, which will prefill the content for that site, then hit save.
     
    concept21 likes this.

Share This Page