You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2026. It is now read-only.
Nigel Metheringham edited this page Nov 29, 2012
·
2 revisions
Q0905
Question
I know I can use a system filter to replace certain headers in messages,
but how can I add text to existing headers? I want to add [SPAM] to the
subject line of messages that appear to be spam.
Answer
You can only do this in a round about way, using filter commands like
this:
This trick works only in system filters, where the commands are obeyed
in order, and affect the master list of headers that apply to the whole
message. You cannot do this with the headers_add and headers_remove
options on drivers.