Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 09:45:21 +0930
From:      Adam Smith <adam@internode.com.au>
To:        Lucas Holt <luke@foolishgames.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Logging the message body from an MTA
Message-ID:  <20040618001520.GE694@internode.com.au>
In-Reply-To: <342EAC58-C0B8-11D8-AA13-000A95EFF4CA@foolishgames.com>
References:  <BAY15-F27mGPZ8MYenl000d6a04@hotmail.com> <342EAC58-C0B8-11D8-AA13-000A95EFF4CA@foolishgames.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040618001520.GE694>