Attached is a patch that adds 'http' as a mailer.

I added this because I did not want to send the reports from the system on which the smoke ran. This mainly because it includes usernames, ip addresses and a company names.

This could also be useful to persons that are stuck behind a firewall that does not allow outgoing mail.

My setup: mailrpt.pl -> http request to another server -> send the mail to daily-build.reports.


Added the following questions to configsmoke.pl:

Which mail facility should be used?
<MIME::Lite|http|mail|mailx|sendmail> [MIME::Lite] $ http
Got [http]

To which address(es) should the report *always* be send?
        (comma separated list, *please* do not include perl5-porters!)
[EMAIL PROTECTED] $
Got [EMAIL PROTECTED]

to which URL should the report be send?
[] $ https://url.of.server
Got [https://url.of.server]

which username should be used to authenticate?
Leave empty if no authetnication is needed
[] $ username
Got [username]

which password should be used to authenticate?
[] $ password
Got [password]

(It doesn't ask for the password if the username is empty)


Output from mailrpt:

mailrpt.pl -c /opt/perl/bin/smokecurrent_config
Found [/opt/perl/perl-5.8.x/mktest.rpt]
[http]
Sending report to https://url.of.server OK


Kind regards,

Bram

Attachment: patch_smoke
Description: Binary data

Reply via email to