--On Monday, October 01, 2012 7:32 PM -0400 Wietse Venema <[email protected]> wrote:

Quanah Gibson-Mount:
>> There are tons of ways that mail can resolve to the error mailer;
>> some may even be specified in access maps or transport maps.
>
> If the error is "User unknown in virtual alias table", then the fix
> is in trivial-rewrite/resolve.c:
>
> <           vstring_sprintf(nexthop, "User unknown%s",
> ---
>>           vstring_sprintf(nexthop, "5.1.1 User unknown%s",
>
> It the error is different, then I'll have to wait for more specific
> information.

Thanks Wietse,

We do use LDAP for our transport map for delivery:

What is the error if it is not "User unknown in virtual alias table"?

Hi Wieste,

I'm not sure where the error is you are expecting me to find? This is the full log of the connection, including the message being bounced back:

Oct 1 13:11:06 zre-ldap002 postfix/smtpd[8938]: connect from zre-ldap002.eng.vmware.com[10.137.242.52] Oct 1 13:11:06 zre-ldap002 postfix/smtpd[8938]: NOQUEUE: filter: RCPT from zre-ldap002.eng.vmware.com[10.137.242.52]: <[email protected]>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10026; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<zre-ldap002.eng.vmware.com> Oct 1 13:11:07 zre-ldap002 postfix/smtpd[8938]: 000501E37BC: client=zre-ldap002.eng.vmware.com[10.137.242.52] Oct 1 13:11:07 zre-ldap002 postfix/cleanup[8234]: 000501E37BC: message-id=<1387711364.9.1349122266928.javamail.r...@zre-ldap002.eng.vmware.com> Oct 1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 000501E37BC: from=<[email protected]>, size=765, nrcpt=1 (queue active) Oct 1 13:11:07 zre-ldap002 postfix/smtpd[8938]: disconnect from zre-ldap002.eng.vmware.com[10.137.242.52] Oct 1 13:11:07 zre-ldap002 amavis[789]: (00789-04) ESMTP:[127.0.0.1]:10026 /opt/zimbra/data/amavisd/tmp/amavis-20121001T073001-00789-bnitXfGD: <[email protected]> -> <[email protected]> Received: from zre-ldap002.eng.vmware.com ([127.0.0.1]) by localhost (zre-ldap002.eng.vmware.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP for <[email protected]>; Mon, 1 Oct 2012 13:11:07 -0700 (PDT) Oct 1 13:11:07 zre-ldap002 amavis[789]: (00789-04) Checking: WsQIZc5ms0X9 ORIGINATING/MYNETS [10.137.242.52] <[email protected]> -> <[email protected]> Oct 1 13:11:07 zre-ldap002 postfix/smtpd[8296]: connect from localhost[127.0.0.1] Oct 1 13:11:07 zre-ldap002 postfix/smtpd[8296]: 2D0711E37BE: client=localhost[127.0.0.1] Oct 1 13:11:07 zre-ldap002 postfix/cleanup[8234]: 2D0711E37BE: message-id=<1387711364.9.1349122266928.javamail.r...@zre-ldap002.eng.vmware.com> Oct 1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 2D0711E37BE: from=<[email protected]>, size=1614, nrcpt=1 (queue active) Oct 1 13:11:07 zre-ldap002 postfix/smtpd[8296]: disconnect from localhost[127.0.0.1] Oct 1 13:11:07 zre-ldap002 amavis[789]: (00789-04) FWD from <[email protected]> -> <[email protected]>,BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2D0711E37BE Oct 1 13:11:07 zre-ldap002 amavis[789]: (00789-04) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [10.137.242.52]:40266 [10.137.242.52] <[email protected]> -> <[email protected]>, Queue-ID: 000501E37BC, Message-ID: <1387711364.9.1349122266928.javamail.r...@zre-ldap002.eng.vmware.com>, mail_id: WsQIZc5ms0X9, Hits: -2.087, size: 765, queued_as: 2D0711E37BE, 191 ms Oct 1 13:11:07 zre-ldap002 postfix/smtp[8257]: 000501E37BC: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.22, delays=0.03/0/0/0.19, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2D0711E37BE)
Oct  1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 000501E37BC: removed
Oct 1 13:11:07 zre-ldap002 postfix/error[8324]: 2D0711E37BE: to=<[email protected]>, relay=none, delay=0.06, delays=0.03/0/0/0.02, dsn=5.0.0, status=bounced (zre-ldap002.eng.vmware.com) Oct 1 13:11:07 zre-ldap002 postfix/cleanup[8234]: 3A75C1E37BC: message-id=<[email protected]> Oct 1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 3A75C1E37BC: from=<>, size=3670, nrcpt=1 (queue active) Oct 1 13:11:07 zre-ldap002 postfix/bounce[8328]: 2D0711E37BE: sender non-delivery notification: 3A75C1E37BC
Oct  1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 2D0711E37BE: removed
Oct 1 13:11:07 zre-ldap002 postfix/lmtp[8941]: 3A75C1E37BC: to=<[email protected]>, relay=zre-ldap002.eng.vmware.com[10.137.242.52]:7025, delay=0.14, delays=0.03/0.01/0/0.1, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Oct  1 13:11:07 zre-ldap002 postfix/qmgr[23910]: 3A75C1E37BC: removed


The email I get back says:

Received: from zre-ldap002.eng.vmware.com (LHLO zre-ldap002.eng.vmware.com)
(10.137.242.52) by zre-ldap002.eng.vmware.com with LMTP; Mon, 1 Oct 2012
13:11:07 -0700 (PDT)
Received: by zre-ldap002.eng.vmware.com (Postfix)
        id 3A75C1E37BC; Mon,  1 Oct 2012 13:11:07 -0700 (PDT)
Date: Mon,  1 Oct 2012 13:11:07 -0700 (PDT)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="2D0711E37BE.1349122267/zre-ldap002.eng.vmware.com"
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>

This is a MIME-encapsulated message.

--2D0711E37BE.1349122267/zre-ldap002.eng.vmware.com
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host zre-ldap002.eng.vmware.com.

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 mail system

<[email protected]>: zre-ldap002.eng.vmware.com

--2D0711E37BE.1349122267/zre-ldap002.eng.vmware.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; zre-ldap002.eng.vmware.com
X-Postfix-Queue-ID: 2D0711E37BE
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Mon,  1 Oct 2012 13:11:07 -0700 (PDT)

Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; zre-ldap002.eng.vmware.com

--2D0711E37BE.1349122267/zre-ldap002.eng.vmware.com
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit

Return-Path: <[email protected]>
Received: from localhost (localhost [127.0.0.1])
        by zre-ldap002.eng.vmware.com (Postfix) with ESMTP id 2D0711E37BE
for <[email protected]>; Mon, 1 Oct 2012 13:11:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zre-ldap002.eng.vmware.com
X-Spam-Flag: NO
X-Spam-Score: -2.087
X-Spam-Level:
X-Spam-Status: No, score=-2.087 tagged_above=-10 required=6.6
        tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, RDNS_NONE=0.793,
        T_HELO_NO_DOMAIN=0.01, T_LONG_HEADER_LINE_80=0.01,
        T_NOT_A_PERSON=-0.01, T_RP_MATCHES_RCVD=-0.01,
        T_THREAD_INDEX_BAD=0.01, T_UNKNOWN_ORIGIN=0.01] autolearn=no
Received: from zre-ldap002.eng.vmware.com ([127.0.0.1])
by localhost (zre-ldap002.eng.vmware.com [127.0.0.1]) (amavisd-new, port 10026)
        with ESMTP id WsQIZc5ms0X9 for <[email protected]>;
        Mon,  1 Oct 2012 13:11:07 -0700 (PDT)
Received: from zre-ldap002.eng.vmware.com (zre-ldap002.eng.vmware.com [10.137.242.52])
        by zre-ldap002.eng.vmware.com (Postfix) with ESMTP id 000501E37BC
for <[email protected]>; Mon, 1 Oct 2012 13:11:06 -0700 (PDT)
Date: Mon, 1 Oct 2012 13:11:06 -0700 (PDT)
From: [email protected]
To: [email protected]
Message-ID: <1387711364.9.1349122266928.javamail.r...@zre-ldap002.eng.vmware.com>
Subject: bad email test
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.114.53.3]
X-Mailer: Zimbra 8.0.1_GA_5490 (ZimbraWebClient - FF15 (Win)/8.0.1_GA_5490)
Thread-Topic: bad email test
Thread-Index: qzz+ZTrwa8skbJC/pu2Tsw1a7WrJiA==

test

--2D0711E37BE.1349122267/zre-ldap002.eng.vmware.com--



Thanks!

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to