Thanks for your prompt reply.
I need a component which implements a check_host() function described in RFC 4408.
The check_host function fetches SPF records, parses them, and interprets them to determine whether a paticular host is or is not permitted to send mail with a given identity.
Using the check_host function, all I need is to input sender information and get a evaluation result.
Thanks