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="[EMAIL PROTECTED], [EMAIL PROTECTED]"
| 
<snip>
| MY_HOSTID="51f9c35e2f461cd50939c66d761f0a21"
| 
<snip>
| [EMAIL PROTECTED]
| 
<snip>
| PARTICIPATE=yes
 \______________________________________________________________________

my MTA send me following error Message:

  __( '/tmp/pop' )______________________________________________________
 /
|                            UNDELIVERABLE MAIL
| 
| Your message to the following recipients cannot be delivered:
| 
| <[EMAIL PROTECTED],[EMAIL PROTECTED]>:
| <<< 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; [EMAIL PROTECTED],[EMAIL PROTECTED]
| 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: [EMAIL PROTECTED]
| Sender: [EMAIL PROTECTED]
| To: [EMAIL PROTECTED], [EMAIL PROTECTED]
| Subject: popularity-contest submission
| Message-ID: <[EMAIL PROTECTED]>
| 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:

<[EMAIL PROTECTED],[EMAIL PROTECTED]>

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)

Attachment: signature.pgp
Description: Digital signature

Reply via email to