On Mon, Oct 13, 2008 at 09:40:17PM -1000, Ryo Furue wrote:
Petter,
Thank you for your response.
| I think this behavior should be configurable through
| dpkg-reconfigure popularity-contest, because
|
| 1) There are many users whose MTA only allows local delivery;
| 2) How to change configuration isn't clear.
|
| The correct way is to add a line with
|
| MAILTO=
|
| in /etc/popularity-contest.conf, to override the default email
| address.
Thanks. I was actually able to figure that out by reading
/etc/cron.daily/popularity-contest .
| I agree that this should be mentioned in the manual page, at
| the very least. :)
I suggest that the attached patch be applied to the FAQ.
This replace an outdated question by the following:
- - - - - - - - - - -
Q) How can I prevent popularity-contest to send report via email ?
A) This is not recommended. Report are sent by email only when the HTTP
submission fails which is generally caused by a temporary lack of internet
connectivity. By contrast, reports sent by email are stored in the mail server
queue until the internet connectivity is back.
Nevertheless, you can prevent popularity-contest to send report via email by
adding
MAILTO=
to /etc/popularity-contest.conf
- - - - - - - - - - -
Cheers,
--
Bill. ballo...@debian.org
Imagine a large red swirl here.
Index: FAQ
===
--- FAQ (révision 637)
+++ FAQ (copie de travail)
@@ -75,15 +75,16 @@
su myuser -s /bin/sh -c /usr/sbin/sendmail -oi \$MAILTO\
}
-Q) My system is unable to send email out to the Internet. How can I
-participate ?
+Q) How can I prevent popularity-contest to send report via email ?
-A) Since version 1.30 of popularity-contest, it is possible to use HTTP
-as the transport protocol. This is the default for new installations,
-but needs to be manually enabled for old installations. To enable it,
-run this commmand as root:
+A) This is not recommended. Report are sent by email only when the HTTP
+submission fails which is generally caused by a temporary lack of internet
+connectivity. By contrast, reports sent by email are stored in the mail server
+queue until the internet connectivity is back.
- dpkg-reconfigure popularity-contest
+Nevertheless, you can prevent popularity-contest to send report via email by
adding
+MAILTO=
+to /etc/popularity-contest.conf
Q) How can I specify a HTTP proxy server for the HTTP submission ?