I'm currently using dbmail-smtp to deliver messages directly to a
specified mailbox using dbmail-smtp -m MAILBOX -u USERNAME.  This
bypasses DBMail's alias lookups.  Here's what it used to do:

main(): using SPECIAL_DELIVERY to usernames
dbmysql.c,db_query: executing query [SELECT user_idnr FROM users WHERE 
userid='USERNAME']
insert_messages(): added user [USERNAME] id [15] to delivery list
insert_messages(): alias deliver_to is [15]
misc.c,create_unique_id: created: d17f8f3488fea9f4c832fa2393756465
dbmysql.c,db_query: executing query [SELECT mailbox_idnr FROM mailboxes WHERE 
LOWER(name) = LOWER('MAILBOX') AND owner_idnr='15']

and then, inserts the message.

With 2.1, the behavior of dbmail-smtp has changed.  It now looks up the
username in the aliases table and looks for domain aliases.  Using the -d
option seems to do exactly the same thing.  How can I get the old behavior?

Thanks,
xn

Reply via email to