[exim] errors_to and rewrite...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marco Gaiarin
Date:  
À: exim-users
Sujet: [exim] errors_to and rewrite...

In a router i set 'errors_to': docs and past test say me that setting
errors_to does not automatocally imply that the sender change, rewriting
have to be used.

In a trasport (say 'A', it is a smarthost transport) i've set:

    headers_rewrite = *@* "${if eq{${domain::$h_errors_to::}}{SRS_DOMAIN}{$h_errors_to::} fail }" s


But in another trasport (say 'B', it is the generic SMTP/direct MX
transport) i've not set it.


But email get sender rewritten, both if they use transport 'A' or 'B'.


Why?! Thanks.

-- 
  Software patents are like smoke: «it started with an experiment to improve
  health. It tasted quite good and it soon became a fashion statement. But
  today smoking kills not only those who smoke but also those who breathe
  nearby.»                        (Marten Mickos)