[exim] unseen deliver with with different subjects

Page principale
Supprimer ce message
Répondre à ce message
Auteur: N. T.
Date:  
À: exim-users
Sujet: [exim] unseen deliver with with different subjects
Hi,

I'm trying to apply an exim filter to send one mail to two different adresses but with different subjects
My filter looks like this :
if $h_Cc: contains "@" and $h_subject: matches "([0-9a-zA-Z ,!]*) (<([0-9]*)>) (<TOKEN>) (\[[0-9]+\])" then
  headers remove subject
  headers add "Subject: <Ref$3> $1"
  unseen deliver $h_Cc:
  headers remove subject
  headers add "Subject: $1 $2 $4 $5"
  headers remove cc
endif

I was expecting that the mail sent to $h_Cc: contains the subject "<Ref$3> $1", but unfortunnately it's the second one ("$1 $2 $4 $5"). Can anybody explain me why ?

Any help would be really appreciated...
Nicolas.

PS : I'm running Exim 3.35.

Recevez l'Actualité en temps réel par email avec Track'n feed - http://www.tracknfeed.com