http://bugzilla.spamassassin.org/show_bug.cgi?id=3605





------- Additional Comments From [EMAIL PROTECTED]  2004-07-15 12:29 -------
ok, so I've been chatting with a coworker about this...

my issue is that we currently have no way to add in the header, and then mark 
that it should be 
removed when stripping our markup.  ie: we use "X-Spam-Prev-Header:" to specify 
the original header 
content, and upon stripping the markup, we simply delete "Header" and rename 
"X-Spam-Prev-Header" 
appropriately.

so then I thought about just adding "X-Spam-Create-Header", or something, and 
when we see that 
during the strip process, just delete it and "Header".  but then I figured that 
was too easy to fake in a 
message.

but in conversing more about it, we can't protect the faking thing anyway using 
'Prev' and such, so why 
do I worry about 'Create'?

So here's my goal: I want "spamassassin < msg | spamassassin -d" and "cat msg" 
to basically return the 
same message.  I don't want headers added, I don't want headers removed, but 
I'll be ok with some 
headers shuffled in order.  If someone wants to do up a patch to add 
"X-Spam-Create-Header", then 
deal with it appropriately on remove_spamassassin_markup() calls, so that you 
can do "rewrite_header 
Subject foo" and have it work, fine, I can go with that.  I'm, however, -1 on 
doing it without having the 
logic in there to strip the added header back out.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to