Roundcube Community Forum

 

Identities related question

Started by andy2008, October 05, 2010, 03:55:06 AM

Previous topic - Next topic

andy2008

Hello guys! I have a question and I hope someone can help me.

The file main.inc.php has the following setting:

$rcmail_config['default_host'] = '';

I entered my MX for login, like this:

$rcmail_config['default_host'] = 'mail.mydomain.com';

Everything is fine, but when the users send an e-mail, the originating address is [email protected]

Is there some way of defining the default identity as  being mydomain.com, so that the originating address always appears as [email protected], even though the rcmail_config is listed as mail.mydomain.com?
Thanks !

andy2008

Never mind. I edited $rcmail_config['mail_domain'] = 'mydomain.com';
This works for all new users that will log into roundcube and for the old users I edited the SQL database -> Identities. Everything is fine now.