Re: [exim] Manipulating the Date Header on message delivery

Etusivu
Poista viesti
Vastaa
Lähettäjä: Ray Jackson
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Manipulating the Date Header on message delivery
I'm not sure the Voicemail application is that smart - I believe it just reads
the date as it is and ignores the +1300 at the end.

Maybe if I could rephrase the question to be: "Is it possible to get Exim to
execute a command (based on a filter i.e. where recipient contains xyz) either
during delivery (to alter the email content - such as the Date header) or
alternatively execute a command after delivering the email into the user's
Inbox. I can easily write a quick Perl script to rewrite the Date
header in 10
minutes, but can Exim initiate external commands like this at delivery time?

Quoting "David S. Madole" <david@???>:

> From: "Ray Jackson" <ray@???>
>>
>> I was wondering if anybody had any suggestions on how we could do this
> with an
>> Exim rule/system_filter or otherwise? Basically we would want to look
> at the
>> recipient and if it was a recognised pattern match (e.g. vm44xxxx) then
> alter
>> the date header accordingly. e.g.
>>
>> Date: Tue, 5 Oct 2004 17:46:39 +1300
>>
>> ...to...
>>
>> Date: Tue, 5 Oct 2004 13:46:39 +1300
>
> Is it adequate instead to change:
>
> Date: Tue, 5 Oct 2004 17:46:39 +1300
>
> ...to...
>
> Date: Tue, 5 Oct 2004 17:46:39 +0900
>
> It's a much easier case to handle if the voicemail system is smart enough
> to do it.
>
> David
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##