Re: Gmail as Relayhost
- On 2/14/2013 6:23 AM, Dominique wrote:
> On 02/13/2013 03:24 PM, Noel Jones wrote:No, fallback_relay is for when the preferred destination is
> - Use some third-party relayhost service, such as dyndns. This will
> not be free, but shouldn't cost very much. If you have more than a
> couple dozen email addresses, this will be cheaper than a google
> apps account.
> -- Noel Jones
> I finally went with dyndns. Low cost for the volume we have and easy
> to setup.
> But since the price is volume based I was thinking of splitting the
> outgoing trafficbetween my ISP and dym.com
> I thought of using relayhost to my ISP by default and use
> fallback_relay when the ISP failed. However the documentation of
> fallback_relay mentions only that it kicks in when then main relay
> fails. In my case I want to use it when it bounces the mail for the
> wrong reason (reason why I went with dyn.com in the first place):
> Feb 4 14:20:57 www postfix/smtp: 6CF7EA41F89:
> relay=smtp.movistar.es[18.104.22.168]:25, delay=3.4,
> delays=0.15/0.01/0.26/3, dsn=5.2.0, status=bounced (host
> smtp.movistar.es[22.214.171.124] said: 552 5.2.0
> wDHP1k00B3cN3cx1hDHPt5 internal error ??. 6007 (in reply to end of
> DATA command))
> Would it work ?
unreachable. When the primary (incorrectly) rejects your mail, your
options are somewhat limited.
One ugly-hack workaround is to add soft_bounce=yes to the master.cf
smtp transport entry, which will transform the 5xx reject into a 4xx
retry, and hope the relay will accept the message on the next try.
This can cause the unwanted side effect that if a message is
persistently undeliverable it will hang around in your queue for
$maximal_queue_lifetime (default 5 days).
#master.cf existing smtp transport entry
smtp unix - - n - - smtp
Hmmm... Now that I think about it, the soft_bounce setting should
trigger a fallback_relay delivery attempt. Give it a whirl.
And complain loudly to the ISP when the service you're paying for
-- Noel Jones
- On Thu, Feb 14, 2013 at 08:29:06AM -0600, Noel Jones wrote:
> On 2/14/2013 6:23 AM, Dominique wrote:snip
> > Feb 4 14:20:57 www postfix/smtp: 6CF7EA41F89:
> > to=<servicios@...>,
> > relay=smtp.movistar.es[126.96.36.199]:25, delay=3.4,
> > delays=0.15/0.01/0.26/3, dsn=5.2.0, status=bounced (host
> > smtp.movistar.es[188.8.131.52] said: 552 5.2.0
> > wDHP1k00B3cN3cx1hDHPt5 internal error ??. 6007 (in reply to
> > end of DATA command))
> And complain loudly to the ISP when the service you're payingIt's seriously broken if it is giving 5xx rejections for its own
> for isn't working.
Granted, that might not be the actual reason for rejection -- it
could be that the internal error was encountered while retrieving
rejection messages from a database. Still: don't pay good money for
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: