RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 10-07-2009, 07:25 PM
Registered User
 
Join Date: Oct 2009
Posts: 5
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-08-2009, 02:34 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 983
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

Have you changed the email in Settings>Identities?
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-08-2009, 02:34 PM
Registered User
 
Join Date: Oct 2009
Posts: 5
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-08-2009, 02:37 PM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 983
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

It sounds like it may be using php mail, do you have SMTP setup?
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-08-2009, 06:00 PM
Registered User
 
Join Date: Oct 2009
Posts: 5
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-08-2009, 06:10 PM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 983
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
Default

Can you post your /config/main.inc.php so I can see how your RoundCube installation is setup?
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-08-2009, 07:07 PM
Registered User
 
Join Date: Oct 2009
Posts: 5
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;


?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 10-09-2009, 07:56 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 983
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
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';
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-09-2009, 10:30 PM
Registered User
 
Join Date: Oct 2009
Posts: 5
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-10-2009, 07:44 AM
skaero's Avatar
Super Moderator
 
Join Date: Jun 2006
Location: USA - New Mexico
Posts: 983
Send a message via ICQ to skaero Send a message via AIM to skaero Send a message via MSN to skaero Send a message via Yahoo to skaero
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';
__________________
SKaero.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:24 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community