On Sat, Jan 10, 2004 at 11:11:07PM +0100, [EMAIL PROTECTED] wrote:
> Hi all,  
> 
> Did anybody manage to get dbmail + exim up and running.  
> It would be great if anybody could paste the necessary configuration 
> into this mailing list.  
> I found one configuration for exim.  
> local_delivery: 
> >   driver = pipe 
> >   command = "/usr/local/sbin/dbmail-smtp -d [EMAIL PROTECTED]" 
> >   return_fail_output 
> >   user = mail 
>  
> but the thing is that only the root mails are been delivered.  
> and if I like to send a message to user john, I need to create the unix 
> account first,  
> then exim works without error but still no mail in the mysql database.  

here's a simple exim+dbmail configuration.  you need to create a domain
list that matches domains that dbmail is responsible for.  no need for
local users.

xn
--- Begin Message ---
On Mon, Jul 28, 2003 at 05:36:34PM +0300, ODHIAMBO Washington wrote:
> With the dbmail sparse documentation, it looks like it might not be too
> difficult to set it up as the LDA for Exim, but I am wondering is anyone
> has attempted it.

I'm using dbmail as the MDA for Exim.  The simplest way is to setup a
pipe transport that delivers all messages to dbmail and a router that accepts
mail to dbmail's domains.

dbmail_router:
  driver = accept
  retry_use_local_part
  domains = +dbmail_domains
  transport = dbmail_transport
  no_more

dbmail_transport:
  driver = pipe
  command = /usr/sbin/dbmail-smtp -d $pipe_addresses
  delivery_date_add
  envelope_to_add
  user = dbmail
  group = dbmail
  return_output
  return_path_add

xn

--- End Message ---

Reply via email to