Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Webmail lite stopped working suddenly Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
webkingashu
Newbie
Newbie
Avatar

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 4:02am | IP Logged Quote webkingashu

Dear Folks
I have webmail installed on my host, it was operating normally.
Suddenly i have started receiving error like "An error occured during sending the message"

Wondering if this is the server side problem or something wrong with the script.
I may trace however the error log which is giving some CApiManagerException error

When went to error log here is the snippet.


[10:11:45.35] [POST(20)] /mail/?/Ajax/
[10:11:45.35] POST > [AccountID, FetcherID, IdentityID, DraftUid, To, Cc, Bcc, Subject, Text, Importance, Sensivity, ReadingConfirmation, InReplyTo, References, Action, IsHtml, ShowReport, SentFolder, DraftFolder, Token]
[10:11:45.35]
[10:11:45.35] Previous Exception: 550 SMTP AUTH is required for message submission on port 587
[10:11:45.36] exception 'CApiManagerException' with message 'Can't send message' in /home/maped62l/public_html/mydomain.in/mail/libraries/afterlogic/common/managers/mail/manager.php:1187
Stack trace:
#0 /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Actions.php(1368): CApiMailManager->MessageSend(Object(CAccount), Object(MailSo\Mime\Message), NULL, 'INBOX.Sent', 'INBOX.Drafts', '3')
#1 [internal function]: ProjectSeven\Actions->AjaxMessageSend()
#2 /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Service.php(265): call_user_func(Array)
#3 /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#4 /home/maped62l/public_html/mydomain.in/mail/index.php(71): include('/home/maped62l/...')
#5 {main}

Next exception 'ProjectSeven\Exceptions\ClientException' with message '550 SMTP AUTH is required for message submission on port 587' in /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Actions.php:1386
Stack trace:
#0 [internal function]: ProjectSeven\Actions->AjaxMessageSend()
#1 /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Service.php(265): call_user_func(Array)
#2 /home/maped62l/public_html/mydomain.in/mail/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#3 /home/maped62l/public_html/mydomain.in/mail/index.php(71): include('/home/maped62l/...')
#4 {main}


If anyone can address to what is going wrong .. that wud be great.
Thanks
Back to Top View webkingashu's Profile Search for other posts by webkingashu
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 03 July 2014 at 4:05am | IP Logged Quote Igor

Seems like the logging was not switched to debug mode so it's not really complete. Still, it contains the following record which might explain what's going on:

Code:
Previous Exception: 550 SMTP AUTH is required for message submission on port 587


Make sure you have SMTP authentication enabled in your account settings, that should help. Also you might want to check with mailserver support team if you believe something has suddenly changed on their end.

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

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 5:18am | IP Logged Quote webkingashu

Igor
Big Thanks for your Reply.

Code:
Previous Exception: 550 SMTP AUTH is required for message submission on port 587


But earlier when it was enabled, i had errors even logging in. So i disabled and it worked for months perfectly.

This must be some problem with server, i have set the lgging to debug mode and wil post a link to log file.


Back to Top View webkingashu's Profile Search for other posts by webkingashu
 
webkingashu
Newbie
Newbie
Avatar

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 5:48am | IP Logged Quote webkingashu

Hello Folks.
Somehow i have got the error log file uploaded and here is the link,

http://bit.ly/1orlZvC

I have also enabled the SMTP Authentication as u can see in log at recent timestamp [PageDown]

Still i'm getting error.

Thank You
Back to Top View webkingashu's Profile Search for other posts by webkingashu
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 03 July 2014 at 5:52am | IP Logged Quote Igor

Thanks. The log confirms SMTP auth is not enabled for the account. It's important to understand that, in case if you've enabled auth in default domain settings in adminpanel, that will not affect existing accounts. You need to enable SMTP authentication in account settings.

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

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 6:25am | IP Logged Quote webkingashu

Perfect.. that was the problem.
Since i have disabled the Access account settings for the users , will i have to enable it and ask all of them to go check that checkbox?? i really dont want them to mess up with other fields.

Thank You
Back to Top View webkingashu's Profile Search for other posts by webkingashu
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 03 July 2014 at 6:32am | IP Logged Quote Igor

There's a more quick solution for that. Assuming all the users use the accounts on the same mailserver, and they all need SMTP auth enabled, you can set mail_out_auth to 2 in awm_accounts table - either via tools like PhpMyAdmin, or by running the following SQL query:

Code:
UPDATE awm_accounts SET mail_out_auth = 2;


And just in case, backup the database before doing that!

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

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 6:59am | IP Logged Quote webkingashu

Igor.. You are a saviour.

I just did that just added the db prefix before the tablename.
Code:
UPDATE prefix_awm_accounts SET mail_out_auth = 2;


Thank You,
but still curious to know is it like server is suddenly forcing to send emails with smtp authentication ?? I Mean it did run fine in last two months, just today it came behaving like.
Back to Top View webkingashu's Profile Search for other posts by webkingashu
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 03 July 2014 at 7:04am | IP Logged Quote Igor

Oh right, I forgot to mention that there might be a prefix used. It's good you found that out.

As for your question, that's something only people in charge of that mailserver might help with. It's safe to say that SMTP auth is required in most cases, and while some services don't require it they might have to change their mind for some reason afterwards.

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

Joined: 13 March 2014
Location: India
Online Status: Offline
Posts: 13
Posted: 03 July 2014 at 7:16am | IP Logged Quote webkingashu

Hey Igor
I just wanted to say you THANKS... a big one. This helped.
Back to Top View webkingashu's Profile Search for other posts by webkingashu
 

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