2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier fails to ...
FromSent OnAttachments
Aidas KasparasOct 9, 2006 6:37 am 
Sam VarshavchikOct 9, 2006 3:17 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] courier fails to deliver message if at least one of MXes fails to resolveActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Oct 9, 2006 3:17:02 pm
List:net.sourceforge.lists.courier-users

Aidas Kasparas writes:

I have traced problem to the rfc1035/rfc1035mxlist.c:domxlistcreate() function which in part reads:

if (seen_good & (opts & RFC1035_MX_IGNORESOFTERR)) seen_softerr=0; /* At least some A records were probably fetched */

This statement allways fails because seen_good is either 0 or 1, and RFC1035_MX_IGNORESOFTERR is 2. It has to be changed to

if (seen_good && (opts & RFC1035_MX_IGNORESOFTERR)) seen_softerr=0; /* At least some A records were probably fetched */

With this change testmxlookup alltech.com produces a list of IPs of MXes it can resolve.

Good catch.