+ Reply to Thread
Results 1 to 10 of 10

Thread: Roundcube not disply correctly my domain name.

  1. #1
    carlos.aat is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    1
    Uploads
    0

    Cool Roundcube not disply correctly my domain name.

    Hello, I'm new to roundcube.

    I have setup correctly roundcube in my server (CentOs 5.2) with Dovecot and Postfix and it works great, fast and sleek, but i have one problem,all the outgoing email is sent as user@localhost.mydomain.com.mx instead of user@mydomain.com.mx, I have already change parameters in my main.inc.php but I'm not been able to make it work.

    I must say that i dont think tha it is a postfix problem,because my Thunderbird users had no problem. Some time ago I have the same problem with Squirrelmail but tweaking the configuration file work it out.

    If someone knows hot to work this out please post it , as far is the only problem that I have.
    Thanks.


    #As you may noticed English is not my firs language

  2. #2
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    Have you changed the email in Settings>Identities?

  3. #3
    carlos.aat is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    1
    Uploads
    0

    Default

    Yes in fact I do, and It works, but after Edit my identities the mail takes longer to get to their destination.... Why is that?

  4. #4
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    It sounds like it may be using php mail, do you have SMTP setup?

  5. #5
    carlos.aat is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    1
    Uploads
    0

    Default

    php mail? I don't understand exactly what you are saying, I belive my postfix and dovecot configurations are ok, because my Thunderbird and outlook clients work fine.

    Anyway is there a way to change the identities in an automatic way, no because I'm lazy, but I have (or going to have) A LOT of roundcube users, and it will take a long time to do that manually, thank for the replies, appreciated.

  6. #6
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    Can you post your /config/main.inc.php so I can see how your RoundCube installation is setup?

  7. #7
    carlos.aat is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Can you post your /config/main.inc.php so I can see how your RoundCube installation is setup?
    Code:
    ?php
    
     +-----------------------------------------------------------------------+
     | Main configuration file                                               |
     |                                                                       |
     | This file is part of the RoundCube Webmail client                     |
     | Copyright (C) 2005-2009, RoundCube Dev. - Switzerland                 |
     | Licensed under the GNU GPL                                            |
     |                                                                       |
     +-----------------------------------------------------------------------+
    
    */
    
    $rcmail_config = array();
    
    $rcmail_config['debug_level'] = 1;
    
    $rcmail_config['log_driver'] = 'file';
    
    $rcmail_config['log_date_format'] = 'd-M-Y H:i:s O';
    
    $rcmail_config['syslog_id'] = 'roundcube';
    
    $rcmail_config['syslog_facility'] = LOG_USER;
    
    $rcmail_config['log_dir'] = 'logs/';
    
    $rcmail_config['temp_dir'] = 'temp/';
    
    $rcmail_config['plugins'] = array();
    
    $rcmail_config['enable_caching'] = TRUE;
    
    $rcmail_config['message_cache_lifetime'] = '10d';
    
    $rcmail_config['force_https'] = FALSE;
    
    $rcmail_config['auto_create_user'] = FALSE;
    
    $rcmail_config['default_host'] = 'localhost';
    
    $rcmail_config['default_port'] = 143;
    
    $rcmail_config['imap_auth_type'] = null;
    
    $rcmail_config['imap_root'] = null;
    $rcmail_config['imap_delimiter'] = null;
    
    $rcmail_config['username_domain'] = '';
    
    $rcmail_config['mail_domain'] = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
    
    $rcmail_config['virtuser_file'] = '';
    
    $rcmail_config['virtuser_query'] = '';
    
    $rcmail_config['smtp_server'] = '';
    
    $rcmail_config['smtp_port'] = 25;
    
    $rcmail_config['smtp_user'] = '';
    
    $rcmail_config['smtp_pass'] = '';
    
    $rcmail_config['smtp_auth_type'] = '';
    
    $rcmail_config['smtp_helo_host'] = '';
    
    $rcmail_config['smtp_log'] = TRUE;
    
    $rcmail_config['sql_debug'] = false;
    
    $rcmail_config['imap_debug'] = false;
    
    $rcmail_config['smtp_debug'] = false;
    
    $rcmail_config['sendmail_delay'] = 0;
    
    $rcmail_config['list_cols'] = array('subject', 'from', 'date', 'size', 'flag', 'attachment');
    
    $rcmail_config['skin_include_php'] = FALSE;
    
    $rcmail_config['session_lifetime'] = 10;
    
    $rcmail_config['ip_check'] = false;
    
    $rcmail_config['double_auth'] = false;
    
    $rcmail_config['des_key'] = 'rcmail-!24ByteDESkey*Str';
    
    $rcmail_config['language'] = null;
    
    $rcmail_config['date_short'] = 'D H:i';
    
    $rcmail_config['date_long'] = 'd.m.Y H:i';
    
    $rcmail_config['date_today'] = 'H:i';
    
    $rcmail_config['useragent'] = 'RoundCube Webmail/'.RCMAIL_VERSION;
    
    $rcmail_config['product_name'] = 'RoundCube Webmail';
    
    $rcmail_config['drafts_mbox'] = 'Drafts';
    
    $rcmail_config['junk_mbox'] = 'Junk';
    
    $rcmail_config['sent_mbox'] = 'Sent';
    
    $rcmail_config['trash_mbox'] = 'Trash';
    
    $rcmail_config['default_imap_folders'] = array('INBOX', 'Drafts', 'Sent', 'Junk', 'Trash');
    
    $rcmail_config['create_default_folders'] = FALSE;
    
    $rcmail_config['protect_default_folders'] = TRUE;
    
    $rcmail_config['quota_zero_as_unlimited'] = FALSE;
    
    $rcmail_config['mdn_requests'] = 0;
    
    $rcmail_config['default_charset'] = 'ISO-8859-1';
    
    $rcmail_config['enable_spellcheck'] = TRUE;
    
    $rcmail_config['spellcheck_engine'] = 'googie';
    
    $rcmail_config['spellcheck_uri'] = '';
    
    $rcmail_config['spellcheck_languages'] = NULL;
    
    $rcmail_config['generic_message_footer'] = '';
    
    $rcmail_config['http_received_header'] = false;
    
    $rcmail_config['http_received_header_encrypt'] = false;
    
    $rcmail_config['mail_header_delimiter'] = NULL;
    
    $rcmail_config['session_domain'] = '';
    
    $rcmail_config['address_book_type'] = 'sql';
    
    $rcmail_config['ldap_public'] = array();
    
     * example config for Verisign directory
     *
    $rcmail_config['ldap_public']['Verisign'] = array(
      'name'          => 'Verisign.com',
      'hosts'         => array('directory.verisign.com'),
      'port'          => 389,
      'use_tls'	    => false,
      'user_specific' => false,   // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
      // %fu - The full username provided, assumes the username is an email
      //       address, uses the username_domain value if not an email address.
      // %u  - The username prior to the '@'.
      // %d  - The domain name after the '@'.
      'base_dn'       => '',
      'bind_dn'       => '',
      'bind_pass'     => '',
      'writable'      => false,   // Indicates if we can write to the LDAP directory or not.
      // If writable is true then these fields need to be populated:
      // LDAP_Object_Classes, required_fields, LDAP_rdn
      'LDAP_Object_Classes' => array("top", "inetOrgPerson"), // To create a new contact these are the object classes to specify (or any other classes you wish to use).
      'required_fields'     => array("cn", "sn", "mail"),     // The required fields needed to build a new contact as required by the object classes (can include additional fields not required by the object classes).
      'LDAP_rdn'      => 'mail', // The RDN field that is used for new entries, this field needs to be one of the search_fields, the base of base_dn is appended to the RDN to insert into the LDAP directory.
      'ldap_version'  => 3,       // using LDAPv3
      'search_fields' => array('mail', 'cn'),  // fields to search in
      'name_field'    => 'cn',    // this field represents the contact's name
      'email_field'   => 'mail',  // this field represents the contact's e-mail
      'surname_field' => 'sn',    // this field represents the contact's last name
      'firstname_field' => 'gn',  // this field represents the contact's first name
      'sort'          => 'cn',    // The field to sort the listing by.
      'scope'         => 'sub',   // search mode: sub|base|list
      'filter'        => '',      // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
      'fuzzy_search'  => true);   // server allows wildcard search
    */
    
    $rcmail_config['autocomplete_addressbooks'] = array('sql');
    
    $rcmail_config['dont_override'] = array();
    
    $rcmail_config['identities_level'] = 0;
    
    $rcmail_config['include_host_config'] = false;
    
    $rcmail_config['max_pagesize'] = 200;
    
    $rcmail_config['mime_magic'] = '/usr/share/misc/magic';
    
    $rcmail_config['message_sort_col'] = 'date';
    
    $rcmail_config['message_sort_order'] = 'DESC';
    
    $rcmail_config['enable_installer'] = false;
    
    $rcmail_config['log_logins'] = false;
    
     * 'Delete always'
     * This setting reflects if mail should be always marked as deleted,
     * even if moving to "Trash" fails. This is necessary in some setups
     * because a) people may not have a Trash folder or b) they are over
     * quota (and Trash is included in the quota).
     *
     * This is a failover setting for iil_C_Move when a message is moved
     * to the Trash.
     */
    $rcmail_config['delete_always'] = false;
    
    $rcmail_config['min_keep_alive'] = 60;
    
    
    $rcmail_config['skin'] = 'default';
    
    $rcmail_config['pagesize'] = 40;
    
    $rcmail_config['timezone'] = 'auto';
    
    $rcmail_config['dst_active'] = (bool)date('I');
    
    $rcmail_config['prefer_html'] = TRUE;
    
    $rcmail_config['show_images'] = 0;
    
    $rcmail_config['htmleditor'] = FALSE;
    
    $rcmail_config['prettydate'] = TRUE;
    
    $rcmail_config['draft_autosave'] = 300;
    
    $rcmail_config['preview_pane'] = TRUE;
    
    $rcmail_config['focus_on_new_message'] = true;
    
    $rcmail_config['logout_purge'] = FALSE;
    
    $rcmail_config['logout_expunge'] = FALSE;
    
    $rcmail_config['inline_images'] = TRUE;
    
    $rcmail_config['mime_param_folding'] = 1;
    
    $rcmail_config['skip_deleted'] = FALSE;
    
    $rcmail_config['read_when_deleted'] = TRUE;
    
    $rcmail_config['flag_for_deletion'] = FALSE;
    
    $rcmail_config['keep_alive'] = 60;
    
    $rcmail_config['check_all_folders'] = FALSE;
    
    $rcmail_config['display_next'] = FALSE;
    
    
    ?>

  8. #8
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    Change your default host to your mail server its usually mail.yourdomain.com, its what the imap server that you would same as the one for Thunderbird.
    Code:
    $rcmail_config['default_host'] = 'localhost';

  9. #9
    carlos.aat is offline Registered User
    Join Date
    Oct 2009
    Posts
    5
    Downloads
    1
    Uploads
    0

    Default

    Quote Originally Posted by skaero View Post
    Change your default host to your mail server its usually mail.yourdomain.com, its what the imap server that you would same as the one for Thunderbird.
    Code:
    $rcmail_config['default_host'] = 'localhost';
    After reading your post i Immediately do the changes you suggest, but.... the it says that my user or password is incorrect, (i always log with just the user name, not username@domain.com.mx) the I try to login as username@domain.com.mx but the same error

  10. #10
    skaero's Avatar
    skaero is offline Administrator
    Join Date
    Jun 2006
    Location
    USA - New Mexico
    Posts
    2,085
    Downloads
    5
    Uploads
    0

    Default

    It sound like you have the mail server incorrect, try changing the following items
    Code:
    $rcmail_config['mail_domain'] = 'domain.com.mx';
    Code:
    $rcmail_config['username_domain'] = 'domain.com.mx';
    Try it with default_host set to your mail server and to localhost
    Code:
    $rcmail_config['default_host'] = 'localhost';

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts