Bug#502159: [Popcon-developers] Bug#502159: Bug#502159: popularity-contest: when HTTP fails, tries MAILTO: no dpkg-configure options

2011-03-30 Thread Bill Allombert
On Tue, Mar 22, 2011 at 02:45:42PM +0100, Bill Allombert wrote:
 I suggest that the attached patch be applied to the FAQ.

I have updated http://popcon.debian.org/FAQ and added this entry:

Q) How can I prevent popularity-contest from sending reports via email?

A) This is not recommended. Reports 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 from sending reports via email
by adding
MAILTO=
to /etc/popularity-contest.conf

Cheers,
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#502159: [Popcon-developers] Bug#502159: Bug#502159: popularity-contest: when HTTP fails, tries MAILTO: no dpkg-configure options

2011-03-22 Thread Bill Allombert
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 ?