Hi,

I'm trying to get exim to work with dbmail (using imp as the front end
and postgresql as the db), but I'm having some problems.

At first, I was using "dbmail-smtp -d ${pipe_addresses}", and this
delivered mail for some users but not for others. Then I switched it to
"dbmail-smtp -u $local_part", which delivers to all users .. but doesn't
bounce wrong users, and doesn't deliver to aliases either. What's going
on?

I'm using the Debian dbmail-pgsql package, v. 1.2.1-2.

Here's my exim4 config:

** /etc/exim4/conf.d/router/250_exim4-config_dbmail

dbmail_router:
  driver = accept
  retry_use_local_part
  domains = foobar.net
  transport = dbmail_transport

** /etc/exim4/conf.d/transport/30_exim4-config_dbmail_pipe

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


Any help would be appreciated.

thanks,
Michael

Reply via email to