From owner-freebsd-questions@FreeBSD.ORG Thu Jul 1 02:45:43 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 0A80616A4D0 for ; Thu, 1 Jul 2004 02:45:43 +0000 (GMT) Received: from mynah.mail.pas.earthlink.net (mynah.mail.pas.earthlink.net [207.217.120.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id F17A943D58 for ; Thu, 1 Jul 2004 02:45:42 +0000 (GMT) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74] helo=[192.168.63.10]) by mynah.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1BfrZl-00056j-HN for freebsd-questions@freebsd.org; Wed, 30 Jun 2004 19:45:25 -0700 From: "Andrew L. Gould" To: FreeBSD Questions Date: Wed, 30 Jun 2004 21:46:31 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406302146.31818.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4bd67e1c9f19dea8bd2d7307c406bfe300350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.204.20.74 Subject: [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: Thu, 01 Jul 2004 02:45:43 -0000 Background: When I travel, I use access a home server via ssh and deal with my email using console applications. I obtain my email from several sources using fetchmail. I have a .procmailrc file that properly puts the emails into specified mbox files -- so far so good. 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. If I let fetchmail put the emails into my system mbox and use formail to process the emails, copies of the emails get put into the correct mbox files and mutt will open the files; but I have to go back and manually delete the emails in my system mail box. How can I get both valid mbox files and without having to manually delete emails in my system folder? Here's the top of .procmailrc and the freebsd recipe: #################################### MAILDIR=/home/algould/pmail LOGFILE=$MAILDIR/procmail.log VERBOSE=1 DEFAULT=/home/algould/pmail/inbox :0 : * .*freebsd /home/algould/pmail/freebsd #################################### The other recipes differ only in criteria and mbox file name. Any help would be appreciated. Thanks, Andrew Gould