On Mon, Sep 25, 2023 at 03:21:20AM -0000, Jasen Betts via Exim-users wrote:
> On 2023-09-25, Jasen Betts via Exim-users <exim-users@???> wrote:
> > I want to add a Resent-Date: header. Is there any way to access this
> > RFC822 timestamp using simple string expansion?
>
> so far this is my best candidate:
>
> ${run {/usr/bin/date --rfc-email}}
Does Exim add any of:
* Resent-From
* Resent-Date
* Resent-Message-Id
automatically[1], when a message has other Resent- headers (Resent-To, ...).
If not, would that be a reasonable future feature?
--
Viktor.
[1] FWIW, Postfix does that for locally-originated mail:
https://www.postfix.org/postconf.5.html#always_add_missing_headers
possibly obviating the OP's apparent need to take explicit action to
do that.
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/