I already replied to your email message below, on the postfix-users mailing list. You can find my response at
https://marc.info/?l=postfix-users&m=165608132400695&w=2 Wietse ran...@skurelabs.com: > I am sorry using development group for the issue. I will use users group next > time onwards. But I felt that it might be an issue with the development. > > Hi Wietse, > Thanks for your quick response. Please find my response below: > > 1) Can you find the logfile record with "milter-hold". > Answer: no > 2) Can you extract the QUEUE ID from that logfile record. > Answer: answer yes > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: public/cleanup socket: > wanted attribute: queue_id > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: input attribute name: > queue_id > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: input attribute value: > 8C1AD5E055 > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: 8C1AD5E055: > client=mail-maxind01on2097.outbound.protection.outlook.com[40.107.222.97] > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: milter_macro_lookup: > result "8C1AD5E055" > > 3) Can you find more logfile records with that QUEUE ID. > Answer: yes, > > root@sprucexSrv02:/var/log# grep 8C1AD5E055 mail.log > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: input attribute value: > 8C1AD5E055 > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: 8C1AD5E055: > client=mail-maxind01on2097.outbound.protection.outlook.com[40.107.222.97] > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: milter_macro_lookup: > result "8C1AD5E055" > Jun 24 14:09:03 sprucexSrv02 postfix/cleanup[762506]: 8C1AD5E055: > message-id=<ma1pr01mb3209233f3859b083c3f84cc68a...@ma1pr01mb3209.indprd01.prod.outlook.com<mailto:ma1pr01mb3209233f3859b083c3f84cc68a...@ma1pr01mb3209.indprd01.prod.outlook.com>> > root@sprucexSrv02:/var/log# > > 4) Are those messages rejected, delivered, or removed. > Answer: rejected, delivered, ... > > undelivered, but postfix keeps trying to deliver it , after some interval of > time. > > 5) Can you find that QUEUE ID in output from the mailq command. > Answer: no > > root@sprucexSrv02:/var/log# mailq > Mail queue is empty > > If you need log for this mail transaction , i can send you > > > From: owner-postfix-de...@postfix.org <owner-postfix-de...@postfix.org> on > behalf of Wietse Venema <wie...@porcupine.org> > Date: Friday, 24 June 2022 at 7:28 PM > To: Postfix developers <postfix-devel@postfix.org> > Subject: Re: Quarantine message using milter > ran...@skurelabs.com: > > Hi Wietse, > > Yes, we are following the steps mentioned in your earlier > > emails. > > Let me again put forth the steps we are doing for quarantining emails > > > > * Using milter with command SMFI_QUARANTINE for quarantining emails > > Can you answer ALL of the following questions. > > 1) Can you find the logfile record with "milter-hold". > > Answer: yes, no > > 2) Can you extract the QUEUE ID from that logfile record. > > Answer: answer yes, no > > 3) Can you find more logfile records with that QUEUE ID. > > Answer: yes, no > > 4) Are those messages rejected, delivered, or removed. > > Answer: rejected, delivered, ... > > 5) Can you find that QUEUE ID in output from the mailq command. > > Answer: yes, no > > Wietse