docs/README.postfix has it all:

3.      Using the Pipe interface (dbmail-deliver)

         in /etc/postfix/master.cf add:

         dbmail-deliver    unix  -       n       n       -       - 
  pipe
             flags=  user=<dbmailuser>:<dbmailgroup>
                 argv=/usr/local/sbin/dbmail-deliver -d ${recipient} -r 
${sender}

         where <dbmailuser> and <dbmailgroup> should be the user and 
group the
         dbmail-deliver program should run as. The ${recipient} and 
${sender}
         fields are filled in by Postfix.

         To send all email to DBMail, add this in /etc/postfix/main.cf

         mailbox_transport = dbmail-deliver:

         If you want to decide whether or not to send to DBMail per domain,
         add this in /etc/postfix/transport:

         <domain>        dbmail-deliver:

         See the section on running Postfix with LMTP if you don't 
understand
         the transport file.

         now run:
         # postmap /etc/postfix/transport
         # postfix reload

         And your mail will be delivered!



Jorge Bastos wrote:
> Howdy people,
> 
>  
> 
> Does anyone has a document on how put postfix delivering messages to 
> dbmail with dbmail-deliver instead of using LMTPD on both sides?
> 
> Thanks in advanced,
> 
>  
> 
> Jorge,
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


-- 
   ________________________________________________________________
   Paul Stevens                                      paul at nfg.nl
   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
   The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to