Hello list, our mail gateways seem to support DSN although the used version of postfix should actually not support DSN (RFC3184). And so we don't want to send DSN
An external recipient received a DSN from our internal MS Exchange 2003 server. First some information on our postfix mailsystem os: RHEL 4 Update 7 postfix version: 2.2.10 -- $ rpm -qi postfix Name : postfix Relocations: (not relocatable) Version : 2.2.10 Vendor: Red Hat, Inc. Release : 1.1.el4 Build Date: Thu 25 Jan 2007 09:00:30 AM CET Install Date: Mon 07 May 2007 01:47:06 PM CEST Build Host: hs20-bc1-7.build.redhat.com Group : System Environment/Daemons Source RPM: postfix-2.2.10-1.1.el4.src.rpm Size : 7013562 License: IBM Public License Signature : DSA/SHA1, Mon 12 Feb 2007 07:27:15 PM CET, Key ID 219180cddb42a60e Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.postfix.org Summary : Postfix Mail Transport Agent Description : Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL), TLS and running in a chroot environment. -- sandwich-config: postfix-recv - amavisd-new - postfix-send in /etc/postfix-recv/main.cf we added the following line (though the version does not "officially" support DSN) smtpd_discard_ehlo_keywords = silent-discard, dsn Following the header of the mail which requested a DSN #### Microsoft Mail Internet Headers Version 2.0 Received: from mx1010.internal.dom ([192.168.9.12]) by MX0032.internal.dom with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Sep 2008 13:34:06 +0200 Received: from intmx0001.internal.dom ([10.99.1.1]) by mx1010.internal.dom with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Sep 2008 13:34:06 +0200 Received: from mgate.official.tld ([a.b.c.d]) by intmx0002.official.tld with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2658.3) id RNJFHZP5; Fri, 12 Sep 2008 13:33:57 +0200 Return-Receipt-To: "external.sender" <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C914CB.71630080" Received: from vscan.official.tld (vscan.official.tld [a.b.c.e]) by mgate.official.tld (Postfix) with ESMTP id 2C45C238117 for <[EMAIL PROTECTED]>; Fri, 12 Sep 2008 13:33:57 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mgate.official.tld (Postfix) with ESMTP id 50DEC5A8058 for <[EMAIL PROTECTED]> Received: from brian.sender.dom (frnk-590ed5a3.pool.einsundeins.de [89.14.213.1]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1Ke6uK2kQw-0006GL; Fri, 12 Sep 2008 13:33:48 +0200 Received: from localhost (localhost [127.0.0.1]) by brian.sender.dom (Postfix) with ESMTP id 273E462C352 for <[EMAIL PROTECTED]> Received: from brian.sender.dom ([127.0.0.1]) by localhost (brian.sender.dom [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Ni8vRE-NtCt for <[EMAIL PROTECTED]> Received: from fetchmailusershome.no-ip.org (localhost [127.0.0.1]) by brian.sender.dom (Postfix) with ESMTP id 99C1862C0CD for <[EMAIL PROTECTED]> ; Fri, 12 Sep 2008 13:33:45 +0200 (CEST) Received: from a.b.c.g (proxying for unknown) (SquirrelMail authenticated user fetchmailuser) by fetchmailusershome.no-ip.org with HTTP; Fri, 12 Sep 2008 13:33:45 +0200 (CEST) x-spam-score: -1.366 x-provags-id: V01U2FsdGVkX1+EAxuf62McDjd3aXmdK4dKS0teIQdC3AK027l gdsLwUixulnxgEF6dhx0Rs+/fJIk1s58E/TkCKVIbja8Zti57J EekBJaqAhAvY+DmZBfheLVGX+UEO6GR x-virus-scanned: amavisd-new at sender.dom x-spam-level: x-spam-status: No, score=-1.366 tagged_above=-9999 required=5 tests=[AWL=-0.986, BAYES_00=-2.599, TVD_SPACE_RATIO=2.219] user-agent: SquirrelMail/1.4.9a x-spam-flag: NO Content-class: urn:content-classes:message Subject: dsn test Date: Fri, 12 Sep 2008 13:33:45 +0200 Message-ID: <[EMAIL PROTECTED]> X-MS-Has-Attach: X-MS-TNEF-Correlator: <[EMAIL PROTECTED]> Thread-Topic: dsn test Thread-Index: AckUy3GGuC7o9V0XQeql1y8GSb5kYw== From: "external.sender" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 12 Sep 2008 11:34:06.0902 (UTC) FILETIME=[7749ED60:01C914CB] ------_=_NextPart_001_01C914CB.71630080 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------_=_NextPart_001_01C914CB.71630080 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 ------_=_NextPart_001_01C914CB.71630080-- ########## And here the corresponding headers of the DSN ########## Return-Path: <> X-Original-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: from localhost (localhost [127.0.0.1]) by brian.sender.dom (Postfix) with ESMTP id 5D2B362C367 for ; Fri, 12 Sep 2008 13:35:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at sender.dom Received: from brian.sender.dom ([127.0.0.1]) by localhost (brian.sender.dom [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aypEQxHkOVAA for <[EMAIL PROTECTED]>; Fri, 12 Sep 2008 13:35:03 +0200 (CEST) Received: from brian.sender.dom (localhost [127.0.0.1]) by brian.sender.dom (Postfix) with ESMTP id 53BD462C365 for <[EMAIL PROTECTED]>; Fri, 12 Sep 2008 13:35:03 +0200 (CEST) Delivery-Date: Fri, 12 Sep 2008 13:34:39 +0200 Received: from pop.1und1.de [212.227.15.162] by brian.sender.dom with POP3 (fetchmail-6.3.6) for (single-drop); Fri, 12 Sep 2008 13:35:03 +0200 (CEST) Received: from mgate.official.tld (mgate.official.tld [a.b.c.f]) by mx.kundenserver.de (node=mxeu23) with ESMTP (Nemesis) id 0ML4cO-1Ke6v90SBo-0003Ti for <[EMAIL PROTECTED]>; Fri, 12 Sep 2008 13:34:39 +0200 Received: from localhost (mail1.official.tld [a.b.c.f]) by mail1.official.tld (Postfix) with ESMTP id 8841F5D1028E for <[EMAIL PROTECTED]>; Fri, 12 Sep 2008 13:34:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at official.tld Received: from intmx0003.internal.dom (intmx0003.internal.dom [10.16.1.5]) by mgate.official.tld (Postfix) with ESMTP id 3D1705B0003D for ; Fri, 12 Sep 2008 13:34:11 +0200 (CEST) Received: from MX0032.internal.dom ([192.168.8.115]) by intmx0003.internal.dom with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Sep 2008 13:34:11 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="----_=_NextPart_001_01C914CB.7922A500" X-DSNContext: 7ce717b1 - 1158 - 00000020 - 00000000 Content-class: urn:content-classes:dsn Subject: Delivery Status Notification (Success) Date: Fri, 12 Sep 2008 13:34:10 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Postmaster" To: "external.sender" <[EMAIL PROTECTED]> X-OriginalArrivalTime: 12 Sep 2008 11:34:11.0049 (UTC) FILETIME=[79C2B590:01C914CB] Envelope-To: [EMAIL PROTECTED] ############# We absolutely don't understand what happened here. We tried a direct telnet session to the mail gateway (Postfix) and received the following results, assuming we did everything the right way. ########### freddie [fetchmailuser] 13:16 ~ $ telnet mgate.official.tld 25 Trying a.b.c.d... Connected to mgate.official.tld. Escape character is '^]'. 220 mgate.official.tld ESMTP Welcome to the mail gateway. ehlo lala.de 250-mgate.official.tld 250-PIPELINING 250-SIZE 30720000 250-ETRN 250 8BITMIME mail from:<[EMAIL PROTECTED]> 250 Ok rcpt to:<[EMAIL PROTECTED]> NOTIFY=SUCCESS 555 Unsupported option: NOTIFY=SUCCESS data 554 Error: no valid recipients ######### This looks as expected. This command sequence works at least with MS Exchange server that supports DSN. Has anyone an explanation for this behavior? Because we are quite confused. :-( Best regards, Mit freundlichen Grüßen Marko