Skip to contentSkip to conversation

Return-Path

DISCUSSION Gustavo A. Baratto 2 participants 2 messages Jun 10, 2005 – Jun 13, 2005

lore
Share & tools
lore
#0 lore raw

I think I'm having a similar problem as
http://mlmmj.mmj.dk/archive/0328.html, but with postfix when I force a bounce.

I have a list with 3 addresses (two working and one non-working). When I send a mesg to the list, the working addresses get it just fine, and the bounced e-mail is sent by postfix without Return-Path and end up in /var/spool/mlmmj/mlmmj-test/queue/discarded.

Check out a sample of the mesgs in discarded directory just below:

----------------

# more 51b6a0a96e1d1379
Quoted 1 line

From MAILER-DAEMON Thu Jun 9 20:13:35 2005

Return-Path: <>
X-Original-To:
mlmmj-test+bounces-10-gbarattoasdasdasdadadasda=gmail.com@demo.luoqing.com
Delivered-To: [email protected]
Received: by freebsd-dev.dca2.superb.net (Postfix)

        id 6A83978CD0; Thu,  9 Jun 2005 20:13:35 +0000 (UTC)

Date: Thu, 9 Jun 2005 20:13:35 +0000 (UTC)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To:
mlmmj-test+bounces-10-gbarattoasdasdasdadadasda=gmail.com@demo.luoqing.com
MIME-Version: 1.0
Content-Type: multipart/report; report-type�livery-status;

        boundary="0FA3078CCE.1118348015/freebsd-dev.dca2.superb.net"

Message-Id: <[email protected]>

This is a MIME-encapsulated message.

--0FA3078CCE.1118348015/freebsd-dev.dca2.superb.net
Content-Description: Notification
Content-Type: text/plain

This is the Postfix program at host freebsd-dev.dca2.superb.net.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can delete your own text from the attached returned message.

The Postfix program

<[email protected]>: host
gmail-smtp-in.l.google.com[64.233.185.114] said: 550 5.7.1 No such user 16si1249613wrl (in reply to RCPT TO command)

--0FA3078CCE.1118348015/freebsd-dev.dca2.superb.net
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; freebsd-dev.dca2.superb.net
X-Postfix-Queue-ID: 0FA3078CCE
X-Postfix-Sender: rfc822; mlmmj-test+bounces-10-gbarattoasdasdasdadadasda=gmail.com@demo.luoqing.com
Arrival-Date: Thu, 9 Jun 2005 20:13:32 +0000 (UTC)

Final-Recipient: rfc822; [email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host gmail-smtp-in.l.google.com[64.233.185.114]

    said: 550 5.7.1 No such user 16si1249613wrl (in reply to RCPT TO 

command)

--0FA3078CCE.1118348015/freebsd-dev.dca2.superb.net
Content-Description: Undelivered Message
Content-Type: message/rfc822

Received: from localhost (localhost [127.0.0.1])
by freebsd-dev.dca2.superb.net (Postfix) with SMTP id 0FA3078CCE for <[email protected]>; Thu, 9 Jun 2005 20:13:32
+0000 (UTC)
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from cdb-1.superb.net (unknown [66.36.226.235])
by freebsd-dev.dca2.superb.net (Postfix) with ESMTP id A031278C43 for <[email protected]>; Thu, 9 Jun 2005 20:13:31 +0000
(UTC)
Received: from cdb-1.superb.net (localhost [127.0.0.1])

        by cdb-1.superb.net (8.12.9p1/8.12.9) with ESMTP id j59KEe8E027855
        for <[email protected]>; Thu, 9 Jun 2005 16:14:40 -0400 
(EDT)
        (envelope-from [email protected])
Received: (from mysql@localhost)
        by cdb-1.superb.net (8.12.9p1/8.12.9/Submit) id j59KEetm027854
        for [email protected]; Thu, 9 Jun 2005 16:14:40 -0400 

(EDT)
Date: Thu, 9 Jun 2005 16:14:40 -0400 (EDT)
From: Mysql Server <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: sdasda

sadas
sda

#1 lore raw
Quoted 19 lines · Gustavo A. Baratto

I think I'm having a similar problem as
http://mlmmj.mmj.dk/archive/0328.html, but with postfix when I force a bounce.

I have a list with 3 addresses (two working and one non-working). When I send a mesg to the list, the working addresses get it just fine, and the bounced e-mail is sent by postfix without Return-Path and end up in /var/spool/mlmmj/mlmmj-test/queue/discarded.

Check out a sample of the mesgs in discarded directory just below:

----------------

# more 51b6a0a96e1d1379
Quoted 1 line

From MAILER-DAEMON Thu Jun 9 20:13:35 2005

Return-Path: <>
X-Original-To:
mlmmj-test+bounces-10-gbarattoasdasdasdadadasda=gmail.com@demo.luoqing.com
Delivered-To: [email protected]
Received: by freebsd-dev.dca2.superb.net (Postfix)

Quoted 6 lines
       id 6A83978CD0; Thu,  9 Jun 2005 20:13:35 +0000 (UTC)

Date: Thu, 9 Jun 2005 20:13:35 +0000 (UTC)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To:
mlmmj-test+bounces-10-gbarattoasdasdasdadadasda=gmail.com@demo.luoqing.com

Why is Delivered-To: not the bounce address?

When there's a Delivered-To: mlmmj will use that one, and since it's the listaddr it's discarded due to empty Return-Path:.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.