Thank you very much for your help...

On Sat, 18 Aug 2012 10:01:17 -0400 (EDT)
 Wietse Venema <wie...@porcupine.org> wrote:
Dear All,
I have configured Enkive Mail Archive Server and pointed Messages of my mail server to Enkive as follows.

smtp      inet  n       -       n       -       -      smtpd
         -o content_filter=filter:dummy

filter    unix  -       n       n       -       -      pipe
           flags=Rq user=nobody null_sender=
argv=$ENKIVE_SOCKET_FILTER_HOME/enkive-socket-filter localhost 2527 ${sender} ${recipient}

But this will not store mails in user mailboxes in my mail server.

What led you to configure it this way?

An archive server is not a filter! It stores mail.

Instead send COPIES of mail to the archive, using recipient_bcc_maps (or always_bcc).

/etc/postfix/main.cf:
   recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc
   transport_maps = hash:/etc/postfix/transport

/etc/postfix/recipient_bcc:
   /(.+)/  archive-$1...@archive.example.com

/etc/postfix/transport:
   archive.example.com: archive:

/etc/postfix/master.cf:
   archive unix  -       n       n       -       -      pipe
        flags=Rq user=nobody null_sender=
        argv=ENKIVE_SOCKET_FILTER_HOME/enkive-socket-filter

http://www.postfix.org/postconf.5.html#recipient_bcc_maps
http://www.postfix.org/transport.5.html
http://www.postfix.org/pcre_table.5.html
http://www.postfix.org/master.5.html
http://www.postfix.org/pipe.8.html

        Wietse

  • ... අයි. ඩී. චාමින්ද ඉන්ද්‍රජිත්
    • ... අයි. ඩී. චාමින්ද ඉන්ද්‍රජිත්
      • ... Stan Hoeppner
    • ... අයි. ඩී. චාමින්ද ඉන්ද්‍රජිත්
      • ... Stan Hoeppner

Reply via email to