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

Petter Reinholdtsen pere at hungry.com
Sat Jul 29 08:21:44 UTC 2006


tags 326593 + patch
thanks

Is this patch enough to solve your problem?  Please test and let us
know.

Index: debian/cron.weekly
===================================================================
RCS file: /cvsroot/popcon/popularity-contest/debian/cron.weekly,v
retrieving revision 1.16
diff -u -3 -p -r1.16 cron.weekly
--- debian/cron.weekly  13 Nov 2005 22:26:22 -0000      1.16
+++ debian/cron.weekly  29 Jul 2006 08:20:13 -0000
@@ -37,9 +37,9 @@ run_popcon()
 do_sendmail()
 {
        if [ -n "$MAILFROM" ]; then
-               sendmail -oi -f "$MAILFROM" "$MAILTO"
+               sendmail -oi -f "$MAILFROM" $MAILTO
        else
-               sendmail -oi "$MAILTO"
+               sendmail -oi $MAILTO
        fi
 }


Friendly,
-- 
Petter Reinholdtsen




More information about the Popcon-developers mailing list