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.

Attachment: pgp5E2yT2fBTQ.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to