Re: [exim] rewriting a date header - how?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Mike Cardwell
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] rewriting a date header - how?
Daniel Tiefnig wrote:

>> I have considered using the 'transport_filter' option - but at this
>> point in time, if exim can do it, I would rather have exim do it,
>> than an external script for what really should be a simple rewrite.
>
> Well, what do you want to replace it with? The current date and time?
> Then you may simply use a remove-and-add approach in one of your
> routers/transports:
>
>   headers_remove = Date
>   headers_add    = Date: $tod_full

>
> Is a little bit easier than relaying the message one more time as
> suggested by Mike and does the same thing.


Yeah. Your way is better.

--
Mike Cardwell
(https://secure.grepular.com/) (http://perlcv.com/)