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

SMTP protocol is matched case-sensitively #35

Open
fatalbanana opened this issue Mar 24, 2024 · 5 comments
Open

SMTP protocol is matched case-sensitively #35

fatalbanana opened this issue Mar 24, 2024 · 5 comments

Comments

@fatalbanana
Copy link
Contributor

Protocol is matched case-sensitively where-as the receiving MTA probably doesn't care. This can cause metadata not to be collected or false protocol synchronization errors to be generated.

Also: elements like MAIL FROM might/not contain one/more spaces before <.

@linyows
Copy link
Owner

linyows commented Apr 15, 2024

Oh, Thanks!

@linyows
Copy link
Owner

linyows commented Apr 15, 2024

Thank you for the valuable information. Do you have plans to use Warp for any specific purpose? If you have any use cases, sharing them would be motivating for development, so I would be happy to hear about them.

@fatalbanana
Copy link
Contributor Author

fatalbanana commented Apr 15, 2024

Thank you for the valuable information. Do you have plans to use Warp for any specific purpose?

Yes, I have a use-case in mind but it's not yet clear to me that I'll be pursuing it. The idea is to implement support for scanning messages with Rspamd - and inserting fake rejections into the stream if messages would be considered bad (and dropping the connections most likely).

@linyows
Copy link
Owner

linyows commented Apr 16, 2024

That's a good idea. I wonder if it would be good to have an extension like milter in Warp for that?

@fatalbanana
Copy link
Contributor Author

That's a good idea. I wonder if it would be good to have an extension like milter in Warp for that?

Milter support could be generally useful but Rspamd's HTTP protocol would be a better target for an Rspamd integration (in that it's relatively flexible vs milter or other integration).

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

2 participants