Thanks for information. I am already using a java version of milter which 
listens to 10099 port for milter support
Main.cf file:

# JMilter (info_milter)

info_milter = inet:127.0.0.1:10099

milter_protocol = 6

How can I resend the email again, if User allows that. This seems to be little 
complicated.

-/RB
From: owner-postfix-de...@postfix.org <owner-postfix-de...@postfix.org> on 
behalf of Wietse Venema <wie...@porcupine.org>
Date: Wednesday, 1 June 2022 at 8:00 PM
To: Postfix developers <postfix-devel@postfix.org>
Subject: Re: Quarantine message using milter
ran...@skurelabs.com:
> Hello Folks,
> Is it possible to quarantine an email using before
> queue milter(http://www.postfix.org/MILTER_README.html).
> I would appreciate your help.

Yes. Look for a libmilter library funtion called smfi_quarantine()
or something similar. The exact name depends on whether you use
C, or one of the other language bindings.

Upon receiving a 'quarantine' request, Postfix will move the message
to the 'hold' queue.

        Wietse

Reply via email to