Chandran,

Have you turned off selinux, and what about firewall settings.

EricB


On 1/18/2015 11:44 PM, ChandranManikandan wrote:
> Dear All,
>
> I have installed new server Centos 6.6 with qmailtoaster. I have
> backup and restored all the accounts and settings in new server. After
> Restored i got below issues. Could anyone solve for me.
>
> 1. When i open squirrelmail in any email account its show this error:
>  "ERROR: IMAP SERVER CONNECTION DROPPED"
>
> 2.  When i  configure in outlook 2010 and 2013 it's always asking
> username and password continuously..
>
> Below is my configuration.
>
> Dovecot -n
> ------------------
>
> auth_cache_size = 32 M
> auth_mechanisms = plain login digest-md5 cram-md5
> first_valid_gid = 89
> first_valid_uid = 89
> listen = *
> log_path = /var/log/dovecot.log
> login_greeting = Dovecot toaster ready.
> mail_plugins = " quota"
> namespace {
>   inbox = yes
>   location =
>   prefix = INBOX.
>   separator = .
>   type = private
> }
> passdb {
>   args = cache_key=%u webmail=127.0.0.1
>   driver = vpopmail
> }
> plugin {
>   quota = maildir:ignore=Trash
>   quota_rule = ?:storage=0
> }
> protocols = imap
> ssl_cert = </var/qmail/control/servercert.pem
> ssl_dh_parameters_length = 2048
> ssl_key = </var/qmail/control/servercert.pem
> userdb {
>   args = cache_key=%u quota_template=quota_rule=*:backend=%q
>   driver = vpopmail
> }
> protocol imap {
>   imap_client_workarounds = delay-newmail
>   mail_max_userip_connections = 100
>   mail_plugins = " quota imap_quota"
>
>
>
> Squirrelmail Config below
> ------------------------------------
> Config_local.php
>
> # smtp server options
> $smtpServerAddress  = 'localhost';
> $smtpPort           = 587;
> $smtp_auth_mech     = 'login';
>
> # imap server options
> $imapServerAddress  = 'localhost';
> $imap_server_type   = 'dovecot';
> # SM doesn't support starttls until v1.5.1, so we'll use digest-md5
> til then
> #$use_imap_tls       = true;
> $imap_auth_mech     = 'digest-md5';
>
> $useSendmail              = false;
> $optional_delimiter       = 'detect';
> $default_folder_prefix    = '';
> $show_prefix_option       = false;
> $force_username_lowercase = true;
> $hide_sm_attributions     = true;
>
>
> Config.php
> ---------------
>
> $allow_server_sort        = true;
> $allow_charset_search     = true;
> $uid_support              = true;
> $domain                 = 'localhost';
> $imapServerAddress      = 'localhost';
> $imapPort               = 143;
> $useSendmail            = true;
> $smtpServerAddress      = 'localhost';
> $smtpPort               = 25;
> $sendmail_path          = '/usr/sbin/sendmail';
> $sendmail_args          = '-i -t';
> $pop_before_smtp        = false;
> $pop_before_smtp_host   = '';
> $imap_server_type       = 'dovecot';
> $invert_time            = false;
> $optional_delimiter     = '.';
> $encode_header_key      = '';
>
> $default_folder_prefix          = 'INBOX.';
> $trash_folder                   = 'Trash';
> $sent_folder                    = 'Sent';
> $draft_folder                   = 'Drafts';
> $default_move_to_trash          = true;
> $default_move_to_sent           = true;
> $default_save_as_draft          = true;
> $show_prefix_option             = false;
> $list_special_folders_first     = true;
> $use_special_folder_color       = true;
> $auto_expunge                   = true;
> $default_sub_of_inbox           = false;
> $show_contain_subfolders_option = false;
> $default_unseen_notify          = 2;
> $default_unseen_type            = 1;
> $auto_create_special            = true;
> $delete_folder                  = true;
> $noselect_fix_enable            = false;
>
> $data_dir                 = '/var/lib/squirrelmail/prefs/';
> $attachment_dir           = '/var/spool/squirrelmail/attach/';
> $dir_hash_level           = 0;
> $default_left_size        = '150';
> $force_username_lowercase = false;
> $default_use_priority     = true;
> $hide_sm_attributions     = false;
> $default_use_mdn          = true;
> $edit_identity            = true;
> $edit_name                = true;
> $hide_auth_header         = false;
> $allow_thread_sort        = false;
>
>
> $prefs_dsn = '';
> $prefs_table = 'userprefs';
> $prefs_user_field = 'user';
> $prefs_key_field = 'prefkey';
> $prefs_val_field = 'prefval';
> $addrbook_global_dsn = '';
> $addrbook_global_table = 'global_abook';
> $addrbook_global_writeable = false;
> $addrbook_global_listing = false;
>
> $no_list_for_subscribe = false;
> $smtp_auth_mech = 'none';
> $imap_auth_mech = 'login';
> $smtp_sitewide_user = '';
> $smtp_sitewide_pass = '';
> $use_imap_tls = false;
> $use_smtp_tls = false;
> $session_name = 'SQMSESSID';
> $only_secure_cookies     = true;
> $disable_security_tokens = false;
> $check_referrer          = '';
>
> $config_location_base    = '';
>
>
>
> Could anyone help me to resolve this issue. This is my production
> server.  Am expecting your help soon.
>
>
>
> -- 
> */Thanks & Best Regards,
> Manikandan.C
> /*

Reply via email to