Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAIL FROM AUTH=<> returns 501 Parameter AUTH is not recognised #565

Open
ddaymn opened this issue Nov 19, 2020 · 5 comments
Open

MAIL FROM AUTH=<> returns 501 Parameter AUTH is not recognised #565

ddaymn opened this issue Nov 19, 2020 · 5 comments

Comments

@ddaymn
Copy link

ddaymn commented Nov 19, 2020

When sending mails using outlook they are rejected

250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
MAIL FROM:outlook_28E0EB1540D65AC3@outlook.com SIZE=13343 AUTH=<>
501 Parameter AUTH is not recognised
QUIT
221 Goodbye

@rnwood
Copy link
Owner

rnwood commented Nov 19, 2020 via email

@ddaymn
Copy link
Author

ddaymn commented Nov 20, 2020

It is outlook.com in general. My thought is that it is the empty AUTH<> I see other messages that work but there are values in between the <>. That value above was from the session log in smtp4dev. I do not have SMTP relay enabled.

@rnwood rnwood changed the title 501 Parameter AUTH is not recognised MAIL FROM AUTH=<> returns 501 Parameter AUTH is not recognised Nov 27, 2020
@rnwood
Copy link
Owner

rnwood commented Dec 2, 2020

I've had a look at web based Outlook (there's several apps branded as this by MS).

Can you confirm you are referring to the app at https://outlook.live.com/ (not the O365 one at outlook.office.com)
and specifically that this can be reproduced using these settings to get it to send outgoing messages via SMTP:
image

@GeoMaciolek
Copy link

I'm happy to work to troubleshoot this - I'm noticing, this seems to occur when we're using Exchange Online mail routing rules to Redirect a message to this server - sending email directly from the same Office/MS 365 Tenant works fine.

Noting in this case - running on Port 25. default settings, and no MX records; mail was sent to an address like user@asubdomain.mypersonaldomain.com.

@GeoMaciolek
Copy link

Here's the session log from the session in question!

220 my.public.hostname smtp4dev ready
EHLO NAM11-BN8-obe.outbound.protection.outlook.com
250-Nice to meet you.
250-8BITMIME
250-SIZE
250-SMTPUTF8
250-AUTH=CRAM-MD5 PLAIN LOGIN
250 AUTH CRAM-MD5 PLAIN LOGIN
MAIL FROM:<bouncesEtr+SRS=8Wfmu=OI=outlook.com=my@employer.com> SIZE=41816 AUTH=<>
501 Parameter AUTH is not recognised
QUIT
221 Goodbye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants