Skip Menu |
 

This queue is for tickets about the Mail-Sendmail CPAN distribution.

Report information
The Basics
Id: 125457
Status: open
Priority: 0/
Queue: Mail-Sendmail

People
Owner: Nobody in particular
Requestors: gabor [...] szabgab.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: test fails because of zen.spamhaus.org blocking
Date: Sat, 2 Jun 2018 08:12:14 +0300
To: bug-mail-sendmail [...] rt.cpan.org
From: Gabor Szabo <gabor [...] szabgab.com>
Download (untitled) / with headers
text/plain 1.5k
Checking dependencies from MYMETA.json ... Checking if you have Time::Local 0 ... Yes (1.2300) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.30) Checking if you have Exporter 0 ... Yes (5.72) Checking if you have Sys::Hostname 0 ... Yes (1.20) Checking if you have warnings 0 ... Yes (1.32) Checking if you have vars 0 ... Yes (1.03) Checking if you have Socket 0 ... Yes (2.018) Checking if you have MIME::Base64 0 ... Yes (3.15) Checking if you have Digest::MD5 0 ... Yes (2.54) Checking if you have strict 0 ... Yes (1.09) Checking if you have parent 0 ... Yes (0.232) Building and testing Mail-Sendmail-0.80 cp lib/Mail/Sendmail.pm blib/lib/Mail/Sendmail.pm Manifying 1 pod document PERL_DL_NONLAZY=1 "/Users/gabor/perl5/perlbrew/perls/perl-5.22.0_WITH_THREADS/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Server said: 554 5.7.1 Service unavailable; Client host [84.108.218.54] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/84.108.218.54 t/original.t .. Failed 1/2 subtests Test Summary Report ------------------- t/original.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Files=1, Tests=2, 3 wallclock secs ( 0.03 usr 0.02 sys + 0.03 cusr 0.01 csys = 0.09 CPU) Result: FAIL Failed 1/1 test programs. 1/2 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Mail::Sendmail failed. See /Users/gabor/.cpanm/work/1527916061.72175/build.log for details. Retry with --force to force install it. Expiring 3 work directories.
I'm getting the same thing.
Download (untitled) / with headers
text/plain 1.2k
On Tue Sep 04 00:36:11 2018, TODDR wrote: Show quoted text
> I'm getting the same thing.
$>prove -wlvm t/original.t t/original.t .. 1..2 Test Mail::Sendmail 0.80 Trying to send a message to the author (and/or whoever if you edited test.pl) (The test is designed so it can be run by Test::Harness from CPAN.pm. Edit it to send the mail to yourself for more concrete feedback. If you do this, you also need to specify a different mail server, and possibly a different From: address.) Current recipient(s): 'Sendmail Test <sendmail@alma.ch>' ok 1 Server set to: mail.alma.ch Sending... Server said: 554 5.7.1 Service unavailable; Client host [1.2.3.4] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/1.2.3.4 !Error sending mail: Bad recipient <sendmail@alma.ch>: 554 5.7.1 Service unavailable; Client host [1.2.3.4] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/1.2.3.4 No valid recipient Server said: 554 5.7.1 Service unavailable; Client host [1.2.3.4] blocked using zen.spamhaus.org; https://www.spamhaus.org/query/ip/1.2.3.4 not ok 2 Failed 1/2 subtests Test Summary Report ------------------- t/original.t (Wstat: 0 Tests: 2 Failed: 1) Failed test: 2 Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.02 cusr 0.00 csys = 0.06 CPU) Result: FAIL
Download (untitled) / with headers
text/plain 1.5k
On 2018-09-04 00:37:54, TODDR wrote: Show quoted text
> On Tue Sep 04 00:36:11 2018, TODDR wrote:
> > I'm getting the same thing.
> > $>prove -wlvm t/original.t > t/original.t .. > 1..2 > Test Mail::Sendmail 0.80 > > Trying to send a message to the author (and/or whoever if you edited > test.pl) > > (The test is designed so it can be run by Test::Harness from CPAN.pm. > Edit it to send the mail to yourself for more concrete feedback. If > you > do this, you also need to specify a different mail server, and > possibly > a different From: address.) > > Current recipient(s): 'Sendmail Test <sendmail@alma.ch>' > > ok 1 > Server set to: mail.alma.ch > Sending... > Server said: 554 5.7.1 Service unavailable; Client host [1.2.3.4] > blocked using zen.spamhaus.org; > https://www.spamhaus.org/query/ip/1.2.3.4 > > !Error sending mail: > Bad recipient <sendmail@alma.ch>: 554 5.7.1 Service unavailable; > Client host [1.2.3.4] blocked using zen.spamhaus.org; > https://www.spamhaus.org/query/ip/1.2.3.4 > No valid recipient > Server said: 554 5.7.1 Service unavailable; Client host [1.2.3.4] > blocked using zen.spamhaus.org; > https://www.spamhaus.org/query/ip/1.2.3.4 > > not ok 2 > Failed 1/2 subtests > > Test Summary Report > ------------------- > t/original.t (Wstat: 0 Tests: 2 Failed: 1) > Failed test: 2 > Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.02 cusr > 0.00 csys = 0.06 CPU) > Result: FAIL
My hack to get the test pass: add 127.0.0.1 mail.alma.ch to /etc/hosts. However it would be better if the mail server was configurable (e.g. using an environment variable) or the online test could be skipped.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.