Author Topic: Advanced Configurations; Before I expend a lot of time, am I on the right track?  (Read 1745 times)

Offline strcube

  • Newbie
  • *
  • Posts: 9
Hi Folks,

I'm a newbie with Roundcube, but I'm a very experienced system administrator, so big-picture sorts of replies are great, but "the devil is in the details," of course!

The Goal: Provide existing users an alternative to accessing their email accounts via mail applications such as Thunderbird or (-gack!-) Outlook.

Existing Email Config: Pure port-based, always encrypted access through a firewall / gateway via port-forwarding to well protected "internal" servers.

Existing Web Config: Standard Apache on an "external" box on the internet that's also connected to an internal net. The occasional need to get to internal systems, for services such as email list services such as MailMan are performed via standard mechanisms like pipermail.

Existing Database Config: Postgres on an internal server, accessed via internal net using Postgres' access security mechanisms.

Questions:

I presume that this is not a big deal to configure by installing Roundcube on a web server box and then accessing the internal servers via the internal net. That is, I presume Roundcube doesn't want / require direct access to mail folders but can use established servers like Dovecot for this kind of access. If that's a problem, I'd like to know before I get deep into this!

Does Roundcube have knowledge of or "care" about the URL that gets the client there? That is, can I provide individualized "branding" for the various domains that are served by the environment? (This computing environment serves some 50 to 60 domains, variously .coms and .orgs, etc.) It would be nice if, at the very least, Roundcube doesn't require some "hard coded" configuration information that locks it to a domain, or appear to a clueless user as if they're "talking" with a server from "some other company," or otherwise distress them.

Future Goal: We want to start offering "virtual email accounts" sometime soon. Are these going to be an issue with Roundcube?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
I presume that this is not a big deal to configure by installing Roundcube on a web server box and then accessing the internal servers via the internal net. That is, I presume Roundcube doesn't want / require direct access to mail folders but can use established servers like Dovecot for this kind of access. If that's a problem, I'd like to know before I get deep into this!
As long as the web server can talk to the servers on the internal net there shouldn't be any problem with this setup. Roundcube would connect though Dovecot for getting all the mail.

Does Roundcube have knowledge of or "care" about the URL that gets the client there? That is, can I provide individualized "branding" for the various domains that are served by the environment? (This computing environment serves some 50 to 60 domains, variously .coms and .orgs, etc.) It would be nice if, at the very least, Roundcube doesn't require some "hard coded" configuration information that locks it to a domain, or appear to a clueless user as if they're "talking" with a server from "some other company," or otherwise distress them.
This shouldn't be an issue, there are config options provided so you can pre fill the user domain for login if needed. You can also have overwrite config files if needed for specific domains.

Future Goal: We want to start offering "virtual email accounts" sometime soon. Are these going to be an issue with Roundcube?
I'm not sure what you mean by virtual email accounts, so I can't comment on that.

Offline strcube

  • Newbie
  • *
  • Posts: 9
Thanks, SKaero.

[Regarding using Dovecot vs direct mail file access.]
As long as the web server can talk to the servers on the internal net there shouldn't be any problem with this setup. Roundcube would connect though Dovecot for getting all the mail.

Great! This is what I suspected but I think the demo or example install shows direct file access which is why I was concerned.

[Regarding domain name "branding."]
This shouldn't be an issue, there are config options provided so you can pre fill the user domain for login if needed. You can also have overwrite config files if needed for specific domains.

This is great news!

[Regarding "virtual email accounts".]
I'm not sure what you mean by virtual email accounts, so I can't comment on that.

Ah, well, if only we can find the time for it, we want to set up email accounts in which the user doesn't have a username on the mail server host, but rather such username entries are just "virtual" and, as a HUGE added bonus, are on a per-domain-name basis. So, that way we can have two users with the same email username but served by different domains.

More here, if you want.

https://www.rosehosting.com/blog/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps/

As this would be using Dovecot, my intuition is that this won't be any problem since, again, we're avoiding direct mail file access. If I get it working, may report back here someday!