Sieve: adding Date: header when missing

Reindl Harald h.reindl at thelounge.net
Thu Jul 17 14:30:52 UTC 2014


Am 17.07.2014 16:13, schrieb Daniele Nicolodi:
> there is a way with a sieve rule to add a Date: header when it is
> missing?  Adding one with the time of reception of the message or using
> the date from the the first Received: header would be good options.
> 
> Unfortunately I'm receiving some useful automated messages that lack a
> Date header and this screws up the sorting in my imap clients.  I have a
> script to fix those acting on the Maildir storage, but I would prefer to
> have the thing solved more radically

in no case that's dovecot related

if at all the MTA has to deal with metadata as it does
with missing message-id's - LDA/LMTP should never change
anything inside a message and just store "as it is"

BTW:
i guess smokeping
Fedora has fixed that after a bugreport from me months ago

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140717/58c3468e/attachment.sig>


More information about the dovecot mailing list