Logging the message body from an MTA
Lucas Holt
luke at foolishgames.com
Thu Jun 17 16:44:56 PDT 2004
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.
On Jun 17, 2004, at 7:22 PM, Lonnie Santella wrote:
> I need to log the message body of incoming and outgoing messages on my
> FreeBSD 5.2.1 Release server. I'm running Exim right now, but I really
> don't have a preference of MTA. The main thing is I need to facilitate
> the logging of message bodies.
>
> I don't want to flood you with too many details, but we want to
> archive messages (including message body) to a MySQL database, so that
> we can quickly run queries and review messages from months/years ago -
> no matter who's mailbox it ended up in.
>
> To accomplish this, we need to <first> log the message body somehow...
> anyhow... then commit the logs to the MySQL database.
>
> I'd settle for learning how to do the first step. I've read through
> Exim docs and Sendmail docs, as well as various newsgroups - plenty of
> info on logging various data - but nothing on message bodies. I posted
> a message to the Exim news group - but no luck there.
>
> I'm not set on Exim - I just want to log message bodies. Any help or a
> push in the right direction would be GREATLY appreciated.
>
> Thanks,
>
> Lonnie
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>
Lucas Holt
Luke at FoolishGames.com
________________________________________________________
FoolishGames.com (Jewel Fan Site)
JustJournal.com (Free blogging)
More information about the freebsd-questions
mailing list