[Exim] 4.31: headers_add not working?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Troy Engel
Date:  
À: exim-users
Sujet: [Exim] 4.31: headers_add not working?
Can anyone spot what I'm doing wrong here? I don't get the value of
headers_add in my messages, whether I add them in the router *or*
transport, and I'm not sure why:

dspam_router:
no_verify
check_local_user
condition = "${if and { {!def:h_X-Spam-Flag:} {!def:h_X-DSPAM-Check:}
{!eq {$received_protocol}{local}} {!eq
{$sender_address_domain}{$domain}} } {1}{0}}"
headers_add = "X-DSPAM-Check: by $primary_hostname on $tod_full"
driver = accept
transport = dspam_spamcheck

dspam_spamcheck:
driver = pipe
command = "/opt/dspam/bin/dspam --user $local_part -d $local_part"
home_directory = "/tmp"
current_directory = "/tmp"
user = mail
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =

It *looks* correct, but again -- I can move headers_add to the transport
as well, and they still never get added. A bug? I'm doing something wrong?

thanks,
-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com