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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Mike Cardwell
Datum:  
To: exim users
Betreff: Re: [exim] rewriting a date header - how?
Jeffrey 'jf' Lim wrote:

>> Jeffrey 'jf' Lim wrote:
>>> 2009/5/29 Anthony G. Nickolayev <dodger@???>
>>>
>>>
>>> But uh.. I see that submission is only useful for *missing* date headers?
>>> What I have right now is not a missing date header. It's a date header
>> that
>>> gives a strange timezone ('ZE8').
>>>
>>> -jf
>>>
>> Nothing particularly 'strange' about that TZ.
>>
>> Google it.
>
> yeah I know. The only thing "strange" about it is.. the webmail software
> we're using just fubars on this timezone...


You could add a router at the start of your routers which removes the
header and re-delivers the message to it's self. Something like this:

horrible_date_fudge:
    driver         = manualroute
    condition      = ${if match{$h_Date:}{ZE8}}
    headers_remove = Date
    transport      = remote_smtp
    route_list     = * "127.0.0.1::25"
    self           = send
    no_verify


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