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