Sieve: adding Date: header when missing

Jost Krieger Jost.Krieger+dovecot at rub.de
Thu Jul 17 19:19:33 UTC 2014


On Thu, Jul 17, 2014 at 04:50:20PM +0200, Reindl Harald wrote:

> as said:
> fix the application or try to solve that at MTA level

The correct place would be the MSA.

If all mail genrated by Web appliocations woul pass through a working
MSA fixing them up, a lot of problems would go away.

> >> 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"

An intermediate MTA has no business meddling with headers except
for trace headers as specified in the standard.

> because the date header is mandatory
> undefined behavior

right

> i had running MTA's reject any message missing date or message-id at all

Message-ID is SHOULD.

Only Date and From are required.

And refusing mails without them is a good strategy, if your (recipient)
customers don't complain.

Jost
-- 
| Helft Spam ausrotten!                HTML in Mail ist unhöflich. |
| Postmaster, JAPH, manchmal Wahrsager               am RZ der RUB |
| Bitte immer an Funktionsadressen schreiben:    Postmaster at rub.de |


More information about the dovecot mailing list