Jim Rice: > Is there any way to configure bounce to compose the response message > in clear text (message/rfc822)?
I can assure you that Postfix does not send .eml attachments. That's a Microsoft thing. In a Postfix bounce message, the undelivered message is returned as message/rfc822. Proof is below the signature. I replaced the domain name, ip address, and username info but left the message structure intact. I suspect that you are viewing Postfix bounces that have been munged by some peoprietary mail system. Wietse Date: Tue, 8 Jan 2019 20:13:47 +0000 (UTC) From: MAILER-DAEMON@ip-ipaddr.ec2.internal (Mail Delivery System) Subject: Undelivered Mail Returned to Sender To: owner-postfix-us...@postfix.org Auto-Submitted: auto-replied MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="50F3E210E0.1546978427/some-server" Message-ID: <20190108201347.3966820F72@some-server> Status: O This is a MIME-encapsulated message. --50F3E210E0.1546978427/some-server Content-Description: Notification Content-Type: text/plain; charset=us-ascii This is the mail system at host some-server. 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 <some-user@some-domain>: delivery temporarily suspended: connect to www.some-domain[ipaddr]:25: Connection timed out --50F3E210E0.1546978427/some-server Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; some-server X-Postfix-Queue-ID: 50F3E210E0 X-Postfix-Sender: rfc822; owner-postfix-us...@postfix.org Arrival-Date: Sun, 30 Sep 2018 19:08:23 +0000 (UTC) Final-Recipient: rfc822; some-user@some-domain Original-Recipient: rfc822;postfix-users-outgoing Action: failed Status: 4.4.1 Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to www.some-domain[ipaddr]:25: Connection timed out --50F3E210E0.1546978427/some-server Content-Description: Undelivered Message Content-Type: message/rfc822 Return-Path: <owner-postfix-us...@postfix.org> Received: from english-breakfast.cloud9.net (english-breakfast.cloud9.net [168.100.1.7]) by some-server (Postfix) with ESMTPS id 50F3E210E0 for <some-user@some-domain>; Sun, 30 Sep 2018 19:08:23 +0000 (UTC) Received: by english-breakfast.cloud9.net (Postfix) id BD2CD333251; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) Delivered-To: postfix-users-outgo...@cloud9.net Received: from localhost (localhost [127.0.0.1]) by english-breakfast.cloud9.net (Postfix) with ESMTP id BAB94333250 for <postfix-users-outgo...@cloud9.net>; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at cloud9.net Received: from english-breakfast.cloud9.net ([127.0.0.1]) by localhost (english-breakfast.cloud9.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h0IFeV-Y9R0Z for <postfix-users-outgo...@cloud9.net>; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) Received: by english-breakfast.cloud9.net (Postfix, from userid 54) id 9B613333253; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) Delivered-To: postfix-us...@cloud9.net Received: from localhost (localhost [127.0.0.1]) by english-breakfast.cloud9.net (Postfix) with ESMTP id 815E6333250 for <postfix-us...@cloud9.net>; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) X-Virus-Scanned: amavisd-new at cloud9.net Received: from english-breakfast.cloud9.net ([127.0.0.1]) by localhost (english-breakfast.cloud9.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58aBvaCxATHY for <postfix-us...@cloud9.net>; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by english-breakfast.cloud9.net (Postfix) with ESMTPS id 6030B333248 for <postfix-users@postfix.org>; Sun, 30 Sep 2018 15:06:52 -0400 (EDT) Received: from [192.168.1.161] (unknown [192.168.1.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by straasha.imrryr.org (Postfix) with ESMTPSA id 4373730BD37 for <postfix-users@postfix.org>; Sun, 30 Sep 2018 15:06:51 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: set-permissions fails: how to fix and/or manual set correct permissions? From: Viktor Dukhovni <postfix-us...@dukhovni.org> In-Reply-To: <ae922990-6e79-2254-3c4e-363504f8b...@ja.nl.eu.org> Date: Sun, 30 Sep 2018 15:06:50 -0400 Content-Transfer-Encoding: 7bit Reply-To: Postfix users <postfix-users@postfix.org> Message-Id: <b700bb75-49d2-427b-87cc-458812626...@dukhovni.org> References: <42nw2d73gwzj...@spike.porcupine.org> <e5688e0c-a430-fb5e-4b85-6cdcb82c3...@ja.nl.eu.org> <88c68dbb-8e13-4313-a238-c088a4492...@dukhovni.org> <ae922990-6e79-2254-3c4e-363504f8b...@ja.nl.eu.org> To: Postfix users <postfix-users@postfix.org> X-Mailer: Apple Mail (2.3445.100.39) Sender: owner-postfix-us...@postfix.org Precedence: bulk List-Id: Postfix users <postfix-users@postfix.org> List-Post: <mailto:postfix-users@postfix.org> List-Help: <http://www.postfix.org/lists.html> List-Unsubscribe: <mailto:majord...@postfix.org> List-Subscribe: <mailto:majord...@postfix.org> > On Sep 30, 2018, at 2:51 PM, Max Mustermann <t...@ja.nl.eu.org> wrote: > > Usually it's a mistake to test if the user is root. > POSIX does not even require a root user. This is not a productive discussion... The Postfix deployment scripts reasonably expect to be able to chown files to "root", or check whether they belong to "root". That is they expect a reasonably standard Unix system. No further comment. -- Viktor. --50F3E210E0.1546978427/some-server--