[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: possible success submit popularity contest

On Mon, 02 Jan 2012 17:15:09 -0600, hvw59601 wrote:

> Although a simple 'yes' in d-i enables p-c, to make it work is another
> matter.

That's for motivating users to use it :-P

> 1. I enabled exim4 to use gmail per http://wiki.debian.org/GmailAndExim4
> 2. But the cron script failed per syslog: Jan  2 09:35:37 HDBB
> popularity-contest: unable to submit report to
> http://popcon.debian.org/cgi-bin/popcon.cgi.

P-C FAQ (Q#7) seems to indicate that when/if http fails it will be 
automatically (no user action required) sent through e-mail:


> 3. That message comes from the cron script if $USEHTTP = 'yes'. So I set
> it to 'no' and tried again.

Mmm... before turning it off, I would investigate further why http 
failed. It could have been a temporary site error.

> 4. The I got in /var/log/exim3/mainlog:
> 2012-01-02 16:20:28 1RhqF2-0001EQ-CU <= root@hdb6.mail U=root P=local S=79913
> 2012-01-02 16:20:32 1RhqF2-0001EQ-CU => survey@popcon.debian.org R=smarthost T=remote_smtp_smarthost H=gmail-smtp-msa.l.google .com [] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=smtp.gmail.com"
> 2012-01-02 16:20:32 1RhqF2-0001EQ-CU Completed 
> 2012-01-02 16:21:22 1RhqFu-0007US-7i <= root@hdb6.mail U=root P=local S=793 
> 2012-01-02 16:21:24 1RhqFu-0007US-7i => root@hdb6.mail R=smarthost T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.1 25.81.109] X=TLS1.0:RSA_ARCFOUR_SHA1:16 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=smtp.gmail.com" 
> 2012-01-02 16:21:24 1RhqFu-0007US-7i Completed

Gmail mail server returned "Completed". Looks like a successful 

To check it your Exim's smarthost is working fine, I would try to send an 
e-mail to an external e-mail address (one that you can check) and see 
what happens.
> 5. But I got that also at 9:35. But *this time there was no error
> message* in syslog. Sort of negative logic, does that means the submit
> was successful?

I'd say it was but checking if Exim is able to deliver to an external e-
mail address will neither not hurt :-)



Reply to: