Hi,

I have a box running postfix and v3.2.5 with perl-5.8.8, and would
like to get SPF working. I can install the SPF-Query module, and it
works, but I'd like to get Mail::SPF::Server working:

[2616] dbg: diag: module not installed: Mail::SPF ('require' failed)
[2616] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)

I've built and installed Mail::SPF::Server v2.007, but for some reason
it doesn't find it. I thought the SPF.pm that's included with SA would
be sufficient? It apparently doesn't find that, either.

I've installed SPF::Server in
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SPF, and a few other
directories, honestly, and none of them work (not all at the same
time, but in various @INC directories in hopes it would find it in one
of them..). What is the mechanism SA uses to determine where the
module is, and whether it can be loaded? Why wouldn't the default one
not work properly?

If I install the SPF::Query module, then run spamassassin --lint -D,
it produces this:

[2845] dbg: diag: module not installed: Mail::SPF ('require' failed)
[2845] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[2845] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
...
[2845] dbg: spf: checking to see if the message has a Received-SPF
header that we can use
[2845] dbg: spf: cannot load Mail::SPF module or create
Mail::SPF::Server object: Undefined subroutine &Mail::SPF::qv calle
d at /usr/lib/perl5/site_perl/5.8.8/Mail/SPF.pm line 24.
[2845] dbg: spf: Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/SPF.pm line
390.
[2845] dbg: spf: attempting to use legacy Mail::SPF::Query module instead
[2845] dbg: spf: using Mail::SPF::Query for SPF checks

Thanks for any ideas.
Alex

Reply via email to