Author |
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 28 March 2016 at 12:42pm | IP Logged
|
|
|
Hi, I have afterlogic webmail 7.6.7 I have problem send email:
Error: An error occurred during sending the message.
can you help me please?
tail -f /var/log/maillog
Mar 28 21:43:41 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15535, secured, session=</SY/ISEvdgB/AAAB>
Mar 28 21:43:41 mail postfix/smtpd[15536]: connect from localhost[127.0.0.1]
Mar 28 21:43:41 mail postfix/smtpd[15536]: SSL_accept error from localhost[127.0.0.1]: -1
Mar 28 21:43:41 mail postfix/smtpd[15536]: warning: TLS library problem: 15536:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:647:
Mar 28 21:43:41 mail postfix/smtpd[15536]: lost connection after STARTTLS from localhost[127.0.0.1]
Mar 28 21:43:41 mail postfix/smtpd[15536]: disconnect from localhost[127.0.0.1]
Mar 28 21:43:41 mail dovecot: imap(michal): Disconnected: Logged out in=11 out=401
Mar 28 21:43:41 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15540, secured, session=<qxBCISEveQB/AAAB>
Mar 28 21:43:41 mail dovecot: imap(michal): Disconnected: Logged out in=78 out=812
webmail log:
[19:05:54.37][1a26df4f] [POST(5)][ip:192.168.42.101] /webmail/adminpanel/index.php?submit
[19:05:54.37][1a26df4f] POST > [form_id, ch_EnableDebugLogging, selVerbosity, ch_EnableUserActivityLogging, submit_btn]
[19:05:54.37][1a26df4f]
[19:05:54.37][1a26df4f] Location: index.php
[19:05:54.47][71cebe47] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php
[19:05:54.47][71cebe47] POST > []
[19:05:54.47][71cebe47]
[19:05:54.47][71cebe47] call CCommonModule->PopulateData->SystemLogging()
[19:05:54.47][71cebe47] call CWebMailModule->PopulateData->SystemLogging()
[19:05:59.33][a55cea5b] [POST(19)][ip:192.168.42.101] /webmail/?/Ajax/
[19:05:59.33][a55cea5b] POST > [AccountID, FetcherID, IdentityID, DraftUid, To, Cc, Bcc, Subject, Text, IsHtml, Importance, Sensitivity, ReadingConfirmation, InReplyTo, References, Action, ShowReport, SentFolder, Token]
[19:05:59.33][a55cea5b]
[19:05:59.33][a55cea5b] AJAX: Action: MessageSend
[19:05:59.48][a55cea5b] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[19:05:59.48][a55cea5b] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[19:05:59.48][a55cea5b] DB : connected to afterlogic@127.0.0.1
[19:05:59.48][a55cea5b] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[19:05:59.48][a55cea5b] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:05:59.49][a55cea5b] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[19:05:59.49][a55cea5b] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:05:59.50][a55cea5b] DB[5] > SELECT `id_identity`, `id_user`, `id_acct`, `def_identity`, `enabled`, `email`, `friendly_nm`, `signature`, `signature_type`, `use_signature` FROM awm_identities WHERE id_identity = 1
[19:05:59.51][a55cea5b] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[19:05:59.51][a55cea5b] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[19:05:59.51][a55cea5b] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[19:05:59.52][a55cea5b] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[19:05:59.52][a55cea5b] SMTP[NOTE]: Start connection to "tcp://127.0.0.1:25"
[19:05:59.52][a55cea5b] SMTP[DATA]: < 220 mail.server.cz ESMTP Postfix\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: > EHLO www.server.cz\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-mail.server.cz\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-PIPELINING\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-SIZE 16384000\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-VRFY\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-ETRN\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-STARTTLS\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250-8BITMIME\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 250 DSN\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: > STARTTLS\r\n
[19:05:59.52][a55cea5b] SMTP[DATA]: < 220 2.0.0 Ready to start TLS\r\n
[19:05:59.52][a55cea5b] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:309, code:2]
[19:05:59.52][a55cea5b] PHP[NOTICE]: Error: stream_socket_enable_crypto(): SSL: Connection reset by peer
[19:05:59.53][a55cea5b] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=3]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.server.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.server.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[19:05:59.53][a55cea5b] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:426, code:8]
[19:05:59.53][a55cea5b] PHP[NOTICE]: Error: fwrite(): send of 6 bytes failed with errno=32 Broken pipe
[19:05:59.53][a55cea5b] SMTP[DATA]: > QUIT\r\n
[19:05:59.53][a55cea5b] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadException' with message 'MailSo-Net-Exceptions-SocketReadException (NetClient.php ~ 497)' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:497
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(710): MailSo\Net\NetClient->getNextBuffer()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(599): MailSo\Smtp\SmtpClient->validateResponse(221)
#2 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(507): MailSo\Smtp\SmtpClient->sendRequestWithCheck('QUIT', 221)
#3 /var/www/webmail/libraries/MailSo/Net/NetClient.php(351): MailSo\Smtp\SmtpClient->Logout()
#4 /var/www/webmail/libraries/MailSo/Net/NetClient.php(118): MailSo\Net\NetClient->LogoutAndDisconnect()
#5 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): MailSo\Net\NetClient->__destruct()
#6 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#7 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#8 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#9 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#10 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#11 {main}
[19:05:59.53][a55cea5b] exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=3]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.server.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.server.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[19:05:59.53][a55cea5b] INFO[MEMORY]: Memory peak usage: 10MB
[19:05:59.53][a55cea5b] INFO[TIME]: Time delta: 0.28031206130981
[19:05:59.53][a55cea5b] DB : disconnect from afterlogic@127.0.0.1
[19:05:59.53][a55cea5b] IMAP[DATA]: > TAG2 LOGOUT\r\n
[19:05:59.53][a55cea5b] IMAP[DATA]: < * BYE Logging out\r\n
[19:05:59.53][a55cea5b] IMAP[DATA]: < TAG2 OK Logout completed.\r\n
[19:05:59.53][a55cea5b] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[19:05:59.65][9f9708ae] [POST(9)][ip:192.168.42.101] /webmail/?/Ajax/
[19:05:59.65][9f9708ae] POST > [Action, Folder, Offset, Limit, Search, Filters, UseThreads, AccountID, Token]
[19:05:59.65][9f9708ae]
[19:05:59.65][9f9708ae] AJAX: Action: MessagesGetList
[19:05:59.65][9f9708ae] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[19:05:59.65][9f9708ae] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[19:05:59.65][9f9708ae] DB : connected to afterlogic@127.0.0.1
[19:05:59.65][9f9708ae] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[19:05:59.66][9f9708ae] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:05:59.66][9f9708ae] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[19:05:59.67][9f9708ae] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:05:59.67][9f9708ae] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[19:05:59.68][9f9708ae] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[19:05:59.68][9f9708ae] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: > TAG2 EXAMINE "Sent"\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * OK [PERMANENTFLAGS ()] Read-only mailbox.\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * 1 EXISTS\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * 0 RECENT\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * OK [UIDVALIDITY 1247957393] UIDs valid\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * OK [UIDNEXT 3747] Predicted next UID\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * OK [HIGHESTMODSEQ 5410] Highest\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < TAG2 OK [READ-ONLY] Examine completed (0.000 secs).\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: > TAG3 STATUS "Sent" (MESSAGES UNSEEN UIDNEXT)\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * STATUS Sent (MESSAGES 1 UIDNEXT 3747 UNSEEN 0)\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < TAG3 OK [CLIENTBUG] Status on selected mailbox completed.\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: > TAG4 CAPABILITY\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < TAG4 OK Capability completed.\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: > TAG5 FETCH 1 (UID RFC822.SIZE INTERNALDATE FLAGS BODYSTRUCTURE BODY.PEEK[HEADER])\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < * 1 FETCH (UID 3746 RFC822.SIZE 507 INTERNALDATE "28-Mar-2016 20:56:56 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {505}\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < )\r\n
[19:05:59.69][9f9708ae] IMAP[DATA]: < TAG5 OK Fetch completed.\r\n
[19:05:59.70][9f9708ae] INFO[MEMORY]: Memory peak usage: 9.75MB
[19:05:59.70][9f9708ae] INFO[TIME]: Time delta: 0.14179182052612
[19:05:59.70][9f9708ae] DB : disconnect from afterlogic@127.0.0.1
[19:05:59.70][9f9708ae] IMAP[DATA]: > TAG6 LOGOUT\r\n
[19:05:59.70][9f9708ae] IMAP[DATA]: < * BYE Logging out\r\n
[19:05:59.70][9f9708ae] IMAP[DATA]: < TAG6 OK Logout completed.\r\n
[19:05:59.70][9f9708ae] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[19:06:02.92][826617d9] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php?pop&type=log&action=view
[19:06:02.92][826617d9] POST > []
[19:06:02.92][826617d9]
[19:06:02.92][826617d9] call CCommonModule->StandardPopAction->System()
[19:06:02.92][826617d9] call CWebMailModule->StandardPopAction->System()
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 28 March 2016 at 12:45pm | IP Logged
|
|
|
telnet 127.0.0.1 25
telnet 127.0.0.1 143
telnet 127.0.0.1 993
telnet 127.0.0.1 465
is OK
In thunderbird I Send e mail without the hassle
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 29 March 2016 at 7:06am | IP Logged
|
|
|
Hi,
We investigated the logs and found weird things. Looks like PHP system constants which describe SSL protocols have different values in your version of PHP. I can't yet say how it's possible but it is.
Code:
[19:05:59.53][a55cea5b] exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=3]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
|
|
|
In the code we're using STREAM_CRYPTO_METHOD_TLS_CLIENT constant to enable TLS level of SSL security when issuing STARTTLS command. However, it seems in your PHP version this acts like setting STREAM_CRYPTO_METHOD_SSLv2_CLIENT or STREAM_CRYPTO_METHOD_SSLv3_CLIENT level.
Your mail server then rejects connection as the specified protocol is too weak.
STREAM_CRYPTO_METHOD_TLS_CLIENT constant must have 57 value. But the log shows that 3 is actually used.
Please try to debug this by changing
Code:
public function EnableCrypto($iCryptoType = STREAM_CRYPTO_METHOD_TLS_CLIENT) |
|
|
declaration in 'webmail\libraries\MailSo\Net\NetClient.php'.
For instance, how it works if you change iCryptoType value to STREAM_CRYPTO_METHOD_ANY_CLIENT or STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT.
Don't worry that it only sets the default value. We always call EnableCrypto without parameters so that this default value is always used.
It's also interesting which values you're getting for 'type' in 'Cannot enable STARTTLS. [type=3]' message for other SSL protocols.
Thanks!
Regards,
Alex
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 29 March 2016 at 1:01pm | IP Logged
|
|
|
If I set: STREAM_CRYPTO_METHOD_ANY_CLIENT
tail -f /var/log/maillog
Mar 29 21:58:37 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=12928, secured, session=<ECd+dDUvdgB/AAAB>
Mar 29 21:58:37 mail postfix/smtpd[12178]: connect from localhost[127.0.0.1]
Mar 29 21:58:44 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=12972, secured, session=<FVzidDUvewB/AAAB>
Mar 29 21:58:44 mail dovecot: imap(michal): Disconnected: Logged out in=104 out=558
Mar 29 21:58:57 mail postfix/smtpd[12178]: SSL_accept error from localhost[127.0.0.1]: lost connection
Mar 29 21:58:57 mail postfix/smtpd[12178]: lost connection after STARTTLS from localhost[127.0.0.1]
Mar 29 21:58:57 mail postfix/smtpd[12178]: disconnect from localhost[127.0.0.1]
Mar 29 21:58:57 mail dovecot: imap(michal): Disconnected: Logged out in=11 out=401
Mar 29 21:58:57 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=12980, secured, session=<qUyydTUvfgB/AAAB>
Mar 29 21:58:57 mail dovecot: imap(michal): Disconnected: Logged out in=303 out=7913
webmail log:
[19:58:32.20][25a2bb90] Location: index.php
[19:58:32.29][fbb3cc96] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php
[19:58:32.29][fbb3cc96] POST > []
[19:58:32.29][fbb3cc96]
[19:58:32.29][fbb3cc96] call CCommonModule->PopulateData->SystemLogging()
[19:58:32.29][fbb3cc96] call CWebMailModule->PopulateData->SystemLogging()
[19:58:32.91][17afd3e3] [POST(5)][ip:192.168.42.101] /webmail/adminpanel/index.php?submit
[19:58:32.91][17afd3e3] POST > [form_id, ch_EnableDebugLogging, selVerbosity, ch_EnableUserActivityLogging, btnUserActivityClearLog]
[19:58:32.91][17afd3e3]
[19:58:32.91][17afd3e3] call CCommonModule->StandardPostAction->SystemLogging()
[19:58:32.91][17afd3e3] call CWebMailModule->StandardPostAction->SystemLogging()
[19:58:32.91][17afd3e3] Location: index.php
[19:58:32.98][e09c4946] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php
[19:58:32.98][e09c4946] POST > []
[19:58:32.98][e09c4946]
[19:58:32.98][e09c4946] call CCommonModule->PopulateData->SystemLogging()
[19:58:32.98][e09c4946] call CWebMailModule->PopulateData->SystemLogging()
[19:58:37.71][8239ebc5] [POST(19)][ip:192.168.42.101] /webmail/?/Ajax/
[19:58:37.71][8239ebc5] POST > [AccountID, FetcherID, IdentityID, DraftUid, To, Cc, Bcc, Subject, Text, IsHtml, Importance, Sensitivity, ReadingConfirmation, InReplyTo, References, Action, ShowReport, SentFolder, Token]
[19:58:37.71][8239ebc5]
[19:58:37.71][8239ebc5] AJAX: Action: MessageSend
[19:58:37.71][8239ebc5] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[19:58:37.71][8239ebc5] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[19:58:37.71][8239ebc5] DB : connected to afterlogic@127.0.0.1
[19:58:37.71][8239ebc5] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[19:58:37.72][8239ebc5] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:37.72][8239ebc5] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[19:58:37.72][8239ebc5] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:37.73][8239ebc5] DB[5] > SELECT `id_identity`, `id_user`, `id_acct`, `def_identity`, `enabled`, `email`, `friendly_nm`, `signature`, `signature_type`, `use_signature` FROM awm_identities WHERE id_identity = 1
[19:58:37.74][8239ebc5] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[19:58:37.74][8239ebc5] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[19:58:37.75][8239ebc5] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[19:58:37.75][8239ebc5] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[19:58:37.76][8239ebc5] SMTP[NOTE]: Start connection to "tcp://127.0.0.1:25"
[19:58:37.76][8239ebc5] SMTP[DATA]: < 220 mail.klenovka.cz ESMTP Postfix\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: > EHLO www.klenovka.cz\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-mail.klenovka.cz\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-PIPELINING\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-SIZE 16384000\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-VRFY\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-ETRN\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-STARTTLS\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250-8BITMIME\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 250 DSN\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: > STARTTLS\r\n
[19:58:37.76][8239ebc5] SMTP[DATA]: < 220 2.0.0 Ready to start TLS\r\n
[19:58:37.76][8239ebc5] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:304, code:8]
[19:58:37.76][8239ebc5] PHP[NOTICE]: Error: Use of undefined constant STREAM_CRYPTO_METHOD_ANY_CLIENT - assumed 'STREAM_CRYPTO_METHOD_ANY_CLIENT'
[19:58:37.76][8239ebc5] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:309, code:2]
[19:58:37.76][8239ebc5] PHP[NOTICE]: Error: stream_socket_enable_crypto() expects parameter 3 to be long, string given
[19:58:37.76][8239ebc5] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=STREAM_CRYPTO_METHOD_ANY_CLIENT]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.klenovka.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.klenovka.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[19:58:37.76][8239ebc5] SMTP[DATA]: > QUIT\r\n
[19:58:44.28][9044c33e] [POST(4)][ip:192.168.42.101] /webmail/?/Ajax/
[19:58:44.28][9044c33e] POST > [Action, Folders, AccountID, Token]
[19:58:44.28][9044c33e]
[19:58:44.28][9044c33e] AJAX: Action: FoldersGetRelevantInformation
[19:58:44.28][9044c33e] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[19:58:44.28][9044c33e] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[19:58:44.28][9044c33e] DB : connected to afterlogic@127.0.0.1
[19:58:44.28][9044c33e] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[19:58:44.29][9044c33e] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:44.29][9044c33e] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[19:58:44.30][9044c33e] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:44.30][9044c33e] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[19:58:44.31][9044c33e] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[19:58:44.31][9044c33e] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: > TAG2 STATUS "INBOX" (MESSAGES UNSEEN UIDNEXT)\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < * STATUS INBOX (MESSAGES 234 UIDNEXT 8433 UNSEEN 1)\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < TAG2 OK Status completed.\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: > TAG3 STATUS "Spam" (MESSAGES UNSEEN UIDNEXT)\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < * STATUS Spam (MESSAGES 9 UIDNEXT 8786 UNSEEN 8)\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < TAG3 OK Status completed.\r\n
[19:58:44.32][9044c33e] INFO[MEMORY]: Memory peak usage: 9.25MB
[19:58:44.32][9044c33e] INFO[TIME]: Time delta: 0.11903500556946
[19:58:44.32][9044c33e] DB : disconnect from afterlogic@127.0.0.1
[19:58:44.32][9044c33e] IMAP[DATA]: > TAG4 LOGOUT\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < * BYE Logging out\r\n
[19:58:44.32][9044c33e] IMAP[DATA]: < TAG4 OK Logout completed.\r\n
[19:58:44.32][9044c33e] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[19:58:57.77][8239ebc5] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadTimeoutException' with message 'MailSo-Net-Exceptions-SocketReadTimeoutException (NetClient.php ~ 489)' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:489
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(710): MailSo\Net\NetClient->getNextBuffer()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(599): MailSo\Smtp\SmtpClient->validateResponse(221)
#2 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(507): MailSo\Smtp\SmtpClient->sendRequestWithCheck('QUIT', 221)
#3 /var/www/webmail/libraries/MailSo/Net/NetClient.php(351): MailSo\Smtp\SmtpClient->Logout()
#4 /var/www/webmail/libraries/MailSo/Net/NetClient.php(118): MailSo\Net\NetClient->LogoutAndDisconnect()
#5 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): MailSo\Net\NetClient->__destruct()
#6 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#7 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#8 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#9 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#10 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#11 {main}
[19:58:57.77][8239ebc5] exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=STREAM_CRYPTO_METHOD_ANY_CLIENT]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.klenovka.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.klenovka.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[19:58:57.77][8239ebc5] INFO[MEMORY]: Memory peak usage: 10MB
[19:58:57.77][8239ebc5] INFO[TIME]: Time delta: 20.149855852127
[19:58:57.77][8239ebc5] DB : disconnect from afterlogic@127.0.0.1
[19:58:57.77][8239ebc5] IMAP[DATA]: > TAG2 LOGOUT\r\n
[19:58:57.77][8239ebc5] IMAP[DATA]: < * BYE Logging out\r\n
[19:58:57.77][8239ebc5] IMAP[DATA]: < TAG2 OK Logout completed.\r\n
[19:58:57.77][8239ebc5] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[19:58:57.91][ef22a83e] [POST(9)][ip:192.168.42.101] /webmail/?/Ajax/
[19:58:57.91][ef22a83e] POST > [Action, Folder, Offset, Limit, Search, Filters, UseThreads, AccountID, Token]
[19:58:57.91][ef22a83e]
[19:58:57.91][ef22a83e] AJAX: Action: MessagesGetList
[19:58:57.91][ef22a83e] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[19:58:57.91][ef22a83e] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[19:58:57.91][ef22a83e] DB : connected to afterlogic@127.0.0.1
[19:58:57.91][ef22a83e] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[19:58:57.92][ef22a83e] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:57.92][ef22a83e] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[19:58:57.92][ef22a83e] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[19:58:57.93][ef22a83e] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[19:58:57.94][ef22a83e] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[19:58:57.94][ef22a83e] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG2 EXAMINE "Sent"\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * OK [PERMANENTFLAGS ()] Read-only mailbox.\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * 9 EXISTS\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * 0 RECENT\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * OK [UIDVALIDITY 1247957393] UIDs valid\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * OK [UIDNEXT 3807] Predicted next UID\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * OK [HIGHESTMODSEQ 5480] Highest\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG2 OK [READ-ONLY] Examine completed (0.000 secs).\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG3 STATUS "Sent" (MESSAGES UNSEEN UIDNEXT)\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * STATUS Sent (MESSAGES 9 UIDNEXT 3807 UNSEEN 0)\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG3 OK [CLIENTBUG] Status on selected mailbox completed.\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG4 CAPABILITY\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG4 OK Capability completed.\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG5 UID THREAD REFS UTF-8 ALL\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * THREAD (3798)(3799)(3800)(3801)(3802)(3803)(3804)(3805)(3806)\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG5 OK Thread completed.\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG6 UID SORT (REVERSE ARRIVAL) US-ASCII ALL\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * SORT 3806 3805 3804 3803 3802 3801 3800 3799 3798\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < TAG6 OK Sort completed (0.000 secs).\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: > TAG7 UID FETCH 3806,3805,3804,3803,3802,3801,3800,3799,3798 (UID RFC822.SIZE INTERNALDATE FLAGS BODYSTRUCTURE BODY.PEEK[HEADER])\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * 1 FETCH (UID 3798 RFC822.SIZE 441 INTERNALDATE "29-Mar-2016 16:23:55 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {439}\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.95][ef22a83e] IMAP[DATA]: < * 2 FETCH (UID 3799 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:10:30 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 3 FETCH (UID 3800 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:10:59 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 4 FETCH (UID 3801 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:11:16 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 5 FETCH (UID 3802 RFC822.SIZE 444 INTERNALDATE "29-Mar-2016 17:11:35 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {442}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 6 FETCH (UID 3803 RFC822.SIZE 395183 INTERNALDATE "29-Mar-2016 17:16:52 +0200" FLAGS (\Seen) BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 914 23 NIL NIL NIL NIL)("application" "octet-stream" ("name" "putty.zip") NIL NIL "base64" 392294 NIL ("attachment" ("filename" "putty.zip")) NIL NIL)("text" "plain" ("charset" "UTF-8" "name" "PuTTY tunel.txt") NIL NIL "7bit" 900 16 NIL ("attachment" ("filename" "PuTTY tunel.txt")) NIL NIL) "mixed" ("boundary" "------------070002020701050605070806") NIL NIL NIL) BODY[HEADER] {446}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 7 FETCH (UID 3804 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 20:31:14 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 8 FETCH (UID 3805 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 20:39:26 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < * 9 FETCH (UID 3806 RFC822.SIZE 403184 INTERNALDATE "29-Mar-2016 20:42:40 +0200" FLAGS (\Seen) BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL)("application" "octet-stream" ("name" "putty.zip") NIL NIL "base64" 402336 NIL ("attachment" ("filename" "putty.zip")) NIL NIL) "mixed" ("boundary" "------------060802000306040101050201") NIL NIL NIL) BODY[HEADER] {424}\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < )\r\n
[19:58:57.96][ef22a83e] IMAP[DATA]: < TAG7 OK Fetch completed.\r\n
[19:58:57.99][ef22a83e] INFO[MEMORY]: Memory peak usage: 9.75MB
[19:58:57.99][ef22a83e] INFO[TIME]: Time delta: 0.17210793495178
[19:58:57.99][ef22a83e] DB : disconnect from afterlogic@127.0.0.1
[19:58:57.99][ef22a83e] IMAP[DATA]: > TAG8 LOGOUT\r\n
[19:58:57.99][ef22a83e] IMAP[DATA]: < * BYE Logging out\r\n
[19:58:57.99][ef22a83e] IMAP[DATA]: < TAG8 OK Logout completed.\r\n
[19:58:57.99][ef22a83e] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[19:59:15.66][1b2de0a9] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php?pop&type=log&action=view
[19:59:15.66][1b2de0a9] POST > []
[19:59:15.66][1b2de0a9]
[19:59:15.66][1b2de0a9] call CCommonModule->StandardPopAction->System()
[19:59:15.66][1b2de0a9] call CWebMailModule->StandardPopAction->System()
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 29 March 2016 at 1:07pm | IP Logged
|
|
|
If I set: STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT
tail -f /var/log/maillog
Mar 29 22:09:03 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15358, secured, session=<19LKmTUvBgB/AAAB>
Mar 29 22:09:03 mail postfix/smtpd[14732]: connect from localhost[127.0.0.1]
Mar 29 22:09:11 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15421, secured, session=<32lDmjUvDgB/AAAB>
Mar 29 22:09:11 mail dovecot: imap(michal): Disconnected: Logged out in=104 out=558
Mar 29 22:09:23 mail postfix/smtpd[14732]: SSL_accept error from localhost[127.0.0.1]: lost connection
Mar 29 22:09:23 mail postfix/smtpd[14732]: lost connection after STARTTLS from localhost[127.0.0.1]
Mar 29 22:09:23 mail postfix/smtpd[14732]: disconnect from localhost[127.0.0.1]
Mar 29 22:09:23 mail dovecot: imap(michal): Disconnected: Logged out in=11 out=401
Mar 29 22:09:23 mail dovecot: imap-login: Login: user=<michal>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15504, secured, session=<0/z+mjUvFAB/AAAB>
Mar 29 22:09:23 mail dovecot: imap(michal): Disconnected: Logged out in=303 out=7913
webmail log:
[20:09:01.17][ae177eed] Location: index.php
[20:09:01.27][08e093eb] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php
[20:09:01.27][08e093eb] POST > []
[20:09:01.27][08e093eb]
[20:09:01.27][08e093eb] call CCommonModule->PopulateData->SystemLogging()
[20:09:01.27][08e093eb] call CWebMailModule->PopulateData->SystemLogging()
[20:09:01.77][42938304] [POST(5)][ip:192.168.42.101] /webmail/adminpanel/index.php?submit
[20:09:01.77][42938304] POST > [form_id, ch_EnableDebugLogging, selVerbosity, ch_EnableUserActivityLogging, btnUserActivityClearLog]
[20:09:01.77][42938304]
[20:09:01.77][42938304] call CCommonModule->StandardPostAction->SystemLogging()
[20:09:01.77][42938304] call CWebMailModule->StandardPostAction->SystemLogging()
[20:09:01.77][42938304] Location: index.php
[20:09:01.85][d46503b8] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php
[20:09:01.85][d46503b8] POST > []
[20:09:01.85][d46503b8]
[20:09:01.85][d46503b8] call CCommonModule->PopulateData->SystemLogging()
[20:09:01.85][d46503b8] call CWebMailModule->PopulateData->SystemLogging()
[20:09:03.49][e2dc48fd] [POST(19)][ip:192.168.42.101] /webmail/?/Ajax/
[20:09:03.49][e2dc48fd] POST > [AccountID, FetcherID, IdentityID, DraftUid, To, Cc, Bcc, Subject, Text, IsHtml, Importance, Sensitivity, ReadingConfirmation, InReplyTo, References, Action, ShowReport, SentFolder, Token]
[20:09:03.49][e2dc48fd]
[20:09:03.49][e2dc48fd] AJAX: Action: MessageSend
[20:09:03.49][e2dc48fd] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[20:09:03.49][e2dc48fd] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[20:09:03.49][e2dc48fd] DB : connected to afterlogic@127.0.0.1
[20:09:03.49][e2dc48fd] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[20:09:03.50][e2dc48fd] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:03.50][e2dc48fd] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[20:09:03.51][e2dc48fd] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:03.51][e2dc48fd] DB[5] > SELECT `id_identity`, `id_user`, `id_acct`, `def_identity`, `enabled`, `email`, `friendly_nm`, `signature`, `signature_type`, `use_signature` FROM awm_identities WHERE id_identity = 1
[20:09:03.52][e2dc48fd] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[20:09:03.53][e2dc48fd] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[20:09:03.53][e2dc48fd] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[20:09:03.53][e2dc48fd] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[20:09:03.54][e2dc48fd] SMTP[NOTE]: Start connection to "tcp://127.0.0.1:25"
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 220 mail.server.cz ESMTP Postfix\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: > EHLO www.server.cz\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-mail.server.cz\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-PIPELINING\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-SIZE 16384000\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-VRFY\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-ETRN\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-STARTTLS\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250-8BITMIME\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 250 DSN\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: > STARTTLS\r\n
[20:09:03.54][e2dc48fd] SMTP[DATA]: < 220 2.0.0 Ready to start TLS\r\n
[20:09:03.54][e2dc48fd] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:304, code:8]
[20:09:03.54][e2dc48fd] PHP[NOTICE]: Error: Use of undefined constant STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT - assumed 'STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT'
[20:09:03.54][e2dc48fd] PHP[NOTICE]: /var/www/webmail/libraries/MailSo/Net/NetClient.php [line:309, code:2]
[20:09:03.54][e2dc48fd] PHP[NOTICE]: Error: stream_socket_enable_crypto() expects parameter 3 to be long, string given
[20:09:03.54][e2dc48fd] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.server.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.server.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[20:09:03.54][e2dc48fd] SMTP[DATA]: > QUIT\r\n
[20:09:11.40][b18060e4] [POST(4)][ip:192.168.42.101] /webmail/?/Ajax/
[20:09:11.40][b18060e4] POST > [Action, Folders, AccountID, Token]
[20:09:11.40][b18060e4]
[20:09:11.40][b18060e4] AJAX: Action: FoldersGetRelevantInformation
[20:09:11.40][b18060e4] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[20:09:11.40][b18060e4] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[20:09:11.40][b18060e4] DB : connected to afterlogic@127.0.0.1
[20:09:11.40][b18060e4] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[20:09:11.40][b18060e4] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:11.41][b18060e4] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[20:09:11.41][b18060e4] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:11.42][b18060e4] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[20:09:11.43][b18060e4] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[20:09:11.43][b18060e4] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: > TAG2 STATUS "INBOX" (MESSAGES UNSEEN UIDNEXT)\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < * STATUS INBOX (MESSAGES 234 UIDNEXT 8433 UNSEEN 1)\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < TAG2 OK Status completed.\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: > TAG3 STATUS "Spam" (MESSAGES UNSEEN UIDNEXT)\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < * STATUS Spam (MESSAGES 9 UIDNEXT 8786 UNSEEN 8)\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < TAG3 OK Status completed.\r\n
[20:09:11.44][b18060e4] INFO[MEMORY]: Memory peak usage: 9.25MB
[20:09:11.44][b18060e4] INFO[TIME]: Time delta: 0.12725806236267
[20:09:11.44][b18060e4] DB : disconnect from afterlogic@127.0.0.1
[20:09:11.44][b18060e4] IMAP[DATA]: > TAG4 LOGOUT\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < * BYE Logging out\r\n
[20:09:11.44][b18060e4] IMAP[DATA]: < TAG4 OK Logout completed.\r\n
[20:09:11.44][b18060e4] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[20:09:23.55][e2dc48fd] SMTP[ERROR]: exception 'MailSo\Net\Exceptions\SocketReadTimeoutException' with message 'MailSo-Net-Exceptions-SocketReadTimeoutException (NetClient.php ~ 489)' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:489
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(710): MailSo\Net\NetClient->getNextBuffer()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(599): MailSo\Smtp\SmtpClient->validateResponse(221)
#2 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(507): MailSo\Smtp\SmtpClient->sendRequestWithCheck('QUIT', 221)
#3 /var/www/webmail/libraries/MailSo/Net/NetClient.php(351): MailSo\Smtp\SmtpClient->Logout()
#4 /var/www/webmail/libraries/MailSo/Net/NetClient.php(118): MailSo\Net\NetClient->LogoutAndDisconnect()
#5 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): MailSo\Net\NetClient->__destruct()
#6 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#7 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#8 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#9 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#10 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#11 {main}
[20:09:23.55][e2dc48fd] exception 'MailSo\Net\Exceptions\Exception' with message 'Cannot enable STARTTLS. [type=STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT]' in /var/www/webmail/libraries/MailSo/Net/NetClient.php:312
Stack trace:
#0 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(538): MailSo\Net\NetClient->EnableCrypto()
#1 /var/www/webmail/libraries/MailSo/Smtp/SmtpClient.php(167): MailSo\Smtp\SmtpClient->preLoginStartTLSAndEhloProcess('www.server.cz')
#2 /var/www/webmail/libraries/afterlogic/common/managers/mail/manager.php(1150): MailSo\Smtp\SmtpClient->Connect('127.0.0.1', 25, 'www.server.cz', 9, false)
#3 /var/www/webmail/libraries/ProjectCore/Actions.php(1597): CApiMailManager->sendMessage(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'Sent', '', '')
#4 [internal function]: ProjectCore\Actions->AjaxMessageSend()
#5 /var/www/webmail/libraries/ProjectCore/Service.php(302): call_user_func(Array)
#6 /var/www/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#7 /var/www/webmail/index.php(104): include('/var/www/webmai...')
#8 {main}
[20:09:23.55][e2dc48fd] INFO[MEMORY]: Memory peak usage: 10MB
[20:09:23.55][e2dc48fd] INFO[TIME]: Time delta: 20.136730909348
[20:09:23.55][e2dc48fd] DB : disconnect from afterlogic@127.0.0.1
[20:09:23.55][e2dc48fd] IMAP[DATA]: > TAG2 LOGOUT\r\n
[20:09:23.55][e2dc48fd] IMAP[DATA]: < * BYE Logging out\r\n
[20:09:23.55][e2dc48fd] IMAP[DATA]: < TAG2 OK Logout completed.\r\n
[20:09:23.55][e2dc48fd] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[20:09:23.69][78285b9c] [POST(9)][ip:192.168.42.101] /webmail/?/Ajax/
[20:09:23.69][78285b9c] POST > [Action, Folder, Offset, Limit, Search, Filters, UseThreads, AccountID, Token]
[20:09:23.69][78285b9c]
[20:09:23.69][78285b9c] AJAX: Action: MessagesGetList
[20:09:23.69][78285b9c] DB(PDO/mysql) : start connect to afterlogic@127.0.0.1
[20:09:23.69][78285b9c] DB : PDO(mysql:dbname=AFTERLOGIC_DB;host=127.0.0.1;charset=utf8)
[20:09:23.69][78285b9c] DB : connected to afterlogic@127.0.0.1
[20:09:23.69][78285b9c] 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'michal'
[20:09:23.70][78285b9c] DB[2] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:23.70][78285b9c] DB[3] > 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`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `id_acct` = 4
[20:09:23.71][78285b9c] DB[4] > SELECT `id_user`, `id_subscription`, `id_helpdesk_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `created_time`, `last_login`, `last_login_now`, `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`, `sip_enable`, `sip_impi`, `sip_password`, `twilio_number`, `twilio_enable`, `twilio_default_number`, `use_threads`, `save_replied_messages_to_current_folder`, `desktop_notifications`, `allow_change_input_direction`, `allow_helpdesk_notifications`, `enable_open_pgp`, `allow_autosave_in_drafts`, `autosign_outgoing_emails`, `capa`, `custom_fields`, `helpdesk_signature`, `helpdesk_signature_enable`, `files_enable`, `email_notification`, `password_reset_hash` FROM awm_settings WHERE `id_user` = 4
[20:09:23.72][78285b9c] IMAP[NOTE]: Start connection to "tcp://127.0.0.1:143"
[20:09:23.72][78285b9c] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
[20:09:23.72][78285b9c] IMAP[SECURE]: > TAG1 LOGIN "michal" "********"\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < TAG1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE] Logged in\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: > TAG2 EXAMINE "Sent"\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * OK [PERMANENTFLAGS ()] Read-only mailbox.\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * 9 EXISTS\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * 0 RECENT\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * OK [UIDVALIDITY 1247957393] UIDs valid\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * OK [UIDNEXT 3807] Predicted next UID\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * OK [HIGHESTMODSEQ 5480] Highest\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < TAG2 OK [READ-ONLY] Examine completed (0.000 secs).\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: > TAG3 STATUS "Sent" (MESSAGES UNSEEN UIDNEXT)\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * STATUS Sent (MESSAGES 9 UIDNEXT 3807 UNSEEN 0)\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < TAG3 OK [CLIENTBUG] Status on selected mailbox completed.\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: > TAG4 CAPABILITY\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < TAG4 OK Capability completed.\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: > TAG5 UID THREAD REFS UTF-8 ALL\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * THREAD (3798)(3799)(3800)(3801)(3802)(3803)(3804)(3805)(3806)\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < TAG5 OK Thread completed.\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: > TAG6 UID SORT (REVERSE ARRIVAL) US-ASCII ALL\r\n
[20:09:23.73][78285b9c] IMAP[DATA]: < * SORT 3806 3805 3804 3803 3802 3801 3800 3799 3798\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < TAG6 OK Sort completed (0.000 secs).\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: > TAG7 UID FETCH 3806,3805,3804,3803,3802,3801,3800,3799,3798 (UID RFC822.SIZE INTERNALDATE FLAGS BODYSTRUCTURE BODY.PEEK[HEADER])\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 1 FETCH (UID 3798 RFC822.SIZE 441 INTERNALDATE "29-Mar-2016 16:23:55 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {439}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 2 FETCH (UID 3799 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:10:30 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 3 FETCH (UID 3800 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:10:59 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 4 FETCH (UID 3801 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 17:11:16 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 5 FETCH (UID 3802 RFC822.SIZE 444 INTERNALDATE "29-Mar-2016 17:11:35 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {442}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 6 FETCH (UID 3803 RFC822.SIZE 395183 INTERNALDATE "29-Mar-2016 17:16:52 +0200" FLAGS (\Seen) BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 914 23 NIL NIL NIL NIL)("application" "octet-stream" ("name" "putty.zip") NIL NIL "base64" 392294 NIL ("attachment" ("filename" "putty.zip")) NIL NIL)("text" "plain" ("charset" "UTF-8" "name" "PuTTY tunel.txt") NIL NIL "7bit" 900 16 NIL ("attachment" ("filename" "PuTTY tunel.txt")) NIL NIL) "mixed" ("boundary" "------------070002020701050605070806") NIL NIL NIL) BODY[HEADER] {446}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 7 FETCH (UID 3804 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 20:31:14 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 8 FETCH (UID 3805 RFC822.SIZE 443 INTERNALDATE "29-Mar-2016 20:39:26 +0200" FLAGS (\Seen) BODYSTRUCTURE ("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL) BODY[HEADER] {441}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < * 9 FETCH (UID 3806 RFC822.SIZE 403184 INTERNALDATE "29-Mar-2016 20:42:40 +0200" FLAGS (\Seen) BODYSTRUCTURE (("text" "plain" ("charset" "iso-8859-2" "format" "flowed") NIL NIL "7bit" 2 1 NIL NIL NIL NIL)("application" "octet-stream" ("name" "putty.zip") NIL NIL "base64" 402336 NIL ("attachment" ("filename" "putty.zip")) NIL NIL) "mixed" ("boundary" "------------060802000306040101050201") NIL NIL NIL) BODY[HEADER] {424}\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < )\r\n
[20:09:23.74][78285b9c] IMAP[DATA]: < TAG7 OK Fetch completed.\r\n
[20:09:23.76][78285b9c] INFO[MEMORY]: Memory peak usage: 9.75MB
[20:09:23.76][78285b9c] INFO[TIME]: Time delta: 0.16039490699768
[20:09:23.76][78285b9c] DB : disconnect from afterlogic@127.0.0.1
[20:09:23.77][78285b9c] IMAP[DATA]: > TAG8 LOGOUT\r\n
[20:09:23.77][78285b9c] IMAP[DATA]: < * BYE Logging out\r\n
[20:09:23.77][78285b9c] IMAP[DATA]: < TAG8 OK Logout completed.\r\n
[20:09:23.77][78285b9c] IMAP[NOTE]: Disconnected from "tcp://127.0.0.1:143" (success)
[20:09:43.14][6954db7a] [GET][ip:192.168.42.101] /webmail/adminpanel/index.php?pop&type=log&action=view
[20:09:43.14][6954db7a] POST > []
[20:09:43.14][6954db7a]
[20:09:43.14][6954db7a] call CCommonModule->StandardPopAction->System()
[20:09:43.14][6954db7a] call CWebMailModule->StandardPopAction->System()
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 29 March 2016 at 1:37pm | IP Logged
|
|
|
Hi, I found the cause in config file postfix.
My server have set in /etc/postfix/main.cf :
smtpd_tls_protocols= !SSLv2,!SSLv3,!TLSv1,!TLSv1.1
If a change on: smtpd_tls_protocols= !SSLv2,!SSLv3
so it sends email. OK
interesting is that in adminpanel webmail I have:
Outgoing mail 127.0.0.1 port 25 No authentication
it would be good to be able to disable TLSv1 and TLSv1.1 ?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 29 March 2016 at 2:06pm | IP Logged
|
|
|
Oh, so it actually tried TLS but it was disabled on the mail server..
Well, forcing TLS1.2 in your PHP version may not be possible unless it has STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT constant defined (it your PHP doesn't define STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT, it won't define STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT either). Which version of PHP are you using?
Most of these constants were added in PHP 5.6.
Anyway, I'm not getting why you're using SSL at all. Your webmail talks to a local server (you have 'localhost' in your Admin panel for mail server host). Encrypting traffic when it never leaves your internal network (and even your server) seems to be waste of resources.
Regards,
Alex
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 29 March 2016 at 10:07pm | IP Logged
|
|
|
Hi Alex,
if I change: public function EnableCrypto($iCryptoType = STREAM_CRYPTO_METHOD_TLS_CLIENT) on: STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT
and I set in /etc/postfix/main.cf on smtpd_tls_protocols= !SSLv2,!SSLv3,!TLSv1,!TLSv1.1
telnet 127.0.0.1 25
telnet 127.0.0.1 143
telnet 127.0.0.1 993
telnet 127.0.0.1 465
If email not send.
Was disabled only: SSLv2 SSLv3 TLSv1 TLSv1.1
Was enabled: TLSv1.2
I have php 5.4.45
If I send email of client thunderbird I set outgoint smtp port 25 (no ssl) email have send OK.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 30 March 2016 at 2:39am | IP Logged
|
|
|
Yes, PHP 5.4 does not support TLS 1.2. Anyway, as the webmail on the same server where the mail server is installed, you don't need SSL at all.
Regards,
Alex
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 30 March 2016 at 11:52pm | IP Logged
|
|
|
Hi,
yes, I had but in the admin panel: not SSL. Port 143 and 25
this It's just interesting
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 31 March 2016 at 4:15am | IP Logged
|
|
|
Got it.
Add this in config.php:
Code:
'labs.prefer-starttls' => false,
|
|
|
Regards,
Alex
|
Back to Top |
|
|
esetman Senior Member
Joined: 25 August 2014 Location: Czech Republic
Online Status: Offline Posts: 158
|
Posted: 31 March 2016 at 11:44pm | IP Logged
|
|
|
I tested it, but alas. It did not help. again error
I left but set EnableCrypto by default: STREAM_CRYPTO_METHOD_TLS_CLIENT
In /var/www/webmail/libraries/MailSo/Net/NetClient.php
I leave allowed TLSv1
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 01 April 2016 at 5:28am | IP Logged
|
|
|
OK, please this:
..\libraries\MailSo\Net\Enumerations\ConnectionSecurityType.php
Code:
public static function UseStartTLS($bSupported, $iSecurityType, $bHasSupportedAuth = true)
{
return false; // NEW LINE
return ($bSupported &&
(self::STARTTLS === $iSecurityType ||
(self::AUTO_DETECT === $iSecurityType && (!$bHasSupportedAuth || \MailSo\Config::$PreferStartTlsIfAutoDetect))) &&
\defined('STREAM_CRYPTO_METHOD_TLS_CLIENT') && \MailSo\Base\Utils::FunctionExistsAndEnabled('stream_socket_enable_crypto'));
}
|
|
|
Does it help?
Regards,
Alex
|
Back to Top |
|
|
goldfash Newbie
Joined: 10 May 2016 Location: United States
Online Status: Offline Posts: 1
|
Posted: 10 May 2016 at 10:33am | IP Logged
|
|
|
Greetings, I've followed this post but still haven't been able to get messages to send.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 May 2016 at 3:29am | IP Logged
|
|
|
What's in WebMail's log file?
Regards,
Alex
|
Back to Top |
|
|
|
|