Re: [exim] return_path variable and errors_to

Startseite
Nachricht löschen
Nachricht beantworten
Autor: marcogaio
Datum:  
To: Robert Blayzor
CC: exim-users
Alte Treads: [exim] return_path variable and errors_to
Betreff: Re: [exim] return_path variable and errors_to
Mandi! Robert Blayzor
In chel di` si favelave...

> When using ???errors_to??? in a router, does this essentially update $return_path ?
> Meaning, if you set errors_to in a router; at the transport $return_path is the value set in errors_to and not he original envelope sender?


Sorry, a very late answer.

Seems that setting 'errors_to' in router *SUFFICES* to update $return_path.

As stated some month ago, i was working on this for implementing SRS, and
doing my test was finally convinced i needed to set a rewrite to full modify
$return_path.
Now, i've redone all my test, and also disabling address rewrite,
$return_path is what i expected (eg, the ''one shot'' SRS address).


Probably in my previous test i get fooled by two fact:

a) Exim refuse to set $return_path if address does not exist; so, you have
to verify $return_path is a verifiable address before setting it.
In my test i've hitted my head on the wall for weeks, because i was testing
the ''producer'' of SRS addresses before building (and testing) the
consumer.

b) probably there's some ''cache'' mechanism, so a restart of exim it's
needed.


I hope this info can be useful. Say me, please, if you have found other
interesting things on this subject.

-- 
  ...ma quel suo volo certo vuol dire
  che bisognava volare                    (F. Guccini)