Hi Wietse,
Thanks for your information. We are now using milter connected with
Kafka to process emails.
One more issue we are facing now is how to quarantine email(Change content) and
block emails. Does milter support that?
I came to know from readme file that there is a content filter which can help.
Then how can we link these two i.e. process using milter and
quarantine/block/defer email delivery using content filter?
I would appreciate your help.
Regards,
~/RB
From: [email protected] <[email protected]> on
behalf of Wietse Venema <[email protected]>
Date: Sunday, 22 May 2022 at 3:38 AM
To: Postfix developers <[email protected]>
Subject: Re: Postfix filter - preprocessing emails and relay to SMTP server
[email protected]:
> Hi There,
> We have configured milter to process emails before delivery. The
> milter is written in java that fetched the complete email and
> processes it. We also configured a relay smtp server. But how can
> we block the email till the processing is done and relay to smtp
> server only when processing is done?
Postfix starts to deliver the email message to your relay
AFTER the Milter is finished.
> We can increase the timeout but from Readme it says "However, if
> you increase the above timeouts too much, remote SMTP clients may
> hang up and mail may be delivered multiple times. This is an
> inherent problem with before-queue filtering." Any solution or
> workaround?
Get a faster machine, or spread the load over more machines,
or simplify the Milter's work.
Wietse