Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Gastons on September 08, 2014, 11:17:58 AM

Title: User have username@localhost extension instead of domain name?
Post by: Gastons on September 08, 2014, 11:17:58 AM
Hello everyone!

I've set up Roundcube for 1st time and i'm very excited.
Hope you can help me on following noob question:

When I log to Roundcube user has e-mail extension by default "username@localhsot".
I want it to be "username@my_domain_name.org".

So far I tried to Google for possible solutions, one of them was to edit main.inc.php and set $rcmail_config['mail_domain'] = '%n'; but sadly it is not helping.

Any suggestions how to fix this are very welcomed!
Title: Re: User have username@localhost extension instead of domain name?
Post by: SKaero on September 08, 2014, 02:27:50 PM
The identity is setup at the first login so you'll need to change it manually in the settings.
Title: Re: User have username@localhost extension instead of domain name?
Post by: iburnthings on September 09, 2014, 05:03:22 PM
If you are using a single domain this worked for me.
$rcmail_config['mail_domain'] = 'domain.tld';

where domain.tld was my actualy FQDN for my mail server.