Mailer Settings

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Mailer Settings

Post by jordydk »

I was searching the forum for the following, but I couldn't find it.

We currently use a local SMTP server, but we want to phase this out.

All our other hardware uses mAUT microsoft365 or we use smtp.office365.com with an account.

And what Auth procotol do i need for that ?

Is it also possible within Hostmonitor to use one of these two ways?

Thank you in advance.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

What is mAUT? Google says its not a protocol.

smtp.office365.com
https://learn.microsoft.com/en-us/excha ... office-365

It supports normal SMTP authentication till September 2025 so for now you may use smtp.office365.com.
Then it will stop working unless we implement OAuth authentication method (we don't like OAuth very much)

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

In Veeam you have the possibility to use "Microsoft 365 Modern Authentication".

https://helpcenter.veeam.com/docs/vbpro ... html?ver=1

so it would be OAuth indeed.

What will be the brigde if you now want to use SMTP auth. remove our local SMTP server and we hit September 2025?
Will there be no mail sent anymore, when there is a problem, or will be by then a other solution?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

In Veeam you have the possibility to use "Microsoft 365 Modern Authentication"
But also basic authentication is supported as well (according to the article).
Its pretty secure when SSL/TLS is used.
Will there be no mail sent anymore, when there is a problem, or will be by then a other solution?
Microsoft says it will stop working.
We will try to implement OAuth but I cannot guarantee, we have this task in "to do" list for a long time but OAuth is not well designed for software like HostMonitor that should be able to work unattended..

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

PS
Microsoft says some services will work after September 2025
- High Volume Email for Microsoft 365
- Azure Communication Services Email

https://techcommunity.microsoft.com/blo ... th/4114750
If you are using Basic auth with Client Submission (SMTP AUTH) to send emails to recipients internal to your tenant, you can use High Volume Email for Microsoft 365.
If you are using Basic auth with Client Submission (SMTP AUTH) to send emails to recipients internal and external to your tenant, you can use Azure Communication Services Email.
If you have an Exchange Server on-premises in a hybrid configuration, you can use Basic auth to authenticate with the Exchange Server on-premises or configure the Exchange Server on-premises with a Receive connector that Allow anonymous relay on Exchange servers | Microsoft Learn
Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

Thank you, I will change this :).
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

I've been trying to get the SMTP from smtp.office365.com to work, hereby the config:

Address: smtp.office365.com
Port: 587
TLS: Explicit
Auth: Login
Login: mail address
Pass: mail address password

Hereby the error:
Cannot send e-mail to mail@mailer.com. smtp.office365.com:535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

the request did not meet the criteria to be authenticated successfully. Contact your administrator.
Yes, I think you should contact administrator that manages outlook365 account. We do not work for Microsoft and we do not manage outlook365 services.

I just assume you did not enable basic/login SMTP authentication for your office365 account, this option should be available in the Microsoft 365 admin center

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

I'm the administrator of the Outlook 365. I have test it with a account that we use for a other Microsoft SMTP mailing. So the user has the rights to do so.

What can it be else?

i'm 100% sure the credentials we use are the right ones.
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

PS,

On the Microsoft website, I found this:
https://learn.microsoft.com/en-us/excha ... -using-off

Error in Hostmonitor Sent Mail:
[12-3-2025 16:46:06] Error #535 (535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator.

Error: 535 5.7.139 Authentication unsuccessful, federated STS service was unreachable.

This error related to federation gateway servers hosted on-premises by customers. We were unable to reach the configured server location and therefore couldn't authenticate the federated user.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

I'm the administrator of the Outlook 365. I have test it with a account that we use for a other Microsoft SMTP mailing. So the user has the rights to do so. i'm 100% sure the credentials we use are the right ones.
I did not say credential are wrong. I suggested to check enabled authentication methods.
At the beginning of this conversation you asked about OAuth authentication, I said HostMonitor does not support OAuth.
I think you should enable authentication method supported by HostMonitor.

Regards
Alex
jordydk
Posts: 51
Joined: Tue Apr 02, 2024 5:25 am

Re: Mailer Settings

Post by jordydk »

Hi Alex,

We were too fast, we had adjusted that the account can use the legacy auth, now it works.

Again, thanks a lot for the support.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Re: Mailer Settings

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply