Re: suppressing DSN postfix
On Mon July 7 2008 15:16:12 Dan MacNeil wrote:
> We're running postfix
> Our primary mail server was off-line for 4 days. (We were at the mercy
> of state employees who don't work holidays)
> 24 hours into the problem , we setup a backup MX w/ only filtering being
> the postfix relay_domains parameter.
> Our primary (and ordinary only) mail server rejects SPAM and viruses @
> RECPT time.
> As I release mail in 20 message chunks from the 3000 message backlog on
> the secondary , I'm generating a good bit of backscatter.
> Is there any easy automatic way to move DSN (delivery service
> notification) messages into the hold queue on the secondary so I can
> deal with them at my leasure?
> Am I explaining the problem clearly enough ?
I hope there's a clean solution, but if not you could temporarily block
outbound SMTP (e.g. with iptables), process the backlog, then use some
grep/awk magic to purge the backscatter from the mailq.