Author |
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 28 October 2020 at 6:41am | IP Logged
|
|
|
Hi
I've got everything working on webmail pro, except for some reason the office 365 smtp details don't work. It says authentication failed, however the credentials are correct as the imap is working fine.
I'm using: smtp.office365.com PORT: 587 with SSL on
That's the settings they say to use, and i've tried a few things such as SSL off, port 25 and nothing works.
Any ideas?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 October 2020 at 6:58am | IP Logged
|
|
|
Try setting port to 587 and SSL to off, enable debug logging, try sending mail out and check the logs - are you actually getting authentication error there, or cannot connect to SMTP server? Posting the relevant part of the logs here may allow us to help you further.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 28 October 2020 at 7:50am | IP Logged
|
|
|
Igor wrote:
Try setting port to 587 and SSL to off, enable debug logging, try sending mail out and check the logs - are you actually getting authentication error there, or cannot connect to SMTP server? Posting the relevant part of the logs here may allow us to help you further.
--
Regards,
Igor, Afterlogic Support |
|
|
How do i enable debug logging and then where is the log file?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 October 2020 at 8:11am | IP Logged
|
|
|
Per the documentation page I linked in my previous message:
https://afterlogic.com/docs/webmail-pro-8/troubleshooting/debug-logging-as-main-troubleshooting-measure
logs are enabled in Logging screen of admin interface, be sure to set log Verbosity to Debug. Logs are stored in data/logs/ directory, you can view them from within admin interface, too.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 28 October 2020 at 11:49am | IP Logged
|
|
|
glenelkins wrote:
Igor wrote:
Try setting port to 587 and SSL to off, enable debug logging, try sending mail out and check the logs - are you actually getting authentication error there, or cannot connect to SMTP server? Posting the relevant part of the logs here may allow us to help you further.
--
Regards,
Igor, Afterlogic Support |
|
|
How do i enable debug logging and then where is the log file? |
|
|
Here is the log
[18:47:12.64][9e150bbc] SMTP[NOTE]: Start connection to "tcp://smtp-mail.outlook.com:25"
[18:47:12.65][9e150bbc] SMTP[DATA]: < 220 LO2P123CA0035.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 28 Oct 2020 18:47:11 +0000\r\n
[18:47:12.65][9e150bbc] SMTP[DATA]: > EHLO webuyanyhouse.nibbrstaging.com\r\n
[18:47:12.65][9e150bbc] SMTP[DATA]: < 250-LO2P123CA0035.outlook.office365.com Hello [2001:41d0:800:18d2::]\r\n
[18:47:12.65][9e150bbc] SMTP[DATA]: < 250-SIZE 157286400\r\n
[18:47:12.65][9e150bbc] SMTP[DATA]: < 250-PIPELINING\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-DSN\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-8BITMIME\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-BINARYMIME\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-CHUNKING\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250 SMTPUTF8\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: > STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 220 2.0.0 SMTP server ready\r\n
[18:47:12.67][9e150bbc] SMTP[DATA]: > EHLO webuyanyhouse.nibbrstaging.com\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-LO2P123CA0035.outlook.office365.com Hello [2001:41d0:800:18d2::]\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-SIZE 157286400\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-PIPELINING\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-DSN\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-AUTH LOGIN XOAUTH2\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-8BITMIME\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-BINARYMIME\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250-CHUNKING\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 250 SMTPUTF8\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: > AUTH LOGIN\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 334 VXNlcm5hbWU6\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: > cGV0ZXIuaGFsbEBwcm92ZWN0dXNhbnRpZ2VuLmNvbQ==\r\n
[18:47:12.68][9e150bbc] SMTP[DATA]: < 334 UGFzc3dvcmQ6\r\n
[18:47:12.68][9e150bbc] SMTP[SECURE]: > ********\r\n
[18:47:16.96][dfeedda2]
[18:47:16.96][dfeedda2] ===== API: LogsViewerWebclient::GetLogFilesData
[18:47:16.96][dfeedda2] @Time: 0.125
[18:47:16.96][dfeedda2] @TimeApiInit: 0.1178
[18:47:16.96][dfeedda2] INFO[MEMORY]: Memory peak usage: 2MB
[18:47:16.96][dfeedda2] INFO[TIME]: Time delta: 1603910836.9676
[18:47:17.76][9e150bbc] SMTP[DATA]: < 535 5.7.3 Authentication unsuccessful [LO2P123CA0035.GBRP123.PROD.OUTLOOK.COM]\r\n
[18:47:17.76][9e150bbc] SMTP[ERROR]: 535 5.7.3 Authentication unsuccessful [LO2P123CA0035.GBRP123.PROD.OUTLOOK.COM]
[18:47:17.76][9e150bbc] SMTP[NOTICE]: 535 5.7.3 Authentication unsuccessful [LO2P123CA0035.GBRP123.PROD.OUTLOOK.COM]
[18:47:17.76][9e150bbc] SMTP[DATA]: > QUIT\r\n
[18:47:17.76][9e150bbc] SMTP[DATA]: < 221 2.0.0 Service closing transmission channel\r\n
[18:47:17.77][9e150bbc] SMTP[NOTE]: Disconnected from "tcp://smtp-mail.outlook.com:25" (success)
[18:47:17.77][9e150bbc] 535 5.7.3 Authentication unsuccessful [LO2P123CA0035.GBRP123.PROD.OUTLOOK.COM]
Can see here it connects to their server but the auth is unsuccessful. The IMAP connection works fine though so the credentials are valid.
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 28 October 2020 at 1:07pm | IP Logged
|
|
|
I've just noticed the log says this:
Start connection to "tcp://smtp-mail.outlook.com:25"
Why is it connecting on port 25? I haven't got that set to port 25. I also don't know why it's connecting to smtp-mail.outlook.com ?? It looks like it's trying to use the wrong configuration or something.
I do have other domains setup in the admin for hotmail/live which uses smtp-mail.outlook.com:25 but the account in question this isn't the case.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 October 2020 at 11:29pm | IP Logged
|
|
|
Would it be possible to provide us with the installation URL, adminpanel access and the account login details so we could take a look? If yes, please send those via Helpdesk. Thank you.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 29 October 2020 at 12:22am | IP Logged
|
|
|
Igor wrote:
Would it be possible to provide us with the installation URL, adminpanel access and the account login details so we could take a look? If yes, please send those via Helpdesk. Thank you.
--
Regards,
Igor, Afterlogic Support |
|
|
I've tried but it's saying my licence key has expired? I can't find it in the email , the only one i have is a 30 day trial key. I paid for webmail pro so i'm a bit confused. The paypal transaction id is: 30797654JW766363V. i paid for it months ago but i don't seem to have the full licence key in my email.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 October 2020 at 12:48am | IP Logged
|
|
|
Thank you, we have received the request and will respond there shortly.
HelpDesk doesn't currently recognize license keys issued for orders done via PayPal, and since your maintenance contract is valid, it's perfectly safe to disregard that warning.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 29 October 2020 at 12:58am | IP Logged
|
|
|
Igor wrote:
Thank you, we have received the request and will respond there shortly.
HelpDesk doesn't currently recognize license keys issued for orders done via PayPal, and since your maintenance contract is valid, it's perfectly safe to disregard that warning.
--
Regards,
Igor, Afterlogic Support |
|
|
So the support request worked anyway? That's great
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 October 2020 at 1:00am | IP Logged
|
|
|
While checking this, I've found that SMTP authentication is now made unavailable by default for new organizations, and that could be why SMTP authentication issue arises:
Office 365 SMTP authentication failing, even with correct account information
Fortunately, there seems to be a way to enable it - quoting the above page:
Hope this helps.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 29 October 2020 at 5:20am | IP Logged
|
|
|
This doesn't make any sense, the office 365 is an online service, how are we supposed to use power shell? The part where they give a link to do it on office 365 website also doesn't work and i can't see anything relating to active users in the account. Bit stuck!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 October 2020 at 5:55am | IP Logged
|
|
|
The main question here is whether you're able to use those SMTP credentials with some other email client like Mozilla Thunderbird. If those are rejected there as well, there's not much we can do here I'm afraid, you'll need to check that with Microsoft support resources. Right now I'm under impression that WebMail Pro does its job correctly, it's the O365 server that returns authentication error. Also, the first link I posted contains a few pages of discussion which may help.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 04 November 2020 at 4:12am | IP Logged
|
|
|
Igor wrote:
The main question here is whether you're able to use those SMTP credentials with some other email client like Mozilla Thunderbird. If those are rejected there as well, there's not much we can do here I'm afraid, you'll need to check that with Microsoft support resources. Right now I'm under impression that WebMail Pro does its job correctly, it's the O365 server that returns authentication error. Also, the first link I posted contains a few pages of discussion which may help.
--
Regards,
Igor, Afterlogic Support |
|
|
I've spoken with an email tech, and what it looks like is office356 or outlook doesn't support SSL, it needs TLS.
Does webmail pro support TLS? I can't see any settings for it, but i would have thought this would be something that was there by default.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 November 2020 at 9:44pm | IP Logged
|
|
|
Yes it supports STARTTLS; if you connect to non-SSL port such as 587, and the server advertises STARTTLS support, then it will be used as you can see from the log:
Code:
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-DSN\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-8BITMIME\r\n
...
[18:47:12.66][9e150bbc] SMTP[DATA]: > STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 220 2.0.0 SMTP server ready\r\n |
|
|
Note that STARTTLS shouldn't be confused with TLS 1.* - the latter is merely a more advanced version of SSL and is used in the same way, on dedicated port like 465.
And personally, I don't think this is about the SSL mode or the port you're connecting to, as connection itself is performed just fine, authentication is the issue that needs to be looked into.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
glenelkins Newbie
Joined: 25 August 2020 Location: United Kingdom
Online Status: Offline Posts: 33
|
Posted: 23 November 2020 at 2:14am | IP Logged
|
|
|
Igor wrote:
Yes it supports STARTTLS; if you connect to non-SSL port such as 587, and the server advertises STARTTLS support, then it will be used as you can see from the log:
Code:
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-DSN\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-ENHANCEDSTATUSCODES\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 250-8BITMIME\r\n
...
[18:47:12.66][9e150bbc] SMTP[DATA]: > STARTTLS\r\n
[18:47:12.66][9e150bbc] SMTP[DATA]: < 220 2.0.0 SMTP server ready\r\n |
|
|
Note that STARTTLS shouldn't be confused with TLS 1.* - the latter is merely a more advanced version of SSL and is used in the same way, on dedicated port like 465.
And personally, I don't think this is about the SSL mode or the port you're connecting to, as connection itself is performed just fine, authentication is the issue that needs to be looked into.
--
Regards,
Igor, Afterlogic Support |
|
|
The authentication is right though, the IMAP server works fine.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 November 2020 at 2:35am | IP Logged
|
|
|
I believe the only way to confirm that is to try using SMTP with some other email client like Mozilla Thunderbird.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|