Author Topic: User have username@localhost extension instead of domain name?  (Read 3020 times)

Offline Gastons

  • Newbie
  • *
  • Posts: 1
User have username@localhost extension instead of domain name?
« 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!
« Last Edit: September 08, 2014, 11:29:24 AM by Gastons »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: User have username@localhost extension instead of domain name?
« Reply #1 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.

Offline iburnthings

  • Newbie
  • *
  • Posts: 9
Re: User have username@localhost extension instead of domain name?
« Reply #2 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.