From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 00:18:14 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 DC95216A4CE for ; Fri, 18 Jun 2004 00:18:14 +0000 (GMT) Received: from gremlin.internode.com.au (gremlin.internode.com.au [192.83.231.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A77F43D41 for ; Fri, 18 Jun 2004 00:18:14 +0000 (GMT) (envelope-from adam@internode.com.au) Received: from gremlin.internode.com.au (localhost [127.0.0.1]) i5I0Gpfv001389; Fri, 18 Jun 2004 09:47:11 +0930 (CST) (envelope-from adam@internode.com.au) Received: (from adam@localhost)i5I0FpIv001388; Fri, 18 Jun 2004 09:45:51 +0930 (CST) (envelope-from adam@internode.com.au) X-Authentication-Warning: gremlin.internode.com.au: adam set sender to adam@internode.com.au using -f Date: Fri, 18 Jun 2004 09:45:21 +0930 From: Adam Smith To: Lucas Holt Message-ID: <20040618001520.GE694@internode.com.au> References: <342EAC58-C0B8-11D8-AA13-000A95EFF4CA@foolishgames.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <342EAC58-C0B8-11D8-AA13-000A95EFF4CA@foolishgames.com> User-Agent: Mutt/1.4.2.1i X-Face: $vsV$1FNbZN\JVpjV#&+/!oVW`Kw$j?w_,te\SS}(tKD21c+l$t%\RCS(r$G; XXk]6,(!N:&(N3EV0bY`3):UrgG7'*qsj3l.75IaHV1<`i*{[L\:F*l6fH##C:-p2]xW/R-Z:!bo; 5g3GP-{I{}7O>tN}`Xm/=-:8NG?f-r'$Qc3y[aW-7'W_S<`KYU!_; `7K=kuC$-.7J2*kk=~`c@ADp+xhsv(!a@eW-R_5wtx+tC)(]%W+ cc: freebsd-questions@freebsd.org Subject: Re: Logging the message body from an MTA 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, 18 Jun 2004 00:18:15 -0000 On Thu, Jun 17, 2004 at 07:43:58PM -0400, Lucas Holt said: > Maybe you can use procmail. I had a procmail script that backed up > messages in another mbox file while you were testing new rules. You > could do something similar to backup all incoming messages and then > write a program that could read the file or use a pop3 interface to > read the messages and then store them in mysql or whatever. Changing the topic slightly, but why? Why not set up a new rule, and then bounce an existing message to yourself that will match the rule? That way it retains all the correct headers, and you don't have to sit and wait for one of those emails to arrive before testing. That's what I do. -- Adam Smith Internode : http://www.internode.on.net Phone : (08) 8228 2999 Dog for sale: Eats lots and is fond of children.