#verbose on
open bug3.file.tmp

# This was a problem with a length check in the wrong place, causing
# a short header name to match a longer one.  After successful
# substring match, the "change header" code checked the length of
# the header name that was found, instead of the header name that
# was wanted.

#add_header X-SpamTest-Envelope-From wietse@porcupine.org
#upd_header 1 X-SpamTest-Envelope-From wietse@porcupine.org
#add_header X-SpamTest-Group-ID 00000000
#upd_header 1 X-SpamTest-Group-ID 00000000
#add_header X-SpamTest-Info Profiles 29362 [Feb 02 2012]
#upd_header 1 X-SpamTest-Info Profiles 29362 [Feb 02 2012]
#add_header X-SpamTest-Method none
#upd_header 1 X-SpamTest-Method none
#add_header X-SpamTest-Rate 0
#upd_header 1 X-SpamTest-Rate 0
#add_header X-SpamTest-SPF none
#upd_header 1 X-SpamTest-SPF none
add_header X-SpamTest-Status Not detected
#upd_header 1 X-SpamTest-Status Not detected
add_header X-SpamTest-Status-Extended not_detected
upd_header 1 X-SpamTest-Status-Extended not_detected
#add_header X-SpamTest-Version SMTP-Filter Version 3.0.0 [0284], KAS30/Release
#upd_header 1 X-SpamTest-Version SMTP-Filter Version 3.0.0 [0284], KAS30/Release

close
