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

rewrite subject and subject param in metric issue #42

Closed
andrejzverev opened this Issue Feb 5, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@andrejzverev
Contributor

andrejzverev commented Feb 5, 2014

rspamd must return changed header to rmilter if rewrite subject action is called but subject header don't have predefined value. Please add one as following

subject = *** SPAM *** %s;
if (action == METRIC_ACTION_REWRITE_SUBJECT && metric_res->metric->subject != NULL) {
r += rspamd_snprintf (outbuf + r, size - r,
"Subject: %s" CRLF, make_rewritten_subject (metric_res->metric, task));
}
@andrejzverev

This comment has been minimized.

Show comment
Hide comment
@andrejzverev

andrejzverev Jul 18, 2015

Contributor

I think it was done.

Contributor

andrejzverev commented Jul 18, 2015

I think it was done.

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