On Sat, Jul 23, 2005 at 10:02:39PM +0200, Petter Reinholdtsen wrote: > Why do you make it so complex? I would believe it was sufficient to > add this line to /etc/popularity-contest.conf if you wanted to send > email both to the normal MAILTO address and the MAILFROM address. > MAILTO="$MAILTO,$MAILFROM"
Using that method, both addresses will be included in the "To:" header of the e-mails that are sent. I was afraid that the receiving script on the other side would not like that. Perhaps I was wrong. > I am not convinced that your need should be a separate configuration > option. This is partly influenced by the fact that we are moving > towards HTTP submissions to make sure more machines can participate. Fair enough. > > popularity-contest/use-http: true > > ^^^^^^^^^^^^^^ (huh? a bug??) > > Why do you believe it is a bug? We just added support for HTTP post > submissions. Here is my /usr/share/popularity-contest/default.conf: # Default config file for Debian's popularity-contest package. # # Local overrides are in /etc/popularity-contest.conf # PARTICIPATE can be one of "yes" or "no". # If you don't want to participate in the contest, say "no" # and we won't send messages. # # If this option is missing, the default is "no". # PARTICIPATE="no" # MAILTO specifies the address to e-mail statistics to each week. # MAILTO="[EMAIL PROTECTED]" # MAILFROM is the forged sender email address you want to use in # email submitted to the popularity-contest. If this is commented # out, no From: or Sender: lines will be added to the outgoing mail, # and it will be your MTA's job to add them. This is usually what # you want. # # If your MTA is misconfigured or impossible to configure correctly, # and it always generates invalid From: and/or Sender: lines, you # can force different results by setting MAILFROM here. This can # cause problems with spam bouncers, so most people should leave it # commented out. # #MAILFROM="[EMAIL PROTECTED]" # SUBMITURLS is a space separated list of where to submit # popularity-contest reports using http. SUBMITURLS="http://popcon.debian.org/cgi-bin/popcon.cgi" # USEHTTP enables http reporting. Set this to 'yes' to enable it. USEHTTP="no" # MY_HOSTID is a secret number that the popularity-contest receiver # uses to keep track of your submissions. Whenever you send in a # new entry, it overwrites the last one that had the same HOSTID. # # This key was generated automatically so you should normally just # leave it alone. # #MY_HOSTID="_ID_" And here is my /etc/popularity-contest.conf: # Config file for Debian's popularity-contest package. # # To change this file, use: # dpkg-reconfigure popularity-contest # # You can also edit it by hand, if you so choose. # # See /usr/share/popularity-contest/default.conf for more info # on the options. MY_HOSTID=[[censorship]] PARTICIPATE="yes" MAILFROM="[EMAIL PROTECTED]" USEHTTP="no" COPYTOFROMADDRESS="yes" As you can see, both files say USEHTTP="no", so the "use-http: true" data in reportbug looks a bit weird. // Ulf -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

