OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Postfix and archiving

From: Wietse Venema (wietseporcupine.org)
Date: Fri Jun 01 2007 - 05:49:17 CDT


> >> >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.

~user/.forward:
  username, "|/command/of/database"

See "man 8 local" section "SYSTEM-WIDE AND USER-LEVEL ALIASING".

        Wietse