On Wed, Jan 19, 2005, Ewald Geschwinde <[EMAIL PROTECTED]> said:

> On Tue, 18 Jan 2005 20:46:17 -0000, Aaron Stone
> <[EMAIL PROTECTED]> wrote:
>> On Tue, Jan 18, 2005, Ewald Geschwinde <[EMAIL PROTECTED]> said:
>> 
>> > I tested something with my dbmail.
>> >
>> > I have now deleted teh user [EMAIL PROTECTED]
>> > and only the aliases to
>> > [EMAIL PROTECTED] exists like that
>> >
>> >          17 | [EMAIL PROTECTED]    | [EMAIL PROTECTED]    |     0
>> >          20 | [EMAIL PROTECTED]    | 15               |     0
>> >
>> > when I'm sending now a mail to [EMAIL PROTECTED]
>> > he does not fin aliases
>> >
>> > Is it not true when theuser is not found then he checks the aliases
>> > table whether an alias for this user exists?
[snip]
> what do I have to do to get this working in 1.2.11?
> 
> the user ist [EMAIL PROTECTED] and the alias address is [EMAIL PROTECTED]
> 
> I only want that all Email to [EMAIL PROTECTED] is forwarded to [EMAIL 
> PROTECTED]

Oh, now I get it. Sorry I was being dense about your question. The answer
is that DBMail 1.x *does not check the users table at all* when looking
for 
delivery addresses.

dbmail_users:

   15    [EMAIL PROTECTED]

dbmail_aliases:

   ...   [EMAIL PROTECTED]     15
   ...   [EMAIL PROTECTED]   15

In DBMail 1.x, every address that you want to receive messages for must be
listed in dbmail_aliases. If the deliver-to field matches the useridnr of
a user, then the delivery will happen inside of DBMail. If the deliver-to
is not a useridnr, then DBMail will either forward to the address or will
pipe to the program (if it begins with ! or |).

Aaron

Reply via email to