From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 23:14:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233316A4CE for ; Fri, 2 Jul 2004 23:14:16 +0000 (GMT) Received: from outfbmx002.isp.belgacom.be (outfbmx002.isp.belgacom.be [195.238.3.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A29A43D45 for ; Fri, 2 Jul 2004 23:14:15 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx022.isp.belgacom.be (outmx022.isp.belgacom.be [195.238.2.203]) (8.12.11/8.12.11/Skynet-OUT-FALLBACK-2.22) with ESMTP id i618H0hl009145 for ; Thu, 1 Jul 2004 10:17:00 +0200 (envelope-from ) Received: from outmx022.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i618GaEj013904 for ; Thu, 1 Jul 2004 10:16:37 +0200 (envelope-from ) Received: from lori.mine.nu (41-143.244.81.adsl.skynet.be [81.244.143.41]) with ESMTP id i618GWdJ013875; Thu, 1 Jul 2004 10:16:32 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 05B417A7; Thu, 1 Jul 2004 09:48:17 +0200 (CEST) Date: Thu, 1 Jul 2004 09:48:16 +0200 From: Geert Hendrickx To: "Andrew L. Gould" Message-ID: <20040701074816.GA97086@lori.mine.nu> References: <200406302146.31818.algould@datawok.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406302146.31818.algould@datawok.com> User-Agent: Mutt/1.4.2i X-GPG-Key: http://www.win.ua.ac.be/~s005085/gnupgkey.txt X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en cc: FreeBSD Questions Subject: Re: [OT] fetchmail, procmail and mutt (oh my!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 23:14:16 -0000 > Problem: > If I put 'mda /usr/local/bin/procmail' in the .fetchmailrc lines, > procmail puts the emails in the correct mbox files; but mutt complains > that the files are not valid email files and refuses to read them. Make it 'mda "/usr/local/bin/procmail -d %T"' and it'll work fine. Without the -d paramater, procmail just appends the mail to your mbox, without inserting a From-line ontop. If your mail goes from fetchmail via sendmail to procmail, then sendmail will take care of the From-line. If your mail goes from fetchmail to procmail directly (as you instructed with the mda command), procmail must do it. It's told to do so with -d %T. GH