Skip Menu |
 

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 52901
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: nussgipfel [...] gmx.ch
Cc:
AdminCc:

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



Subject: Mail:Mailer uses executable "testfile" without warning
Date: Fri, 18 Dec 2009 11:48:31 +0100
To: bug-MailTools [...] rt.cpan.org
From: Christoph Zimmermann <nussgipfel [...] gmx.ch>
Download (untitled) / with headers
text/plain 816b
hi there i tried to sign some pgp keys with caff yesterday. i failed horribly and realised that all my old keysigning work was useless. one part of this is a, in my opinion, really bad behaviour of the Mail::Mailer from the perl MailTools: the new() command tries to find a suitable MTA or uses smtp if correctly configured. when nothing can be used it will use the "testfile" debugging output. WITHOUT ANY WARNING! a script using it will never recognize that NO MAIL WAS SENT! to have a "testfile" option is ok for me but it shouldn't be used as a default transport. the i use distribution is debian sid perl -v This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi uname -a Linux zipf 2.6.31-5.slh.3-sidux-amd64 #1 SMP PREEMPT Wed Nov 4 12:54:48 UTC 2009 x86_64 GNU/Linux sincerely, christoph
Subject: Re: [rt.cpan.org #52901] Mail:Mailer uses executable "testfile" without warning
Date: Fri, 18 Dec 2009 22:35:49 +0100
To: Christoph Zimmermann via RT <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Christoph Zimmermann via RT (bug-MailTools@rt.cpan.org) [091218 15:48]: Show quoted text
> Fri Dec 18 10:48:48 2009: Request 52901 was acted upon. > Transaction: Ticket created by nussgipfel@gmx.ch > Queue: MailTools > Subject: Mail:Mailer uses executable "testfile" without warning > > the new() command tries to find a suitable MTA or uses smtp if > correctly configured. when nothing can be used it will use the > "testfile" debugging output. WITHOUT ANY WARNING!
I fully agree with you. There is far too much guessing in the original (ancient) code. There is a warning in place now. Only when you do not explicitly specify a transporter and then get the testfile as fallback result. I'll upload a new version, later today, with a few more collected patches. -- Thanks for the report, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Resolved in 2.05


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.