Durga Prasad Malyala: > Thank you Wietse for your response and your beautiful software. > I just realised that I am using MailScanner and that it would pick up > from the Hold queue anyhow. > Can I send over quota mails to the deferred queue or preferably some > other specific queue that has to be manually inspected and then > released.
1) The HOLD queue is the supported way to freeze messages in the queue. 2) Mailscanner is not supported. Wietse > Bastian, > Thanks for responding. Like I said this is for few persons (who send > occasionally) and expect responses of - say a filled in tax form or > confirmation that they have submitted. > > Regards > DP > > On Sat, 9 Jul 2022 at 20:33, Wietse Venema <wie...@porcupine.org> wrote: > > > > Durga Prasad Malyala: > > > Hello team, > > > As part of our outbound anti-spam policy - we implement policyd/rate > > > limiting using smtpd_data_restrictions for senders sending say more > > > than 100 or 200 mails per hour. > > > However now-a-days due to compliance levels - certain people need to > > > genuinely send a burst of mails like 1000 or 2000 once or twice in a > > > month as Tax deduction confirmations or asking for some information > > > from vendors or something similar. > > > > > > Issue: As per all normal policy daemons we actually reject the senders > > > mail and his outlook etc. keeps trying. > > > Needed solution: instead of rejecting mails (beyond set limits) from > > > authenticated senders using smtpd_data_restrictions can we just put > > > them in hold queue on the fly so that the mail administrator can have > > > a look at the mailq and release them later. > > > > You could use a policy daemon that replies with HOLD instead of > > REJECT. The examples in https://www.postfwd.org/ratelimits.html use > > REJECT, but they can be changed to use HOLD instead. > > > > Wietse >