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

XCLIENT command causes MailSlurper to reject email #145

Open
FlyingDR opened this issue Feb 3, 2021 · 0 comments
Open

XCLIENT command causes MailSlurper to reject email #145

FlyingDR opened this issue Feb 3, 2021 · 0 comments

Comments

@FlyingDR
Copy link

FlyingDR commented Feb 3, 2021

Several clients may send XCLIENT command (introduced by Postfix as SMTP extension) within SMTP session.

Practical example is an attempt to put MailSlurper behind Nginx SMTP proxy because it have xclient on by default.

This behavior caused MailSlurper to stop SMTP session with error:

level=error msg="Problem finding command from input" error="Command 'xclient addr=xx.xx.xx.xx login=[redacted] name=[unavailable]\r\n' not found" input="XCLIENT ADDR=xx.xx.xx.xx LOGIN=[redacted] NAME=[UNAVAILABLE]\r\n" who="SMTP Worker 1"

Error is produced by GetCommandFromString() function because XCLIENT command is not defined into SMTPCommands map.

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

1 participant