From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 16:01:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38D95106566C for ; Fri, 24 Aug 2012 16:01:54 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id E5EB48FC15 for ; Fri, 24 Aug 2012 16:01:53 +0000 (UTC) Received: from smtp-auth2.bris.ac.uk ([137.222.10.94] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1T4wKC-0000kl-6b for freebsd-questions@freebsd.org; Fri, 24 Aug 2012 17:01:46 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T4wKB-0006mJ-W5 for freebsd-questions@freebsd.org; Fri, 24 Aug 2012 17:01:32 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q7OG1TWT004709 for ; Fri, 24 Aug 2012 17:01:30 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q7OG1S60004708 for freebsd-questions@freebsd.org; Fri, 24 Aug 2012 17:01:28 +0100 (BST) (envelope-from mexas) Date: Fri, 24 Aug 2012 17:01:28 +0100 (BST) From: Anton Shterenlikht Message-Id: <201208241601.q7OG1S60004708@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org X-Spam-Score: -1.3 X-Spam-Level: - Subject: mail, mpack and aliases X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 16:01:54 -0000 I'm trying to use converters/mpack to send attachments. It doesn't seem to know anything about mail(1) aliases. I tried to save mpack output to a file with -o option, and then read this file into a mail message, e.g. with ~r. However, this doesn't seem to work. The attachment is not recognised as such and is just displayed as part of the body text. I think it's because there's an empty line between the mail header and the mime header produced by mpack. So how can I use mpack and my mail aliases? Thanks Anton