Author |
|
Zgegman Newbie
Joined: 03 September 2013
Online Status: Offline Posts: 5
|
Posted: 10 September 2013 at 11:51am | IP Logged
|
|
|
Hello,
I have succeeded to install webmail lite, but now I cannot send email. When I try a error message pops up stating: "An error occured during sending the message".
This is the log of the error (I am using webmail lite to access my gmail account):
[18:41:07.67] Location: index.php
[18:41:08.01] /adminpanel/index.php
[18:41:08.01]
[18:41:08.01] call CWebMailModule->PopulateData->ServicesLogging()
[18:41:12.21] [POST(17)] /index.php?/Ajax/
[18:41:12.21] POST > [DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, AccountID, Token]
[18:41:12.21]
[18:41:12.21] AJAX: Action: MessageSend
[18:41:12.21] DB : start connect to Sqldb@sql.*****.com
[18:41:12.21] DB : connected to Sqldb@sql.*****.com
[18:41:12.21] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `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` FROM awm_accounts WHERE `id_acct` = 3
[18:41:12.22] 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` = 3
[18:41:12.23] IMAP[NOTE]: Start connection to "ssl://imap.gmail.com:993"
[18:41:12.28] IMAP[TIME]: 0.053936004638672 (raw connection)
[18:41:12.28] IMAP[DATA]: < * OK Gimap ready for requests from 2001:41d0:2:fc18::1 gz2if6715173wib.106\r\n
[18:41:12.29] IMAP[TIME]: 0.057532072067261 (*)
[18:41:12.29] IMAP[DATA]: > TAG1 CAPABILITY\r\n
[18:41:12.30] IMAP[DATA]: < * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN\r\n
[18:41:12.30] IMAP[DATA]: < TAG1 OK Thats all she wrote! gz2if6715173wib.106\r\n
[18:41:12.30] IMAP[TIME]: 0.012997150421143 (TAG1)
[18:41:12.30] IMAP[SECURE]: > TAG2 LOGIN "login@gmail.com" "*******"\r\n
[18:41:12.99] IMAP[DATA]: < * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE ENABLE MOVE CONDSTORE ESEARCH\r\n
[18:41:12.99] IMAP[DATA]: < TAG2 OK login@gmail.com Name authenticated (Success)\r\n
[18:41:12.99] IMAP[TIME]: 0.69317197799683 (TAG2)
[18:41:13.00] DB : disconnect from Sqldb@sql.*****.com
[18:41:13.00] INFO[MEMORY]: Memory peak usage: 6.75MB
[18:41:13.00] IMAP[DATA]: > TAG3 LOGOUT\r\n
[18:41:13.17] IMAP[DATA]: < * BYE LOGOUT Requested\r\n
[18:41:13.17] IMAP[DATA]: < TAG3 OK 73 good day (Success)\r\n
[18:41:13.18] IMAP[TIME]: 0.17148590087891 (TAG3)
[18:41:13.18] IMAP[NOTE]: Disconnected from "ssl://imap.gmail.com:993" (success)
[18:41:13.18] IMAP[TIME]: 0.94800782203674 (net session)
[18:41:16.17] [POST(7)] /index.php?/Ajax/
[18:41:16.17] POST > [Action, Folder, Offset, Limit, Search, AccountID, Token]
[18:41:16.17]
[18:41:16.17] AJAX: Action: MessageList
[18:41:16.17] DB : start connect to Sqldb@sql.*****.com
[18:41:16.17] DB : connected to Sqldb@sql.*****.com
[18:41:16.18] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `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` FROM awm_accounts WHERE `id_acct` = 3
[18:41:16.18] 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` = 3
[18:41:16.18] IMAP[NOTE]: Start connection to "ssl://imap.gmail.com:993"
[18:41:16.23] IMAP[TIME]: 0.045680999755859 (raw connection)
[18:41:16.23] IMAP[DATA]: < * OK Gimap ready for requests from 2001:41d0:2:fc18::1 s52if8322949wep.228\r\n
[18:41:16.23] IMAP[TIME]: 0.047191143035889 (*)
[18:41:16.23] IMAP[DATA]: > TAG1 CAPABILITY\r\n
[18:41:16.24] IMAP[DATA]: < * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN\r\n
[18:41:16.24] IMAP[DATA]: < TAG1 OK Thats all she wrote! s52if8322949wep.228\r\n
[18:41:16.24] IMAP[TIME]: 0.011857032775879 (TAG1)
[18:41:16.24] IMAP[SECURE]: > TAG2 LOGIN "login@gmail.com" "*******"\r\n
[18:41:16.62] /adminpanel/index.php?pop&type=log&action=view
[18:41:16.62]
[18:41:16.62] call CWebMailModule->StandardPopAction->Services()
In addition, when I try to un-tick (as I see in other post)in the email account setting the box "use smtp auth" it does not seem to change anything (when I go back to the email account setting page, the use smtp auth is still ticked).
Here is the log of the change:
[18:47:46.85] Location: index.php
[18:47:47.23] /adminpanel/index.php
[18:47:47.23]
[18:47:47.23] call CWebMailModule->PopulateData->ServicesLogging()
[18:47:52.81] [POST(12)] /index.php?/Ajax/
[18:47:52.81] POST > [Action, AccountID, FriendlyName, Email, IncomingMailLogin, IncomingMailServer, IncomingMailPort, OutgoingMailServer, OutgoingMailLogin, OutgoingMailPort, OutgoingMailAuth, Token]
[18:47:52.81]
[18:47:52.81] AJAX: Action: UpdateAccountSettings
[18:47:52.82] DB : start connect to SqlDb@sql.******.com
[18:47:52.82] DB : connected to SqlDb@sql.******.com
[18:47:52.82] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `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` FROM awm_accounts WHERE `id_acct` = 3
[18:47:52.82] 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` = 3
[18:47:52.83] DB[3] > UPDATE awm_accounts SET `id_user` = 3, `id_domain` = 0, `deleted` = 0, `def_acct` = 1, `mailing_list` = 0, `quota` = 104857600, `friendly_nm` = '', `mail_protocol` = 1, `mail_inc_host` = 'imap.gmail.com', `mail_inc_port` = 993, `mail_inc_login` = 'login@gmail.com', `mail_inc_pass` = '67060903060b015756575e5654', `mail_inc_ssl` = 1, `mail_out_host` = 'smtp.gmail.com', `mail_out_port` = 465, `mail_out_login` = '', `mail_out_pass` = '', `mail_out_auth` = 0, `mail_out_ssl` = 1, `hide_in_gab` = 0, `signature` = '', `signature_type` = 1, `signature_opt` = 0, `custom_fields` = '' WHERE id_acct = 3
[18:47:53.00] DB[4] > UPDATE awm_settings SET `id_user` = 3, `msgs_per_page` = 25, `contacts_per_page` = 20, `auto_checkmail_interval` = 0, `def_skin` = 'Default', `def_lang` = 'French', `def_editor` = 1, `save_mail` = 1, `layout` = 0, `incoming_charset` = 'iso-8859-1', `def_timezone` = 0, `def_time_fmt` = 0, `def_date_fmt` = 'MM/DD/YYYY', `client_timezone` = 'Europe/Berlin', `question_1` = '', `question_2` = '', `answer_1` = '', `answer_2` = '', `capa` = '', `custom_fields` = '' WHERE id_user = 3
[18:47:53.27] DB : disconnect from SqlDb@sql.******.com
[18:47:57.64] /adminpanel/index.php?pop&type=dllog
[18:47:57.64]
[18:47:57.64] call CWebMailModule->StandardPopAction->Services()
[18:48:00.03] /adminpanel/index.php?pop&type=log&action=view
[18:48:00.03]
[18:48:00.03] call CWebMailModule->StandardPopAction->Services()
thanks a lot in advance if you have any thought on that
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Online Posts: 6104
|
Posted: 10 September 2013 at 10:32pm | IP Logged
|
|
|
The log file doesn't contain anything about sending mails over SMTP, only about receiving those over IMAP - and that bit is fine, no errors reported in the logs. Be sure to clear logs before trying to send mail and turn logging off once error message is shown. Also, make sure you're using port 465 for SMTP and SSL box is ticked.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Zgegman Newbie
Joined: 03 September 2013
Online Status: Offline Posts: 5
|
Posted: 12 September 2013 at 1:39am | IP Logged
|
|
|
Thanks for your answer Igor.
However, I tried again:
- on the webmail interface, I go to new message;
- Then on the admin panel, I erase the debug log;
- on the webmail interface, I try to send an email. The error message appears;
- I retrieve the log, which is identical to the one I've sent you, without any reference to smtp.
For this webmail account:
outgoing server: smtp.gmail.com port 465 ssl activated
ingoing server: imap.gmail.com port 993 ssl activated
Do you have an idea?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Online Posts: 6104
|
Posted: 12 September 2013 at 1:43am | IP Logged
|
|
|
The only suggestion I have at the moment is to check logs of Apache (or whatever web server is used) and PHP. Most probably, some server-side error is thrown when trying to send mails out.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
joerhodes Newbie
Joined: 15 September 2013 Location: Canada
Online Status: Offline Posts: 1
|
Posted: 16 September 2013 at 12:19pm | IP Logged
|
|
|
Zgegman:
I had this same trouble. The issue was a missing php module. If memory serves, it was the php-xml module. I noticed the only error I had in my apache log files was something about DOM errors.
Igor:
Perhaps your installer should check for the presence of this package? I spent WAY too long trying to figure that one out.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Online Posts: 6104
|
Posted: 16 September 2013 at 4:40pm | IP Logged
|
|
|
Absolutely agreed, and I believe it will be checking that starting from version 7.1. Not sure if that helps in this particular case, but checking it might be worth a shot.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
|
|