Thank you for your reply!
Is there any plans to implement to "Expires" header as Postfix feature? 
It is defined in RFC-5536, and sometimes others MTA has that feature.

Azusa


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

Reply via email to