[RCU] multiple domain

Nelson Serafica ntserafica at gmail.com
Sat Mar 24 04:26:00 CET 2012


Please disregard my email. I just discovered that I need to activate it on
plugin.

On Sat, Mar 24, 2012 at 11:07 AM, Nelson Serafica <ntserafica at gmail.com>wrote:

> I'm using multiple domain in my RC
>
> $rcmail_config['default_host'][] = 'foo.com';
> $rcmail_config['default_host'][] = 'fee.com';
> $rcmail_config['default_host'][] = 'fuu.com';
>
> This creates a dropdown menu on my RC. However, users could login to these
> three domain. Would it be possible to set users to login only in one of
> these domain? I'm using MySQL and users is on local system. Basically, what
> I only want is if I can only user USERA to have an email of USERA at foo.comonly. I tried the ff steps below:
>
> $rcmail_config['default_host'] = 'foo.com';
>
> And remove
>
> $rcmail_config['default_host'][] = 'fee.com';
> $rcmail_config['default_host'][] = 'fuu.com';
>
> Add virtuser_file.
>
> $rcmail_config['virtuser_file'] = '/etc/mail/virtuser';
>
> Contents is nelson at fee.com nelson.
>
> I deleted nelson on the users table of roundcubemail database.
>
> When I tried to login using nelson and compose a message, my email in the
> From field is still nelson at foo.com. It should be nelson at fee.com
>
> Am I doing the right procedure?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20120324/d13183ff/attachment.html>


More information about the users mailing list