Name : perl-Mail-SPF-Query
| |
Version : 1.997
| Vendor : Meng Weng Wong < mengwong_pobox_com>
|
Release : 1
| Date : 2004-11-25 15:05:52
|
Group : Applications/CPAN
| Source RPM : perl-Mail-SPF-Query-1.997-1.src.rpm
|
Size : 0.17 MB
| |
Packager : Peter Pramberger < peter_pramberger_member_fsf_org>
| |
Summary : Mail-SPF-Query - query Sender Policy Framework for an IP,email,helo
|
Description :
There are two ways to use Mail::SPF::Query. Your choice depends on whether the domains your server is an MX for have secondary MXes which your server doesn\'t know about.
The first and more common style, calling ->result(), is suitable when all mail is received directly from the originator\'s MTA. If the domains you receive do not have secondary MX entries, this is appropriate. This style of use is outlined in the SYNOPSIS above. This is the common case.
The second style is more complex, but works when your server receives mail from secondary MXes. This performs checks as each recipient is handled. If the message is coming from a valid MX secondary for a recipient, then the SPF check is not performed, and a \"pass\" response is returned right away. To do this, call C< result2()> and C< message_result2()> instead of C< result()>.
If you do not know what a secondary MX is, you probably don\'t have one. Use the first style.
You can try out Mail::SPF::Query on the command line with the following command:
perl -MMail::SPF::Query -le \'print for Mail::SPF::Query->new(helo=>shift, ipv4=>shift, sender=>shift)->result\' myhost.mydomain.com 1.2.3.4 mynameAATTmyhost.mydomain.com
|
RPM found in directory: /packages/linux-pbone/archive/ftp.pramberger.at/systems/linux/contrib/rh73/noarch |