Sieve: adding Date: header when missing

Jochen Bern Jochen.Bern at
Thu Jul 17 14:40:54 UTC 2014

On -10.01.-28163 20:59, Daniele Nicolodi wrote:
> 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.

RFC 5322 3.6. (and AFAIK *all* its predecessors) marks the Date: header
as mandatory. sendmail used to forcibly add one if missing, I'm not sure
about other MTAs (and MSAs). I'ld recommend to try fixing the problem as
early and globally as possible, rather than on the last yard into *one
specific* mailbox.

								J. Bern
*NEU* - NEC IT-Infrastruktur-Produkte im <>:
Server--Storage--Virtualisierung--Management SW--Passion for Performance
Jochen Bern, Systemingenieur --- LINworks GmbH <>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel

More information about the dovecot mailing list