Viktor Dukhovni: > On Wed, Jan 08, 2014 at 09:44:15PM +0000, Aaron Bennett wrote: > > > Thanks, Wietse. I don't want soft_bounce=yes for everything so > > I'll probably created a dedicated transport for that host. Does > > that seem reasonable? > > You'll also have messages addressed to invalid recipients (if any) > queued up and retried periodically rather than bounced quickly. > There is IIRC not yet a way to soft bounce just address lookup > errors.
Postfix already has a feature that substitutes remote SMTP server replies (smtp_reply_filter). Maybe it's possible to implement a similar substitution for DNS server responses. If we want to use a regexp-based approach that requires a conversion from DNS reply to text. The text is then transformed by the filter, and then converted back to DNS response. I'm not recommending we do DNS -> XML + XPATH -> DNS. Wietse