Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: TLS settings for IMAP & SMTP Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rambutan
Newbie
Newbie


Joined: 16 January 2015
Online Status: Offline
Posts: 2
Posted: 17 January 2015 at 12:37am | IP Logged Quote rambutan

Hi recently, we've just recently upgraded our server to use TLS as a form of security for our IMAP & SMTP. I tried entering the port number at the admin panel, and select SSL. But I'm still not able to send out the email. Is there anyway where I can set the mail server to accept the certificate while using the TLS security?

Thanks!
Back to Top View rambutan's Profile Search for other posts by rambutan
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 18 January 2015 at 3:22am | IP Logged Quote Alex

What's in the log file?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
rambutan
Newbie
Newbie


Joined: 16 January 2015
Online Status: Offline
Posts: 2
Posted: 18 January 2015 at 8:08pm | IP Logged Quote rambutan

Hi Alex,
Thanks for the reply. Here's the Error Log.

[04:04:27.91] Location: index.php

[04:04:28.39] /webmail/adminpanel/index.php
[04:04:28.39]
[04:04:28.39] call CWebMailModule->PopulateData->ServicesLogging()

[04:04:31.31] [POST(17)] /webmail/index.php?/Ajax/
[04:04:31.31] POST > [DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, AccountID, Token]
[04:04:31.31]
[04:04:31.31] AJAX: Action: MessageSend
[04:04:31.31] DB : start connect to mail1@localhost
[04:04:31.31] DB : connected to mail1@localhost
[04:04:31.31] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `def_order`, `getmail_at_login`, `hide_in_gab`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 14
[04:04:31.32] DB[2] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timezone`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 14
[04:04:31.32] HOOK > CPoppassdChangePasswordPlugin->PluginChangeAccountById
[04:04:31.34] IMAP[NOTE]: Start connection to "127.0.0.1:143"
[04:04:31.45] IMAP[TIME]: 0.10930800437927 (raw connection)
[04:04:31.46] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.\r\n
[04:04:31.46] IMAP[TIME]: 0.1264591217041 (*)
[04:04:31.47] IMAP[DATA]: < TAG1 OK LOGIN Ok.\r\n
[04:04:31.47] IMAP[TIME]: 0.0036249160766602 (TAG1)
[04:04:31.48] SMTP[NOTE]: Start connection to "127.0.0.1:587"
[04:04:31.66] SMTP[TIME]: 0.18507695198059 (raw connection)
[04:04:33.67] SMTP[DATA]: < 220 web6b.risingnet.net ESMTP Postfix\r\n
[04:04:33.67] SMTP[TIME]: 2.1919679641724
[04:04:33.67] SMTP[DATA]: > EHLO localhost\r\n
[04:04:33.67] SMTP[DATA]: < 250-web6b.risingnet.net\r\n
[04:04:33.67] SMTP[DATA]: < 250-PIPELINING\r\n
[04:04:33.67] SMTP[DATA]: < 250-SIZE 10240000\r\n
[04:04:33.67] SMTP[DATA]: < 250-ETRN\r\n
[04:04:33.67] SMTP[DATA]: < 250-STARTTLS\r\n
[04:04:33.67] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[04:04:33.67] SMTP[DATA]: < 250-8BITMIME\r\n
[04:04:33.67] SMTP[DATA]: < 250 DSN\r\n
[04:04:33.67] SMTP[TIME]: 0.0012171268463135
[04:04:33.67] SMTP[NOTICE]: exception 'MailSo\Smtp\Exceptions\LoginBadMethodException' with message 'MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 204)' in /var/www/vhosts/mydomain.com/httpdocs/webmail/libraries/MailSo/Smtp/SmtpClient.php:204
Stack trace:
[04:04:33.67] Previous Exception: MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 204)
[04:04:33.67] SMTP[NOTE]: Disconnected from "127.0.0.1:587" (success)
[04:04:33.67] SMTP[TIME]: 2.1953890323639 (net session)
[04:04:33.67] DB : disconnect from mail1@localhost
[04:04:33.67] INFO[MEMORY]: Memory peak usage: 6.25MB
[04:04:33.67] IMAP[DATA]: > TAG2 LOGOUT\r\n
[04:04:33.68] IMAP[DATA]: < * BYE Courier-IMAP server shutting down\r\n
[04:04:33.68] IMAP[DATA]: < TAG2 OK LOGOUT completed\r\n
[04:04:33.68] IMAP[TIME]: 0.00055694580078125 (TAG2)
[04:04:33.68] IMAP[NOTE]: Disconnected from "127.0.0.1:143" (success)
[04:04:33.68] IMAP[TIME]: 2.3373529911041 (net session)

[04:04:34.25] [POST(7)] /webmail/index.php?/Ajax/
[04:04:34.25] POST > [Action, Folder, Offset, Limit, Search, AccountID, Token]
[04:04:34.25]
[04:04:34.25] AJAX: Action: MessageList
[04:04:34.25] DB : start connect to mail1@localhost
[04:04:34.25] DB : connected to mail1@localhost
[04:04:34.25] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `def_order`, `getmail_at_login`, `hide_in_gab`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace`, `custom_fields` FROM awm_accounts WHERE `id_acct` = 14
[04:04:34.26] DB[2] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timezone`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 14
[04:04:34.26] HOOK > CPoppassdChangePasswordPlugin->PluginChangeAccountById
[04:04:34.27] IMAP[NOTE]: Start connection to "127.0.0.1:143"
[04:04:34.27] IMAP[TIME]: 0.0019159317016602 (raw connection)
[04:04:34.28] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.\r\n
[04:04:34.28] IMAP[TIME]: 0.013264894485474 (*)
[04:04:34.28] IMAP[DATA]: < TAG1 OK LOGIN Ok.\r\n
[04:04:34.28] IMAP[TIME]: 0.0038201808929443 (TAG1)
[04:04:34.28] IMAP[DATA]: > TAG2 EXAMINE "INBOX.Sent"\r\n
[04:04:34.29] IMAP[DATA]: < * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)\r\n
[04:04:34.29] IMAP[DATA]: < * OK [PERMANENTFLAGS ()] No permanent flags permitted\r\n
[04:04:34.29] IMAP[DATA]: < * 0 EXISTS\r\n
[04:04:34.29] IMAP[DATA]: < * 0 RECENT\r\n
[04:04:34.29] IMAP[DATA]: < * OK [UIDVALIDITY 421640235] Ok\r\n
[04:04:34.29] IMAP[DATA]: < * OK [MYRIGHTS "acdilrsw"] ACL\r\n
[04:04:34.29] IMAP[DATA]: < TAG2 OK [READ-ONLY] Ok\r\n
[04:04:34.29] IMAP[TIME]: 0.002100944519043 (TAG2)
[04:04:34.29] IMAP[DATA]: > TAG3 STATUS "INBOX.Sent" (MESSAGES UNSEEN UIDNEXT)\r\n
[04:04:34.29] IMAP[DATA]: < * STATUS "INBOX.Sent" (MESSAGES 0 UIDNEXT 1 UNSEEN 0)\r\n
[04:04:34.29] IMAP[DATA]: < TAG3 OK STATUS Completed.\r\n
[04:04:34.29] IMAP[TIME]: 0.0005040168762207 (TAG3)
[04:04:34.29] DB : disconnect from mail1@localhost
[04:04:34.29] INFO[MEMORY]: Memory peak usage: 5.25MB
[04:04:34.29] IMAP[DATA]: > TAG4 LOGOUT\r\n
[04:04:34.29] IMAP[DATA]: < * BYE Courier-IMAP server shutting down\r\n
[04:04:34.29] IMAP[DATA]: < TAG4 OK LOGOUT completed\r\n
[04:04:34.29] IMAP[TIME]: 0.00043106079101562 (TAG4)
[04:04:34.29] IMAP[NOTE]: Disconnected from "127.0.0.1:143" (success)
[04:04:34.29] IMAP[TIME]: 0.02157998085022 (net session)

[04:04:40.07] /webmail/adminpanel/index.php?pop&type=log&action=view
[04:04:40.07]
[04:04:40.07] call CWebMailModule->StandardPopAction->Services()
Back to Top View rambutan's Profile Search for other posts by rambutan
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6040
Posted: 19 January 2015 at 3:37am | IP Logged Quote Igor

Can you please confirm you're running current 7.4.2 version of the product? You can determine version number as shown here. Seems like your SMTP server doesn't advertise authentication methods but does announce use of STARTTLS - and in that case, current version would try using STARTTLS, but the one you have doesn't seem to.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide