On 05.03.19 14:53, azusa_tar...@yahoo.co.jp wrote:
Thank you for your reply!
Is there any plans to implement to "Expires" header as Postfix feature?
It is defined in RFC-5536
RFC-5536 is related to usenet news, not e-mail nor SMTP.
and sometimes others MTA has that feature.
got some more info?
----- Original Message -----
From: Wietse Venema <wie...@porcupine.org>
To: Postfix users <postfix-users@postfix.org>
Cc:
Date: 2019/2/18, Mon 21:46
Subject: Re: Expires Header(RFC-5536) implementation
azusa_tar...@yahoo.co.jp:
Hi,
I'm trying to implement "Expires" header (Defined by
RFC-5536).
I want Postfix bounce the expired mails.
At first, I use content filter to check Expires date is valid.
However, content filtering can be done only one time when into the mail
queue.
(It can't be done when Postfix resend deferred emails)
Extract the expiration time from the header and store it as 'named
attribute', just like MAIL_ATTR_ENCODING. Then have the queue manager
read it ffrom queue file just like MAIL_ATTR_ENCODING.
You may want to do some sanity checks such that Postfix will
not accept mail that is already expired.
Wietse
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good.