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.
You could use config snippets for that, or just paste everything right in the custom vhost config each time.
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.
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. 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?
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.