Hmm... Looks like it's working. Try some commands at the telnet prompt, there are some here: (http://www.anta.net/misc/telnet-troubleshooting/imap.shtml)
Can you check the dovecot log when you use Outlook and Squirrelmail. Are there errors? EricB On 1/20/2015 12:43 AM, ChandranManikandan wrote: > Hi Eric, > > Below is result. > > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE > IDLE START > TLS LOGINDISABLED AUTH=DIGEST-MD5 AUTH=CRAM-MD5] Dovecot toaster ready. > > On Tue, Jan 20, 2015 at 3:29 PM, Eric Broch <[email protected] > <mailto:[email protected]>> wrote: > > Hmmm.... > > Get on the QMT host and try telnet: > # telnet localhost 143 > > > > On 1/20/2015 12:22 AM, ChandranManikandan wrote: >> Hi Eric, >> >> Selinux Disabled. >> >> On Tue, Jan 20, 2015 at 11:41 AM, Eric Broch >> <[email protected] <mailto:[email protected]>> wrote: >> >> What about selinux? >> >> >> On 1/19/2015 7:22 PM, ChandranManikandan wrote: >>> Hi Eric, >>> >>> Below is my iptables line >>> >>> -A INPUT -p tcp -m tcp --dport 80 --tcp-flags >>> FIN,SYN,RST,ACK SYN -j ACCEPT >>> >>> >>> On Mon, Jan 19, 2015 at 11:01 PM, Eric Broch >>> <[email protected] <mailto:[email protected]>> >>> wrote: >>> >>> 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 >>>> /* >>> >>> >>> >>> >>> -- >>> */Thanks & Best Regards, >>> Manikandan.C >>> /* >> >> >> >> >> -- >> */Thanks & Best Regards, >> Manikandan.C >> /* > > > > > -- > */Thanks & Best Regards, > Manikandan.C > /*
