Greetings,
I want to make a few custom mods to the Xmail source. Usually, this 
wouldn't be a problem - just stick the code in there, and go compile.

However, I'm having a bit of trouble in finding/adapting existing utility 
routines (within the Xmail source tree) to support some of the things I 
want to do, and was wondering if someone out there might have already 
"paved the way", so to speak, by having mapped out some of the routines and 
their functionality.

Specifically, I'm looking for utility routines that will do any of the 
following tasks (listed in order of desired functionality):

1) Accept a FQDN (string) and an IP address (any form: dotted-quad string, 
NETADDRESS struct, etc), and do a lookup on the FQDN and determine if the 
supplied IP address is in the returned list of addresses for the FQDN

2) Accept two FQDNs, do an MX lookup on the first, and determine if the 
second is in the returned MX list

3) Accept a FQDN and return a list of all A records (IP addresses, in 
whatever form)

4) Accept a FQDN and return a list of MX records (FQDN strings)

In the final analysis, I'm attempting to implement FCrDNS testing, and 
*maybe* RCfDNS testing. So I need to be able to determine if an IP address 
falls within the returned A records for an FQDN, and whether or not a 
particular FQDN is listed as an MX for a domain.

I don't mind writing the code to do all this from scratch, if I *have* to, 
but it seems that some of this functionality would already be present, and 
I'd rather reuse as much as possible (so that future updates will require 
minimal changes for locally implemented functionality). Plus my C++ skills 
kind of suck,so any code I had to write from scratch would be inherently 
untrustworthy...:)

Any pointers would be appreciated

Tracy


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to