[Popcon-developers] Bug#326593: do_sendmail() and error in To:
Michelle Konzack
linux4michelle at freenet.de
Sun Sep 4 09:39:20 UTC 2005
Package: popularity-contest
Version: 1.31
Severity: normal
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"
|
<snip>
| MY_HOSTID="51f9c35e2f461cd50939c66d761f0a21"
|
<snip>
| MAILFROM=xxxxxxxxxxxxxxxxxxxxxxx at freenet.de
|
<snip>
| PARTICIPATE=yes
\______________________________________________________________________
my MTA send me following error Message:
__( '/tmp/pop' )______________________________________________________
/
| UNDELIVERABLE MAIL
|
| Your message to the following recipients cannot be delivered:
|
| <apenwarr-survey at debian.org,xxxxxxxxxxxxxxxxxxxx at freenet.de>:
| <<< Connection refused
|
| ---------------------------------------------------------------------------
|
| If your message was also sent to additional recipients, their delivery
| status is not included in this report. You may or may not receive
| other delivery status notifications for additional recipients.
|
| The original message follows as a separate attachment.
|
|
| Reporting-MTA: dns; mail.tamay-dogan.net
| Arrival-Date: Sun, 28 Aug 2005 00:05:34 +0200
| Received-From-MTA: dns; localhost (localhost [127.0.0.1])
|
| Final-Recipient: rfc822; apenwarr-survey at debian.org,xxxxxxxxxxxxxxxxxxxx at freenet.de
| Action: failed
| Status: 5.0.0
| Diagnostic-Code: unknown; Connection refused
x
| --=_courier_0
| Content-Type: message/rfc822
| Content-Transfer-Encoding: 7bit
|
| Received: from localhost (localhost [127.0.0.1])
| (uid 0)
| by mail.tamay-dogan.net with local; Sun, 28 Aug 2005 00:05:10 +0200
| id 000097DC.4310E399.000042BD
| From: xxxxxxxxxxxxxxxxxxxx at freenet.de
| Sender: xxxxxxxxxxxxxxxxxxxx at freenet.de
| To: apenwarr-survey at debian.org, xxxxxxxxxxxxxxxxxxxx at freenet.de
| Subject: popularity-contest submission
| Message-ID: <courier.4310E396.000042BD at tamay-dogan.net>
| Date: Sun, 28 Aug 2005 00:05:10 +0200
|
| POPULARITY-CONTEST-0 TIME:1125180314 ID:c3ee5b06d26a569a3ae67b0012225a
| f2
| 1125180328 1102076611 grep /bin/egrep
| 1125180325 1102076626 findutils /usr/bin/find
| 1125180314 1110662082 popularity-contest /usr/sbin/popularity-contest
<snip>
\______________________________________________________________________
So, whats going on ?
It easy.
Ih you send the written messages with
sendmail -t
it will read the To: headers from the file and all ist working fine,
but if you use
sendmail -oi -f "$MAILFROM" "$MAILTO"
it sucks. Why:
Because the script '/etc/weekly/popularity-contest' produce this line:
<apenwarr-survey at debian.org,xxxxxxxxxxxxxxxxxxxx at freenet.de>
which is not valid. If you NOT quote the $MAILTO, it works as expected:
sendmail -oi -f "$MAILFROM" $MAILTO
----8<------------------------------------------------------------------
44c44
< sendmail -oi -f "$MAILFROM" "$MAILTO"
---
> sendmail -oi -f "$MAILFROM" $MAILTO
46c46
< sendmail -oi "$MAILTO"
---
> sendmail -oi $MAILTO
----8<------------------------------------------------------------------
-- System Information
Debian Release: 3.0
Kernel Version: Linux michelle1.private 2.4.27-2-k7 #1 Fri Jan 21 00:03:54 CET 2005 i686 unknown
Versions of the packages popularity-contest depends on:
ii debconf 1.2.35 Debian configuration management system
ii dpkg-awk 1.0.1 Gawk script to parse /var/lib/dpkg/{status,a
ii gawk 3.1.0-3 GNU awk, a pattern scanning and processing l
exim Not installed or no info
ssmtp Version: 2.50.6.0.michelle.6 (Provides virtual package mail-transport-agent)
ii ssmtp 2.50.6.0.miche Extremely simple MTA to get mail off the sys
^^^ (Provides virtual package mail-transport-agent)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20050904/5b5c48f3/attachment.pgp
More information about the Popcon-developers
mailing list