# ACL that is used after the DATA command
check_message:
warn message = X-New-Subject: [SPAMMER!!] $h_subject:
condition= ${perl{CheckSpam}}
accept
if "${if def:header_X-New-Subject: {there}}" is there
then
headers remove subject
headers add "Subject: $h_X-New-Subject:"
headers remove X-New-Subject
endif