On Tue, 2009-11-17 at 20:55 -0800, [email protected] wrote: > Is there a way to configure postfix to use a relay only if direct > delivery is rejected? The case being a web application that has to > send notification to subscribers, but some servers reject the > connection (app IP originates from AWS EC2). I want those cases to be > retried using a paid SMTP relay like authsmtp.com. However I don't > want to use the relay for everything since it costs per mail. > > Thanks, > ~ Remus
I think you need a fallback_relay http://www.postfix.org/postconf.5.html#fallback_relay
