[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtproutes + bad dns = email killed?
Ryan Hadley <rhadley@xxxxxxxxxxx> wrote:
>
> I've noticed that if I set a custom route in control/smtproutes like so:
>
> :baddns.domain.com
>
> where baddns.domain.com does not resolve, for whatever reason, I get
> this in qmail-send's log file:
>
> new msg 112067
> info msg 112067: bytes 352 from <rhadley@xxxxxxxxxxx> qp 20564 uid 0
> starting delivery 7392: msg 112067 to remote blah@xxxxxxxxxxx
> status: local 0/10 remote 1/20
> delivery 7392: failure:
> Sorry,_I_couldn't_find_any_host_named_baddns.domain.com._(#5.1.2)/
Sure.
> But, the email is gone:
As it should be.
> Shouldn't it just go back in the queue to be retried
No -- the error you quote above isn't a temporary DNS error (i.e. "the
resolver failed to answer my question"), it's a "that domain does not exist"
successful response. That means the host does not exist, and there's no point
re-trying later.
qmail will bounce the message, and the author/sender will be notified.
> until qmail-send
> reports:
> triple bounce: discarding bounce/112067
That's a separate issue, unrelated to this one.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at: http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------