Hi,

The -u option for dbmail-smtp expects a (dbmail-)username; this is no part of the message headers/data so exim will not know the right usernames. The option to use is indeed -d ${address} so if you're experiencing problems with it, send some logfile output and detailed data about the message being send to which users and their entries in the aliases table and we'll fix your dbmail setup :-)

regards roel

Op 9-feb-04 om 15:22 heeft Michael Saji het volgende geschreven:

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
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_________________________
R.A. Rozendaal
IC&S
T: +31 30 63 55 736
F: +31 30 63 55 731
www.ic-s.nl

Reply via email to