https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6199
--- Comment #3 from Mark Martinec <[email protected]> 2009-09-13 16:30:41 PDT --- > I have a small perl command somewhere around to rewrite quarantine messages, > moving X-Envelope-From information to Return-Path. Will post it here shortly. Depending on how you have quarantine files organized (adjust the 'find' as necessary), the following one-liner should make Return-Path be replaced by the contents of X-Envelope-From. Original files will be renamed to *.bak and can be later deleted. find . -type f | while read j; do perl -i.bak -ne ' if ($t) {print} elsif (!/^(Return-Path|Delivered-To):/i) { $t=1 if s/^X-Envelope-From:/Return-Path:/; print}' $j; done -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
