Hi again, I changed it back to -d, and after looking through logfile output I realized that I need to have an alias for "[EMAIL PROTECTED]" for it to deliver it at all.. that's why it wasn't delivering before. So it looks like my exim setup is okay.
(I had to read the source to figure out where it was logging, and how to increase log output... is there documentation on this somewhere?) But there is still a problem. The syslog says it is sending a bounce ("dbmail/smtp[8500]: bounce(): sending 'no such user' bounce for destination [EMAIL PROTECTED]"), but I'm not getting any bounces, even if I send from the local host. Everything looks fine in the logs. What is up? Log info below. Thanks, Michael -- snip -- Feb 10 16:33:31 xxx dbmail/smtp[8730]: auth_check_user(): user @xxx.net not in aliases table Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): domain [EMAIL PROTECTED] found total of [0] aliases Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): we need to deliver [0] messages to external addresses Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): allocating [524288] bytes of memory for readblock Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): sending bounces Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): searching value for config item [DBMAIL_FROM_ADDRESS] Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): found value [EMAIL PROTECTED] Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): searching value for config item [SENDMAIL] Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): found value [/usr/sbin/sendmail] Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): searching value for config item [POSTMASTER] Feb 10 16:33:31 xxx dbmail/smtp[8730]: GetConfigValue(): found value [EMAIL PROTECTED] Feb 10 16:33:31 xxx dbmail/smtp[8730]: bounce(): creating bounce message for bounce type [1] Feb 10 16:33:31 xxx dbmail/smtp[8730]: bounce(): sending 'no such user' bounce for destination [EMAIL PROTECTED] Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mimelist currently has [15] nodes Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mail address parser starting Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): total fields in header 15 Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): scanning for Return-Path Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): found 0 emailaddresses Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mail address parser finished Feb 10 16:33:31 xxx dbmail/smtp[8730]: bounce(): can't find Return-Path values, resorting to From values Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mimelist currently has [15] nodes Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mail address parser starting Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): total fields in header 15 Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): scanning for From Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): found [EMAIL PROTECTED], next in list is (null) Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): scanning for From Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): found 1 emailaddresses Feb 10 16:33:31 xxx dbmail/smtp[8730]: mail_adr_list(): mail address parser finished Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): Freeing memory blocks Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): header freed Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): uniqueid freed Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): strblock freed Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): insertquery freed Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): updatequery freed Feb 10 16:33:31 xxx dbmail/smtp[8730]: insert_messages(): End of function Feb 10 16:33:31 xxx dbmail/smtp[8730]: main(): freeing memory blocks Feb 10 16:33:31 xxx dbmail/smtp[8730]: main(): they're all free. we're done. On Mon, 9 Feb 2004, Roel Rozendaal - IC&S wrote: > 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 > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >