Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: error with SMTP authentication Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Darioago
Newbie
Newbie
Avatar

Joined: 13 March 2018
Location: Italy
Online Status: Offline
Posts: 4
Posted: 13 March 2018 at 9:49am | IP Logged Quote Darioago

When I try tu set " Use incoming mail's login/password of the user"

it gives me this error on the page "Si è verificato un errore durante l'invio del messaggio. (The username or password you entered is incorrect)".

and this in the log:

"Next exception 'Aurora\Modules\Mail\Exceptions\Exception' with message 'The username or password you entered is incorrect' in /MYWEBSITE/modules/Mail/Managers/Main/Manager.php:1341"

maybe I forgot something?
Back to Top View Darioago's Profile Search for other posts by Darioago
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 13 March 2018 at 11:52am | IP Logged Quote Alex

When does this happen? When you're sending a message? And if you don't set this setting, does everything work?

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

Joined: 13 March 2018
Location: Italy
Online Status: Offline
Posts: 4
Posted: 14 March 2018 at 7:44am | IP Logged Quote Darioago

when I try to send a message.

In english "An error occurred during sending the message. (The username or password you entered is incorrect)"

(incoming mail works)

http://interstudio.eu/screenshot.png
Back to Top View Darioago's Profile Search for other posts by Darioago
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 14 March 2018 at 8:57am | IP Logged Quote Alex

Log file is your friend.

https://afterlogic.com/docs/webmail-pro/troubleshooting/debug-logging-as-main-troubleshooting-measure

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

Joined: 13 March 2018
Location: Italy
Online Status: Offline
Posts: 4
Posted: 15 March 2018 at 2:23am | IP Logged Quote Darioago

Alex wrote:
Log file is your friend.

https://afterlogic.com/docs/webmail-pro/troubleshooting/debug-logging-as-main-troubleshooting-measure

Regards,
Alex


It looks like it's doing a "LoginBadMethodException"

but my server ask me to use that authentication

[09:19:22.93][ddd0be90] SMTP[NOTICE]: exception 'MailSo\Smtp\Exceptions\LoginBadMethodException' with message 'MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 259)' in /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/vendor/afterlogic/mailso/lib/MailSo/Smtp/SmtpClient.php:259
Stack trace:
#0 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Managers/Main/Manager.php(1310): MailSo\Smtp\SmtpClient->Login('MYLOGINEMAIL...', 'Stnl80~3')
#1 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Module.php(3415): Aurora\Modules\Mail\Managers\Main\Manager->sendMessage(Object(Aurora\Modules\Mail\Classes\Account), Object(MailSo\Mime\Message), NULL, 'INBOX.Sent', '', '')
#2 [internal function]: Aurora\Modules\Mail\Module->SendMessage(5, '', 500000, Array, '', 'EMAILTOSENDTO....', '', '', 'Re: test', '<div data-crea=...', true, 3, false, Array, '<48410A8A-927F-...', ' <48410A8A-927F...', 0, 'INBOX.Sent', '', '', '')
#3 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(875): call_user_func_array(Array, Array)
#4 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Core/Module.php(532): Aurora\System\Module\AbstractModule->CallMethod('SendMessage', Array, true)
#5 [internal function]: Aurora\Modules\Core\Module->EntryApi()
#6 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(620): call_user_func_array(Array, Array)
#7 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/Manager.php(689): Aurora\System\Module\AbstractModule->RunEntry('api')
#8 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Application.php(88): Aurora\System\Module\Manager->RunEntry('api')
#9 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/index.php(21): Aurora\System\Application::Start()
#10 {main}
[09:19:22.93][ddd0be90] SMTP[DATA]: > QUIT\r\n
[09:19:22.93][ddd0be90] SMTP[DATA]: < 221 2.0.0 Bye\r\n
[09:19:22.93][ddd0be90] SMTP[NOTE]: Disconnected from "tcp://MYDOMAIN:25" (success)
[09:19:22.93][ddd0be90] exception 'MailSo\Smtp\Exceptions\LoginBadMethodException' with message 'MailSo-Smtp-Exceptions-LoginBadMethodException (SmtpClient.php ~ 259)' in /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/vendor/afterlogic/mailso/lib/MailSo/Smtp/SmtpClient.php:259
Stack trace:
#0 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Managers/Main/Manager.php(1310): MailSo\Smtp\SmtpClient->Login('MYLOGINEMAIL...', 'Stnl80~3')
#1 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Module.php(3415): Aurora\Modules\Mail\Managers\Main\Manager->sendMessage(Object(Aurora\Modules\Mail\Classes\Account), Object(MailSo\Mime\Message), NULL, 'INBOX.Sent', '', '')
#2 [internal function]: Aurora\Modules\Mail\Module->SendMessage(5, '', 500000, Array, '', 'EMAILTOSENDTO....', '', '', 'Re: test', '<div data-crea=...', true, 3, false, Array, '<48410A8A-927F-...', ' <48410A8A-927F...', 0, 'INBOX.Sent', '', '', '')
#3 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(875): call_user_func_array(Array, Array)
#4 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Core/Module.php(532): Aurora\System\Module\AbstractModule->CallMethod('SendMessage', Array, true)
#5 [internal function]: Aurora\Modules\Core\Module->EntryApi()
#6 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(620): call_user_func_array(Array, Array)
#7 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/Manager.php(689): Aurora\System\Module\AbstractModule->RunEntry('api')
#8 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Application.php(88): Aurora\System\Module\Manager->RunEntry('api')
#9 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/index.php(21): Aurora\System\Application::Start()
#10 {main}

Next exception 'Aurora\Modules\Mail\Exceptions\Exception' with message 'The username or password you entered is incorrect' in /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Managers/Main/Manager.php:1341
Stack trace:
#0 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Mail/Module.php(3415): Aurora\Modules\Mail\Managers\Main\Manager->sendMessage(Object(Aurora\Modules\Mail\Classes\Account), Object(MailSo\Mime\Message), NULL, 'INBOX.Sent', '', '')
#1 [internal function]: Aurora\Modules\Mail\Module->SendMessage(5, '', 500000, Array, '', 'EMAILTOSENDTO....', '', '', 'Re: test', '<div data-crea=...', true, 3, false, Array, '<48410A8A-927F-...', ' <48410A8A-927F...', 0, 'INBOX.Sent', '', '', '')
#2 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(875): call_user_func_array(Array, Array)
#3 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/modules/Core/Module.php(532): Aurora\System\Module\AbstractModule->CallMethod('SendMessage', Array, true)
#4 [internal function]: Aurora\Modules\Core\Module->EntryApi()
#5 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/AbstractModule.php(620): call_user_func_array(Array, Array)
#6 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Module/Manager.php(689): Aurora\System\Module\AbstractModule->RunEntry('api')
#7 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/system/Application.php(88): Aurora\System\Module\Manager->RunEntry('api')
#8 /var/www/vhosts/MYDOMAIN/posta.MYDOMAIN/index.php(21): Aurora\System\Application::Start()
#9 {main}
Back to Top View Darioago's Profile Search for other posts by Darioago
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 15 March 2018 at 4:04am | IP Logged Quote Alex

I think your SMTP server does not support authentication on port 25 (without TLS/SSL). You may try port 465, for instance.

Are you sure you posted this in a right forum? You put it in 'AfterLogic WebMail Lite 7' forum but this product does not have Aurora\Modules\Core or anything like that. I guess you're certainly using a different product.

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

Joined: 13 March 2018
Location: Italy
Online Status: Offline
Posts: 4
Posted: 15 March 2018 at 8:01am | IP Logged Quote Darioago

I'm sorry, I see now I'm using 8.1.9.

Did I have to reopen another one? Or an admin can move this?

My server ask me to use that port

Username. In this field, specify your full email address. For example, johndoe@example.com.
Password. Most likely, the password to your email account.
Mail server protocol. This property defines whether you want to keep copies of messages on the server or not. To keep the copies on the server, select the IMAP option. If you do not want to keep them on the server, select POP3. Selecting IMAP will also allow you to train the SpamAssassin spam filter on email messages you receive, if SpamAssassin is enabled on the server.
Incoming mail server (POP3/IMAP). Type your domain name. For example, example.com. The POP3 port is 110. The IMAP port is 143.
Outgoing mail server (SMTP). Type your domain name. For example, example.com. The SMTP port is 25. This server requires authentication.
Back to Top View Darioago's Profile Search for other posts by Darioago
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 15 March 2018 at 8:37am | IP Logged Quote Alex

I updated the forum. I think your SMTP server does not support authentication on port 25 without TLS/SSL so it won't work unless you enable TLS/SSL.

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

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