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

[Rspamd] add dot-stuffing to bcc forwarding #5221

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

FreddleSpl0it
Copy link
Collaborator

If the BCC rule finds at least one bcc_dest, the rule will retrieve the e-mail's content using task:get_content() and forward it via SMTP to the destination. The rule will use the sendmail method, which does not perform dot-stuffing. https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.2

If the e-mail contains a new line with a period, it won't be fully forwarded.
This PR addresses the issue by adding dot-stuffing before forwarding the mail to the bcc_dest.
Resolves: #5067

@milkmaker
Copy link
Collaborator

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@milkmaker milkmaker added the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 2, 2023
@FreddleSpl0it FreddleSpl0it removed the stale Please update the issue with current status, unclear if it's still open/needed. label Jul 7, 2023
@FreddleSpl0it FreddleSpl0it merged commit a0723f6 into staging Jul 10, 2023
2 checks passed
@MAGICCC MAGICCC deleted the fix/dot-stuffing-bcc branch July 30, 2023 14:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants