perhaps I should ask this first... I noticed in exim4 that the aliases never make it to the transport_dbmail transport I set up as the local_delivery.
I added a router that looks up in the aliases file the email (which is also the username in my setup) and it now seems to work. If you look at: http://www.glug.us/dokuwiki/doku.php?id=howtos:debianmailserver You'll see the "transport_dbmail" and "dbmailalias" sections for exim4. Specifically the following is the part that made it work: condition = ${lookup mysql{SELECT alias_idnr FROM dbmail_aliases WHERE \ alias='${quote_mysql:[EMAIL PROTECTED]' OR \ alias='${quote_mysql:@$domain}'}{yes}{no}} Again, in my setup all users have an alias which points to their box... each user uses his or her email address to log in as the username. Example: Userid: [EMAIL PROTECTED] Alias: [EMAIL PROTECTED] So I got it working and I think my problem may have been I didn't have an alias router in exim as looking deeper intot he logs (actually starting exim4 in non-daemon logging mode) showed that the transport_dbmail wasn't getting fired. Also, when I turn trace_level=5 on where does it put the log? I looked in /var/log/syslog and /var/log/messages but they didn't seem to be elevated to the higher log level. Thanks, [EMAIL PROTECTED] On 8/22/05, Paul J Stevens <[EMAIL PROTECTED]> wrote: > > Could you please provide a trace_level=5 here. I'll look into it asap. > > > [EMAIL PROTECTED] wrote: > > I just installed dbmail2-mysql from the web site and I cannot get > > aliases to work. > > > > > > 2005-08-23 01:54:15 H=(p02m141.mxlogic.net) [66.179.26.141] > > F=<[EMAIL PROTECTED]> rejected RCPT <[EMAIL PROTECTED]>: > > Unrouteable address > > > > > > I'm using exim4 and here's my call to dbmail-smtp > > > > transport_dbmail: > > driver = pipe > > command = "/usr/sbin/dbmail-smtp -d [EMAIL PROTECTED]" > > return_fail_output > > user = dbmail > > > > Real users get transmitted correctly, just no aliases at all. > > _______________________________________________ > > Dbmail mailing list > > Dbmail@dbmail.org > > https://mailman.fastxs.nl/mailman/listinfo/dbmail > > > > > -- > ________________________________________________________________ > Paul Stevens mailto:[EMAIL PROTECTED] > NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED] > The Netherlands________________________________http://www.nfg.nl > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org > https://mailman.fastxs.nl/mailman/listinfo/dbmail >