-
-
Notifications
You must be signed in to change notification settings - Fork 34
filtermail: allow Version comment in incoming PGP messages #655
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
base: main
Are you sure you want to change the base?
Conversation
Test is missing. If we do this anyway, then I'd rather not hardcode Protonmail and allow other And this should not be allowed for outgoing mails, only for incoming ones. |
Ah wait, that's still missing. |
Now outgoing mails with Let's hope nobody spams nine users unencrypted with spam in the |
695a1a0
to
c3c7884
Compare
if payload.startswith(version_comment): | ||
version_line = payload.splitlines()[0] | ||
payload = payload.removeprefix(version_line) | ||
print("Removed:" + version_line) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug printing?
fix #616