Re: Postfix and archiving

From: mouss (no email)
Date: Fri Jun 01 2007 - 03:29:57 EDT

  • Next message: Juraj Sakala: "Re: Postfix and archiving"

    Ritesh Nadhani wrote:
    > Hi
    >
    > 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?
    >

    - use recipient_bcc_maps to copy mail to $.example
    (search the archives for how to "save" the recipient using pcre. the
    idea is someting like "/(.)@domain\.example$/
    $1 at dbmail dot domain dot example" ),
    - then use a dbmail transport to deliver mail for the
    dbmail.domain.example to dbmail.
    - configure dbmail to listen on another port so that you can still use
    your other pop/imap server.


  • Next message: Juraj Sakala: "Re: Postfix and archiving"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD