On Tue, May 24, 2022 at 04:14:33PM +0200, Dan Mahoney wrote: > Is there a milter of some sort that I can configure to reject (for > some to: addresses) at the end of DATA, but still forward the mail on? > Im dealing with some deleted users who both got a lot of spam, but > also were in the critical path for things and I’m hoping the VERP > bounces trim some of this down.
This is also easy with a proxy filter, by passing the message on, but replying with 5XX to "." even when the downstream replied with "2XX". Of course you still need an elementary proxy filter that just stutters all commands and data downstream, but edits the "." reply. Not too hard to write, but I don't have any handy pointers to an off-the-shelf implementation. -- Viktor.