Re: transport rule question

2014-01-08 Thread Viktor Dukhovni
On Wed, Jan 08, 2014 at 05:31:37PM -0500, Wietse Venema wrote: > 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

Re: transport rule question

2014-01-08 Thread Wietse Venema
Viktor Dukhovni: > On Wed, Jan 08, 2014 at 09:44:15PM +, 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

Re: transport rule question

2014-01-08 Thread Viktor Dukhovni
On Wed, Jan 08, 2014 at 09:44:15PM +, 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

Re: transport rule question

2014-01-08 Thread Viktor Dukhovni
On Wed, Jan 08, 2014 at 09:02:17PM +, Aaron Bennett wrote: > For reasons beyond my control, one of the hosts we need to relay > to is occasionally dropping out of dns. We relay to it based on > an ldap map which returns: > > relay:[office365relay.clarku.edu] > > That host is a CNAME for an

Re: transport rule question

2014-01-08 Thread Wietse Venema
Aaron Bennett: > > Postfix bounces because the DNS server replies that this DNS > > record DOES NOT EXIST. > > > > To work around, use soft_bounce=yes and watch your queue > > carefully for mail piling up. > > Thanks, Wietse. I don't want soft_bounce=yes for everything so > I'll probably created

RE: transport rule question

2014-01-08 Thread Aaron Bennett
> -Original Message- > From: owner-postfix-us...@postfix.org [mailto:owner-postfix- > us...@postfix.org] On Behalf Of Wietse Venema > Sent: Wednesday, January 8, 2014 4:13 PM > To: Postfix users > Subject: Re: transport rule question > Postfix would defer when it

Re: transport rule question

2014-01-08 Thread Wietse Venema
Aaron Bennett: > Hi, > > For reasons beyond my control, one of the hosts we need to relay > to is occasionally dropping out of dns. We relay to it based on > an ldap map which returns: > > relay:[office365relay.clarku.edu] > > That host is a CNAME for an external vendor. It's not hard to guess

transport rule question

2014-01-08 Thread Aaron Bennett
Hi, For reasons beyond my control, one of the hosts we need to relay to is occasionally dropping out of dns. We relay to it based on an ldap map which returns: relay:[office365relay.clarku.edu] That host is a CNAME for an external vendor. It's not hard to guess which one. When it drops out,