Koozali.org: home of the SME Server

Roundcube not accessible

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: Roundcube not accessible
« Reply #15 on: June 01, 2008, 09:52:26 PM »
Cactus,

I think I don't really understand. Do you mean I should alter the template?
Quote
The localhost setting you are using in the context described above is different from the context you stated in earlier messages. Did you adapt your configuration to access the IMAP server at localhost instead of with the full qulaified domain name (FQDN)?

If I'm correct, I should replace $DomainName in the template /etc/e-smith/templates/opt/roundcube/config/main.inc.php/10default_host :

Code: [Select]
{
    $OUT .= "\$rcmail_config['default_host'] = '$DomainName';";
    $OUT .= "\$rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Trash');";
    $OUT .= "\$rcmail_config['junk_mbox'] = 'junkmail'; ";
    $OUT .= "\$rcmail_config['sent-mail'] = 'sent-mail'; ";
    $OUT .= "\$rcmail_config['preview_pane'] = TRUE; ";
}

If that's correct, should I just replace '$DomainName' with 'localhost'?
...

Offline EdelingF

  • *****
  • 215
  • +0/-0
Re: Roundcube not accessible
« Reply #16 on: June 02, 2008, 08:40:16 PM »
Replaced '$DomainName' with 'localhost' in the template /etc/e-smith/templates/opt/roundcube/config/main.inc.php/10default_host and did:

Code: [Select]
expand-template /opt/roundcube/config/main.inc.php
And that solved the problem!  :lol:
Thanks guys
...