mirror of
https://github.com/decke/smtprelay.git
synced 2026-04-25 12:55:54 +03:00
[GH-ISSUE #1] Trying to send to Office365 throws TLS error #2
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/smtprelay#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shaxraman on GitHub (May 14, 2020).
Original GitHub issue: https://github.com/decke/smtprelay/issues/1
Hi
Looks like a great utility, exactly what I was looking for, but I ran into a snag trying to send email to Office365:
Config file:
remote_host = smtp.office365.com: 587
2020/05/14 13:47:41 delivering using smarthost smtp.office365.com:587 2020/05/14 13:47:52 delivery failed: 504 5.7.4 Unrecognized authentication type [HE1PR0401CA0078.eurprd04.prod.outlook.com]Am using an application password for the authentication, but also tried with a non-MFA account - same error.
@grffio commented on GitHub (May 14, 2020):
You need to use the
Loginauth mechanism, the solution is described here.You can add the configuration flag
LoginAuthType: false/true, and check it, depending on the flag useLoginorPlainauth mechanism.@decke commented on GitHub (May 15, 2020):
I will have a look at it. Looks like it should be easy to fix.
@decke commented on GitHub (May 15, 2020):
Should be working now. You will need to set remote_auth = login in your smtprelay.ini to test it.