# Testing Net::validMX 2.5.0, Perl 5.034000, /usr/bin/perl t/00-load.t ... 1..1 ok 1 - use Net::validMX; ok t/01-fail.t ... 1..10 postmaster@[127.0.0.1] Valid MX? False - Use of IP Address [127.0.0.1] instead of a hostname is not allowed ok 1 - Test for Explicit IP instead of domain name test@test4.peregrinehw.com Valid MX? False - MX Record: . does not resolve ok 2 - Test for a host that is configured with an MX of . & priority 10 which will be considered a pass due eNom.com (name-services.com) false positives - Should Fail if it's the only MX nofrom@www Valid MX? False - No MX or A Records Exist for www ok 3 - Test for non-FQDN test@test3.peregrinehw.com Valid MX? False - MX Record: . does not resolve ok 4 - Test for a host that is configured with an MX of . & priority 0 which is an 'I don't do email' Notification - Should Fail test@test5.peregrinehw.com Valid MX? False - Invalid use of private IP (e.g. 192.168.1.1) range for MX - All MX Records Failed ok 5 - Test for privatized IP range use only test@test8.peregrinehw.com Valid MX? False - MX Record: dev.null does not resolve ok 6 - Test for non-resolvable MX records test@test9.peregrinehw.com Valid MX? False - Invalid use of CNAME for MX record ok 7 - Resolves to an explicit cname that is chained to a cname - fails but not certain I should allow this or not test@test10.peregrinehw.com Valid MX? False - Invalid use of CNAME for Implicit MX record ok 8 - Resolves to an implicit cname that is chained to a cname - fails but not certain I should allow this or not test@test2.peregrinehw.com Valid MX? False - Invalid use of private IP (e.g. 192.168.0.2) range for MX ok 9 - Test for use of crazy things like 192.168.0.1. as the host name in DNS - Should FAIL EVEN if $allow_ip_address_as_mx = 1 because they are privatized not because of the name Valid MX? False - A blank email address will not be tested. ok 10 - Blank email addresses should fail ok t/02-pass.t ... 1..21 kevin.mcgrail@peregrinehw.com Valid MX? True ok 1 - Test for correct DNS - Should Pass test@test13.peregrinehw.com Valid MX? True ok 2 - Test non-rfc compliant DNS using cname for MX - Should Pass test@test14.peregrinehw.com Valid MX? True ok 3 - Test for implicit MX by A record - Should Pass test@test.peregrinehw.com Valid MX? True ok 4 - Test for the use of crazy things like 12.34.56.78. as the host name in DNS - Should Pass if $allow_ip_address_as_mx = 1 test@test6.peregrinehw.com Valid MX? True ok 5 - Test for a host that is configured with an MX of . but eventually has a good MX recorded (due to eNom.com (name-services.com) false positives - Should Pass test@test7.peregrinehw.com Valid MX? True ok 6 - Test for DNS where MX1 is private, MX2 is private but MX3 is a valid internet address test@test7.peregrinehw.com Valid MX? True ok 7 - Testing overloaded call with hash parameters test@test15.peregrinehw.com Valid MX? True ok 8 - Test for DNS where MX record is IPv6 AAAA record announce-return-162-mysql=speed.net@peregrinehw.com Valid MX? True ok 9 - Test for VERP Record cygwin-announce-return-547-test=speed.net@peregrinehw.com Valid MX? True ok 10 - Test for VERP Record kde-announce-bounces-+test=pobox.com@peregrinehw.com Valid MX? True ok 11 - Test for VERP Record ntf-461_30-12033835-TEST_=_POBOX.COM@peregrinehw.com Valid MX? True ok 12 - Test for VERP Record openssh-unix-announce-bounces+test=pobox.com@peregrinehw.com Valid MX? True ok 13 - Test for VERP Record sentto-1020166-167-1020161999-test=pobox.com@peregrinehw.com Valid MX? True ok 14 - Test for VERP Record users-return-14779-test=test.net@peregrinehw.com Valid MX? True ok 15 - Test for VERP Record bounce+test#aol.com-7eDsxRQ4JXXF5=test#pobox.com@peregrinehw.com Valid MX? True ok 16 - Test for SRS Record SRS0=coi/=X6=mandriva.org=return@peregrinehw.com Valid MX? True ok 17 - Test for SRS Record SRS0=oktk=QO=speed.net=test@peregrinehw.com Valid MX? True ok 18 - Test for SRS Record SRS0=pr+A=5A=evite.com=info@peregrinehw.com Valid MX? True ok 19 - Test for SRS Record SRS0=yY6Q=5F=deepdiscountdvdpromotions.com=offers@peregrinehw.com Valid MX? True ok 20 - Test for SRS Record SRS0=R+JI=42=returns.groups.yahoo.com=sentto-3977489-5630-1141374659-kelson=pobox.com@peregrinehw.com Valid MX? True ok 21 - Test for SRS & VERP ok t/03-valid.t .. 1..6 ok 1 - Test for valid email format ok 2 - Test for invalid email format without sanitize ok 3 - Test for invalid email with spaces ok 4 - Test for email address with local-part that is exactly 64 characters ok 5 - Test for invalid email address with local-part that is too long ok 6 - Test for invalid email address that is too long ok t/04-full.t ... 1..3 kevin.mcgrail@peregrinehw.com Valid MX? True - Passed ok 1 - Test for valid email format kevin.mcgrail@aol Valid MX? True - Passed ok 2 - Test for valid email format with sanitize kevin.mcgrail @ peregrine hw .com Valid MX? True - Passed ok 3 - Test for valid email with spaces ok t/05-email.t .. 1..3 ok 1 - Test for email domain extraction ok 2 - Test for email local part extraction with array return ok 3 - Test for email domain extraction with array reutn ok All tests successful. Files=6, Tests=44, 4 wallclock secs ( 0.06 usr 0.00 sys + 0.71 cusr 0.14 csys = 0.91 CPU) Result: PASS