On 11/4/2019 9:31 PM, Chi Min Wang wrote:
Hello Everyone:
I am using OpenDKIM/OpenDMARC as some sort of anti spam. The
OpenDMARC could handle DMARC p=ne or p=reject without any problem.
But if p=arantine,OpenDMARC just let the incoming mail goes to
Postfix HOLD queue. Is it possible to let Postfix redirect incoming
mail alternate MTA when it got smfir_quarantine by milter?? Thanks!!
After a message is put on hold, the only postfix actions available
are to use postcat to view the raw message, or to either release or
delete the message with postsuper.
If you don't mind a little shell scripting, it's not very hard to
use postcat to extract the message and pipe it to sendmail with a
new recipient.
Or maybe just configure your milter to not quarantine messages.
-- Noel Jones