-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible regression: "NettAddr::IP IPv4-mapped IPv6 address expected (EInvalidOptionValue)" #22
Comments
Unfortunately I cannot reproduce the issue with the above code/data. |
Thanks for trying. I'll see what I can do. |
Ah. My belief was mistaken. I think I have led you up the garden path, for which I apologize. The request object is indeed created in the code my $spf_request_object = eval { Mail::SPF::Request->new(...) }; using the data given in my OP, but the exception actually occurs on this call my $spf_result_object = $spf_server_object->process($spf_request_object); The request object to be processed was created by the preceding call to Mail::SPF::Request->new(...). I'm very sorry if I've wasted your time. :( Will you need to know more about the creation of $spf_server_object to investigate this? |
The sample I am using to test is:
Maybe the initialization is different. |
I have taken an axe to my code to create from it a test harness to try to reproduce the exceptions. This is on the same machine, so it uses exactly the same perl and the same modules. So far, I too have failed to reproduce the issue. I will continue to investigate but for now the ball is firmly back in my court. Thank you for your patience. |
Oh, rats. I clean forgot to hook the handler... $ cat test_spf_object.pl $ ./test_spf_object.pl pass (Mechanism 'ptr:yahoo.com' matched) |
Thank you, github, for bowdlerizing my code again. Let's try with triple backticks:
|
Sample exception handler output when "redirect" or "include" leads to a record containing a "ptr:" mechanism:
Aug 9 16:38:04 mail6 x3[5932]:
xm_write_log(): xm_die_handler(978):
[NetAddr::IP IPv4-mapped IPv6 address expected (EInvalidOptionValue)
at /usr/local/share/perl/5.32.1/Mail/SPF/Util.pm line 128.],
[[email protected]],
[66.163.191.21]
This is I believe the result of calling
Mail::SPF::Request->new(
versions => [1],
scope => 'mfrom',
identity => '[email protected]',
ip_address => '66.163.191.21',
helo_identity => 'sonic328-46.consmr.mail.ne1.yahoo.com',
);
although as you will appreciate most of the values are held in assorted Perl variables.
The text was updated successfully, but these errors were encountered: