-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
501 5.5.4 Syntax error in parameters or arguments (invalid SIZE parameter) #407
Comments
I think this may be related to to some (currently) unsupported functionality in the smtpd server in Mailpit (I am investigating, however I just had surgery so I'm on very strong pain medication and my brain isn't functioning properly :)). I'm fairly sure it has to do with the secondary command in In the meantime, can you maybe answer a question: do you get this error if you send directly to Mailpit? I'm curious as to whether it is the CloudFlare proxy that is adding that, or your SMTP client. |
This weird behavior caused by Cloudflare forwarding in one mailbox to one mailbox rule. It does not depend on MTA because I tested two completely different senders. |
I believe in some cases SMTP relay servers/proxies (in this case CloudFlare) may be adding the Hopefully I will have a new release out by the end of the weekend. |
There is some progress evident.
REAL message originated NOT from cloudflare was not delivered:
TEST message from sendtestemail WAS delivered:
It is obvious that:
Maybe you should consider splitting MAIL FROM string on "> " or " " delimiter, trimming all spaces and processing list as separate commands? |
Damn, that was my mistake, sorry! I have just pushed a fix for the fix. If you don't mind, could you please test again with the latest edge build and let me know if this now resolves the issue for you? Thank you! |
You fixed it! |
Yes, I'm glad to hear it! I'm typing everything with one hand which is really slow - but I have time :) The size argument shouldn't be a problem 👍 |
This has now been released in v1.21.7. |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [axllent/mailpit](https://github.com/axllent/mailpit) | patch | `v1.21.6` -> `v1.21.8` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>axllent/mailpit (axllent/mailpit)</summary> ### [`v1.21.8`](https://github.com/axllent/mailpit/blob/HEAD/CHANGELOG.md#v1218) [Compare Source](axllent/mailpit@v1.21.7...v1.21.8) ##### Chore - Update node dependencies - Update Go dependencies ##### Fix - **db:** Remove unused FOREIGN KEY REFERENCES in message_tags table ([#​374](axllent/mailpit#374)) ### [`v1.21.7`](https://github.com/axllent/mailpit/blob/HEAD/CHANGELOG.md#v1217) [Compare Source](axllent/mailpit@v1.21.6...v1.21.7) ##### Chore - Update node dependencies - Update Go dependencies - Bump Go version for automated testing - Move smtpd & pop3 modules to internal - Stricter SMTP 'MAIL FROM' & 'RCPT TO' handling ([#​409](axllent/mailpit#409)) - Display "To" details in mobile messages list - Display "From" details in message sidebar (desktop) ([#​403](axllent/mailpit#403)) ##### Fix - Ignore unsupported optional SMTP 'MAIL FROM' parameters ([#​407](axllent/mailpit#407)) - Prevent splitting multi-byte characters in message snippets ([#​404](axllent/mailpit#404)) ##### Testing - Add smtpd tests </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS42NC4wIiwidXBkYXRlZEluVmVyIjoiMzkuNzUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Something nasty happening while proxying email via Cloudflare.
Two different senders, same result:
The text was updated successfully, but these errors were encountered: