On Fri, Dec 18, 2009 at 4:41 PM, Noel Jones <njo...@megan.vbhcs.org> wrote:

> On 12/18/2009 2:14 PM, D G Teed wrote:
>
>> We have an smtp outbound-only service on postfix.
>> Users on exchange are relayed out through this.
>>
>> Once in awhile someone has a typo in their domain name.
>> Postfix bounces it back to exchange with 450 defer
>>
>> Dec 18 15:48:40 smtp postfix-internal/smtpd[21635]: NOQUEUE: reject:
>> RCPT from labrador2.example.com
>> <http://labrador2.example.com>[xx.xx.xx.xx]: 450 4.1.2 <t...@easlink.ca
>> <mailto:t...@easlink.ca>>: Recipient address rejected: Domain not found;
>> from=<don...@example.com <mailto:don...@example.com>>
>> to=<t...@easlink.ca <mailto:t...@easlink.ca>> proto=ESMTP
>>
>
> $  host easlink.ca
> Host easlink.ca not found: 2(SERVFAIL)
>
> This domain returns "fail" rather than "doesn't exist".  There is likely
> another log entry indicating this.
> Postfix will correctly treat this as a temporary error.
>
> The only workaround for this particular domain to to add a transport_maps
> entry pointing to the error: transport
>
> easlink.ca    error:5.1.2 easlink.ca is not valid.
> hotmal.com    error:5.1.2 hotmal.com is not valid.
> hotmail.org   error:5.1.2 hotmail.org is not valid.
> hotmial.com   error:5.1.2 hotmail.com not hotmial.com
> hotmai.com    error:5.1.2 hotmail.com not hotmai.com
> ...
>

Thanks for the answer and the suggested workaround.

So, this is an uncontrollable setting.  The response from
host not found should be something we can configure,
not hardwired to defer.

Is there any chance it can be added as a feature in a
future version or does this violate a dozen RFCs?

I suppose I could try to find where it does that
in the code and hardwire in my own value, but it could
easily turn into a result I didn't expect.

Reply via email to