SPF Check
Firstly, this is not a complete SPF control, this is only for basic nslookups.
Checks the senders domains’ spf record and collects allowed ip addresses, returns "SUCCESS" or "FAIL" depending your settings.
1) Checks sender domain spf the records.
2) Collects ip addresses from the records.
3) Compares with sender ip address.
4) Returns SPF result.