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

SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] #164

Closed
jsdza opened this Issue Apr 25, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@jsdza
Copy link

jsdza commented Apr 25, 2016

hMailserver SMTP server erroneously aborts an inbound ESMTP connection if the MAIL FROM line contains the parameter "AUTH=<>"

This parameter should be ignored, however hMailserver is not parsing it correctly because of the following typo at line 473 of SMTPConnection.cpp:

473: else if (parameter.Left(**5**).CompareNoCase(_T("AUTH")) == 0)
where '5' should really be '4' (no of chars in "AUTH").
Correcting the count to 4 resolves the problem.
(Apologies for not submitting a proper patch for this 1 character fix)

@martinknafve martinknafve added this to the 5.6.5 milestone Apr 28, 2016

@martinknafve martinknafve modified the milestones: 5.6.5, 5.7 Apr 28, 2016

@martinknafve

This comment has been minimized.

Copy link
Collaborator

martinknafve commented Apr 28, 2016

Thanks, fixed. Please note that this issue only exists in master branch, which is not a released version. In other words, please be aware that there may be more issues in this branch.

@jsdza

This comment has been minimized.

Copy link

jsdza commented Apr 28, 2016

Most welcome. Thanks for a truly impressive piece of software (both inside and out!)

RvdHout added a commit to RvdHout/hmailserver that referenced this issue Aug 6, 2017

- Sub OnHELO(oClient) hmailserver#153 hmailserver#153
- Fixed Incorrect DEBUG logging for event 'OnDeliverMessage' hmailserver#181 hmailserver#181
- Include HTMLBody into IMAP TEXT search hmailserver#193
- Fixed implicit conversion: "int" to "unsigned char" hmailserver#204
- Faulty: SMTP 'Disconnect client after too many invalid commands' hmailserver#160 hmailserver#160
- SMTP server error "550 Unsupported ESMTP extension" on MAIL FROM:... AUTH=<> [with fix] hmailserver#164 hmailserver#164
- Remove 15GB backup limit hmailserver#69 hmailserver#69
- Speed up 'update hm_messages set messageflags' hmailserver#221 hmailserver#221
- https://www.hmailserver.com/forum/viewtopic.php?f=7&p=196733#p196733 (Ofice 2016 Read-Receipt Bug)
- Add Return-Path as topmost header before sending the message to SA (+ delete Return-Path header after the SA check completes) hmailserver#116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment