[Popcon-developers] Bug#326593: do_sendmail() and error in To:

Bill Allombert allomber at math.u-bordeaux.fr
Fri Apr 7 14:01:52 UTC 2006


On Sun, Sep 04, 2005 at 11:39:20AM +0200, Michelle Konzack wrote:
> Package: popularity-contest
> Version: 1.31
> Severity: normal

Hello Michelle,

First, sorry for the late answer

> Error description:
> 
> Error occurs in all versions from Woody to Sid.
> 
> It works with ssmtp but not courier-mta.
> 
> If the $USER like to get a copy from the popularity-contest like
> 
>   __( '/etc/popularity-contest.conf' )__________________________________
>  /
> <snip>
> | MAILTO="apenwarr-survey at debian.org, xxxxxxxxxxxxxxxxxxxxxxx at freenet.de"

Am I am correct in assuming the comma does not play any role, but the
space does ? i.e. you could have done as well

MAILTO="apenwarr-survey at debian.org xxxxxxxxxxxxxxxxxxxxxxx at freenet.de"

and get the same result ?

> ----8<------------------------------------------------------------------
> 44c44
> < 		sendmail -oi -f "$MAILFROM" "$MAILTO"
> ---
> > 		sendmail -oi -f "$MAILFROM" $MAILTO
> 46c46
> < 		sendmail -oi "$MAILTO"
> ---
> > 		sendmail -oi $MAILTO
> ----8<------------------------------------------------------------------

So to summary, you would like we remove the quote around $MAILTO
on the ground email addresses cannot contain spaces and this would 
allow MAILTO to be set to several addresses as in 
MAILTO="a at b c at d e at f"

Would that work for both ssmtp and courrier-mta ?

Am I correct ?

Thanks for using popularity-contest,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 




More information about the Popcon-developers mailing list