I'm using the redirect router to add some headers and remove some
headers. However - if I set "data =" the router has no effect. But if I
set "data = $local_part@$domain" then the header changes work.
# This router whitelists messages stored in Squirrelmail white list
personal_whitelist:
driver = redirect
local_part_suffix=-*
local_part_suffix_optional
senders = ${if exists
{/etc/squirrelmail/prefs/$local_part@$domain.whitelist}\
{/etc/squirrelmail/prefs/$local_part@$domain.whitelist}}
domains = +virtual_local_domains
headers_remove = "X-Spam-Flag : X-Spam-Level : X-Spam-Status :
X-Spam-Checker-Version"
headers_add = "X-Whitelisted: $sender_address"
# data = $local_part@$domain
data =
no_verify