Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: DNS problems with Mail::SPF

by rizzo (Deacon)
on Aug 02, 2018 at 08:55 UTC ( #1219685=note: print w/replies, xml ) Need Help??


in reply to DNS problems with Mail::SPF

my $ip = $mail->header("X-IP");

Did you check if $ip has a reasonable value(the sender's IP address)?
As far as I know, header names starting with "X-" are non-standard, so they may exist but they do not necessarily. I'd bet that an empty string is causing you the trouble.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-09-27 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (122 votes). Check out past polls.

    Notices?