[Reportbug-maint] Bug#502866: reportbug cannot work without local MTA or remote smtp host
Lars Noodén
lars at umich.edu
Mon Oct 20 17:00:42 UTC 2008
Sandro Tosi wrote:
> can you be more verbose about POST HTTP bug submission? I can't get your point.
The suggestion is that reportbug have an option to submit a bug without
requiring that the user either set up an MTA or have to hunt for an
external one.
One way would be to have some kind of form-to-mail gateway that
reportbug can use to pass on the data it collected from the user. That
way only web traffic (HTTP) need travel out from the Debian host.
Wget is part of busybox and basic debian:
It has an option for HTTP POST:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5
described in the man page:
"--post-data=string
--post-file=file
Use POST as the method for all HTTP requests and send
the specified data in the request body. "--post-data"
sends string as data, whereas "--post-file" sends the
contents of file. Other than that, they work in exactly
the same way..."
- http://linux.die.net/man/1/wget
The "post-file" option might be the one to look at.
More information about the Reportbug-maint
mailing list