Closed p5pRT closed 20 years ago
I used perlbug on my PC to send a bug. It worked great up to sending the email. It then quit with the following messages.
Action (Send/Display/Edit/Subject/Save to File): send Are you certain you want to send this message? Please type "yes" if you are: yes
I am terribly sorry\, but I cannot find sendmail\, or a close equivalent\, and the perl package Mail::Send has not been installed\, so I can't send your bug report. We apologize for the inconvenience.
So you may attempt to find some way of sending your message\, it has been left in the file `C:\DOCUME~1\WARREN~1.GLO\LOCALS~1\Temp\YhtxvYUhx7'.
It seems that this is a shortcoming of the basic perl installation.
I had loaded Mail::Sendmail into the site library tree which is what I use for my scripts.
Hopefully something can be done to make perlbug work.
Thanks
@JohnPeacock - Status changed from 'new' to 'open'
Windows does not include a built in mail program (that Perl can use\, at any rate). Mail::Send can be used by Perlbug\, but that is different from Mail::Sendmail (the latter of which only provides a sendmail() sub\, but not a sendmail program that can be used out of the box).
If you install Mail::Send\, you can correctly send perlbug messages directly from Windows.
HTH
John Peacock
@JohnPeacock - Status changed from 'open' to 'resolved'
I guess my thought is that perlbug should work out of the box. I assume it does on Unix. I would think Mail::Send would be included in the distribution. I would suspect any new user isn't going to know how to get the module to make this work.
Just my thoughts. I know how to deal with it.
Warren L Dodge wrote:
I guess my thought is that perlbug should work out of the box. I assume it does on Unix.
It _does_ work out of the box; it's your platform that is lacking essential features. ;)
I would think Mail::Send would be included in the distribution. I would suspect any new user isn't going to know how to get the module to make this work.
By the same token\, any new user (on Win32) is unlikely to be running perlbug in the first place. I don't know why Mail::Send isn't in the core; probably because it isn't important enough to most users to justify the extra bloat just so one platform can run perlbug without installing it.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham\, MD 20706 301-459-3366 x.5010 fax 301-429-5747
On Mon\, Aug 16\, 2004 at 10:22:02PM -0400\, John Peacock \jpeacock@​rowman\.com wrote:
Warren L Dodge wrote:
I guess my thought is that perlbug should work out of the box. I assume it does on Unix.
It _does_ work out of the box; it's your platform that is lacking essential features. ;)
I would think Mail::Send would be included in the distribution. I would suspect any new user isn't going to know how to get the module to make this work.
By the same token\, any new user (on Win32) is unlikely to be running perlbug in the first place. I don't know why Mail::Send isn't in the core; probably because it isn't important enough to most users to justify the extra bloat just so one platform can run perlbug without installing it.
They can run perlbug even without it\, using the Save to file option and their usual email client.
Yitzchak Scott-Thoennes \sthoenna@​efn\.org wrote: :On Mon\, Aug 16\, 2004 at 10:22:02PM -0400\, John Peacock \jpeacock@​rowman\.com wrote: :> Warren L Dodge wrote: :> >I guess my thought is that perlbug should work out of the box. I assume it :> >does on Unix. [...] :They can run perlbug even without it\, using the Save to file option and :their usual email client.
In that case\, is it not possible for perlbug to detect the situation and offer only the relevant options?
Hugo
It _does_ work out of the box; it's your platform that is lacking essential features. ;)
I would think Mail::Send would be included in the distribution. I would suspect any new user isn't going to know how to get the module to make this work.
By the same token\, any new user (on Win32) is unlikely to be running perlbug in the first place. I don't know why Mail::Send isn't in the core; probably because it isn't important enough to most users to justify the extra bloat just so one platform can run perlbug without installing it.
They can run perlbug even without it\, using the Save to file option and their usual email client.
The thing that seems stupid about this to me is that there is a 99% chance that a Win32 user is going to want to talk directly to an SMTP server\, and Net::SMTP IS a core module. It shouldn't be that serious a deal to hack perlbug to just directly use Net::SMTP for the mail.
IE\, if its on Win32 and cant find a proper mail module (Mail::Send\, MIME::Lite etc\, the latter is probably more widely used on Win32 afaik) then it should check to see if libnet.cfg has been configured for SMTP\, if not ask if there is an SMTP server available\, and assuming one can be found simply use Net::SMTP for the job.
However IMO an _even_ better thing to do would be to provide an XML gateway for submitting perlbug reports via HTTP. Then perlbug could simply connect to the gateway and upload the relevent data via XML and the gateway would handle the rest\, then you could eliminate the email dependency entirely in 99% of situations where folks need to use it.
Yves
Orton\, Yves wrote:
However IMO an _even_ better thing to do would be to provide an XML gateway for submitting perlbug reports via HTTP. Then perlbug could simply connect to the gateway and upload the relevent data via XML and the gateway would handle the rest\, then you could eliminate the email dependency entirely in 99% of situations where folks need to use it.
Ooh\, brilliant idea (except maybe the "XML" part :). Hasn't RT a web interface\, that could be adapted ?
Rafael Garcia-Suarez replied:
Orton\, Yves wrote:
However IMO an _even_ better thing to do would be to provide an XML gateway for submitting perlbug reports via HTTP. Then perlbug could simply connect to the gateway and upload the relevent data via XML and the gateway would handle the rest\, then you could eliminate the email dependency entirely in 99% of situations where folks need to use it.
Ooh\, brilliant idea (except maybe the "XML" part :). Hasn't RT a web interface\, that could be adapted ?
Well\, if the XML stuff bothers you I suppose it could just upload the file that would normally be emailed.
Maybe Autrijius has an idea what the easiest/best way to do this is?
Cheers\, Yves
The thing that seems stupid about this to me is that there is a 99% chance that a Win32 user is going to want to talk directly to an SMTP server\, and Net::SMTP IS a core module. It shouldn't be that serious a deal to hack perlbug to just directly use Net::SMTP for the mail.
Which SMTP server? I don't think I've _ever_ configured a default one for libnet. How do we know we're even on a box with a routable network connection that can talk to port 25 on the outside world? Or even inside world?
However IMO an _even_ better thing to do would be to provide an XML gateway for submitting perlbug reports via HTTP. Then perlbug could simply connect to the gateway and upload the relevent data via XML and the gateway would handle the rest\, then you could eliminate the email dependency entirely in 99% of situations where folks need to use it.
Thanks for volunteering! That's a great idea. We can host it with the perlbug systems once it's designed and written.
-R
Robert Spier wrote on 18 August 2004 at 05:13:
The thing that seems stupid about this to me is that there is a 99% chance that a Win32 user is going to want to talk directly to an SMTP server\, and Net::SMTP IS a core module. It shouldn't be that serious a deal to hack perlbug to just directly use Net::SMTP for the mail.
Which SMTP server? I don't think I've _ever_ configured a default one for libnet. How do we know we're even on a box with a routable network connection that can talk to port 25 on the outside world? Or even inside world?
Most win32 users who do email that ive had to deal with have been using SMTP servers directly and often have configured libnet.cfg. I assumed that the Win32 users who are likely to bother with perlbug are in the camp that would either know these details and could respond to a prompt or have configured it in libnet.cfg so they don't have to enter it every time they need to use perl to send emails\, which in my experience on win32 is one of the easier ways to do so and such IME is quite common.
Either way looking for sendmail on win32 seems silly as it almost certainly _wont_ be there. And as its quite likely they do have connectivity and access to an SMTP server it seems logical to at least try to make it easier for them.
However IMO an _even_ better thing to do would be to provide an XML gateway for submitting perlbug reports via HTTP. Then perlbug could simply connect to the gateway and upload the relevent data via XML and the gateway would handle the rest\, then you could eliminate the email dependency entirely in 99% of situations where folks need to use it.
Thanks for volunteering! That's a great idea. We can host it with the perlbug systems once it's designed and written.
Tell me what to patch against and ill give it a go\, or did you mean totally independent of the current codebase? Also is there a reason that there is no way for guest users to enter a bug via the perlbug website? Maybe you could talk to me offlist and well see what we can do?
yves
Maybe you could talk to me offlist and well see what we can do?
Taking offlist\, as suggested.
-R
Making perlbug open up a direct SMTP channel to mx.develooper.com would not be that difficult\, but the current need-to-configure does filter out certain naive bug reports I am certain
-- david nicol "Someday\, everything's going to be different when I paint my masterpiece."
On Wed\, 2004-08-18 at 18:23\, david nicol wrote:
[snip] You could also skip the mail gateway entirely\, and send a POST request to http://rt.perl.org/rt3/REST/1.0/NoAuth/mail-gateway with parameters: queue => "perl5"\, action => "correspond"\, message => # Full email message\, including headers
- Alex
-- Networking -- one letter away from not working
You could also skip the mail gateway entirely\, and send a POST request to http://rt.perl.org/rt3/REST/1.0/NoAuth/mail-gateway with parameters: queue => "perl5"\, action => "correspond"\, message => # Full email message\, including headers
Please don't even *think* of doing this. It totally bypasses all of our spam/virus/idiot checks.
Thanks for pointing out a hole. I've now blocked it.
-R
Making perlbug open up a direct SMTP channel to mx.develooper.com would not be that difficult\, but the current need-to-configure does filter out certain naive bug reports I am certain
That would just cause an influx of mail from poorly configured systems that would likely be blocked by our MTA for your protection.
And at some indeterminate point in the future\, it is possible that the
relay will need to change. Then we're stuck with having to change all
the C\
-R
we would have to commit to an MX alias for the purpose -- I only said mx.develooper because that is the current correct value -- getting perlbug to send its own mail would require\, IMO\, some support on the receiving end for at least one DNS record that will remain valid for this purpose\, and working DNS on the sending end.
The suggestion is to lower the bar for ability to submit a bug report from where it currently is\, to something slightly lower. "Having working DNS" instead of "Having working outbound command line MUA that perlbug knows about" || "reporter ability to write perlbug to file and invoke command line MUA"
A DNS name would be selected and a committment made to keep it valid\, perhaps perlbug-mx-inbound.rt.perl.org.
But if we've got programmatic control of both ends\, there's no technical reason to prefer SMTP\, and various political reasons against it\, in particular firewalls (i doubt very much this is news to anyone reading this list.)
Following the negotiating principles from _Getting To Yes_ we should agree on\, "do we or do we not wish to lower the bar on entering bugs?" before deciding "how far" and only then\, start discussing approaches.
As if we were really that organized.
David Nicol\, in final year of a MBA program
On Sun\, 2004-08-29 at 00:18\, Robert Spier wrote:
And at some indeterminate point in the future\, it is possible that the relay will need to change. Then we're stuck with having to change all the C\
programs out there. -R -- david nicol "Someday\, everything's going to be different when I paint my masterpiece."
On Tue\, Aug 31\, 2004 at 05:03:04PM -0500\, david nicol wrote:
The suggestion is to lower the bar for ability to submit a bug report from where it currently is\, to something slightly lower. "Having working DNS" instead of "Having working outbound command line MUA that perlbug knows about" || "reporter ability to write perlbug to file and invoke command line MUA"
Colour me cynical\, but anyone who is sufficiently non-savvy to manage to write a perlbug report to a file and then run a mail program is unlikely to be able to submit an actionable bug report. And I'm quite happy not to receive crap bug reports.
If people have the time\, I think that the effort would be better spent in dealing with the good but unresolved bug reports that we already have\, and already get lots of.
Following the negotiating principles from _Getting To Yes_ we should agree on\, "do we or do we not wish to lower the bar on entering bugs?" before deciding "how far" and only then\, start discussing approaches.
Bang on. I do not wish to lower the bar. If you can't get over the bar at the moment\, you should be seeking help from someone else first\, who in turn can send the bug on *if it really is a bug in perl*
As if we were really that organized.
David Nicol\, in final year of a MBA program
Organising our volunteer labour significantly better is somewhat jumping the gun. I fear you've missed the prerequisite problem - that we don't have enough skilled and willing and committed volunteer labour.
Nicholas Clark
Migrated from rt.perl.org#30968 (status was 'resolved')
Searchable as RT30968$