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

FR: add pre-DATA (post-RCPT-TO) hooks #53

Open
mikhirev opened this issue Feb 8, 2024 · 1 comment
Open

FR: add pre-DATA (post-RCPT-TO) hooks #53

mikhirev opened this issue Feb 8, 2024 · 1 comment
Assignees

Comments

@mikhirev
Copy link

mikhirev commented Feb 8, 2024

Receiving DATA is not necessary for some checks such as greylisting or DNSBL lookup. Please consider adding pre-DATA hooks to avoid wasting traffic for messages that will be discarded anyway.

@albertito albertito self-assigned this Feb 8, 2024
@albertito
Copy link
Owner

Hi! Thanks for filing this!

It's a very reasonable request, and you're completely right that doing the checks post-DATA wastes the DATA traffic.

However, for chasquid's main use cases (low to medium volume of mails per day), that overhead should be negligible.

And having fewer hook points makes the code simpler, easier to maintain, and harder for bugs to sneak in (both in chasquid's code, and in the hooks themselves).

For those reasons, I'm inclined not to implement this for now.

I don't rule out implementing in the future, though, maybe if more reasons in favour of doing it pile up.

But please let me know if you think there's some information I'm missing, or something else I might not be considering!

Thank you!

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

No branches or pull requests

2 participants