From: Gerard Seibert (no email)
Date: Fri Jun 01 2007 - 06:22:26 EDT
On Thursday May 31, 2007 at 10:38:51 (PM) Evan Platt wrote:
> >We have a postfix server running without any problem. Now for an
> >internal application we need to store (backup) all the incoming and
> >outgoing mails to a MySQL database.
> >
> >A similar solution is given at
> >http://www.dbmail.org/dokuwiki/doku.php?id=archiving-howto but this
> >only works if all the mails are stored in the MySQL database.
> >
> >What I want is that all the emails are stored in normal mailboxes but
> >after storing them, postfix calls one of our application with the
> >actual email that we can parse and insert it to the database.
> >
> >Thus what we basically want is that after sending/receiving mail
> >Postfix calls another process with the email passed as parameter that
> >we can use for further purposes.
> >
> >Any pointers on the same would be appreciated?
>
> Couldn't you use a procmail recipe, or am I missing something?
Procmail is a resource hound, not to mention it has a nasty rule 'fall
through' habit. I would recommend staying as far away from that beast as
possible.
-- Gerard
|
|
|