From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 14:35:37 2003 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 1CFF816A4BF for ; Wed, 24 Sep 2003 14:35:37 -0700 (PDT) Received: from arthur.silvertree.org (arthur.silvertree.org [64.139.44.194]) by mx1.FreeBSD.org (Postfix) with SMTP id 33A744400D for ; Wed, 24 Sep 2003 14:35:36 -0700 (PDT) (envelope-from archon@silvertree.org) Received: (qmail 40380 invoked from network); 24 Sep 2003 21:35:35 -0000 Received: from localhost.silvertree.org (HELO silvertree.org) (127.0.0.1) by localhost.silvertree.org with SMTP; 24 Sep 2003 21:35:35 -0000 Message-ID: <3F720DF4.9090903@silvertree.org> Date: Wed, 24 Sep 2003 14:34:44 -0700 From: Scott Schappell User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20030924135543.F16613@asu.edu> In-Reply-To: <20030924135543.F16613@asu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: advice re mail 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: Wed, 24 Sep 2003 21:35:37 -0000 David Bear wrote: >I need to write a program the grabs mail from a standard mail folder >and processes it. > >The trouble is I have no idea what mail file format FreeBSD uses by >default. I am using postfix, and currently postfix is my mta and mda. >I will be adding procmail as the mda. I'm guessing procmail writes >the same kind of file the postfix does... but here I'm showing my >ignorance. > >I will be using python as my language and there are modules for MH, >maildir, mbox, and mailbox... Anyone have any recommended reading for >me to better understand what I need to do? > > > More than likely it's mbox format. Since you're running postfix Maildir has to be enabled in the config file by the entry home_mailbox=Maildir/. If you don't have that configured, you're using mbox formatted mailboxes. HTH