> 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
>
Thats strange I have this 2 entries in the aliases table:
dbmail=# select * from aliases where alias_idnr IN (22,20);
alias_idnr | alias | deliver_to | client_idnr
------------+-----------------+------------+-------------
22 | [EMAIL PROTECTED] | 15 | 0
20 | [EMAIL PROTECTED] | 15 | 0
(2 Zeilen)
and in the users table:
dbmail=# select * from users where user_idnr=15;
user_idnr | userid | passwd | client_idnr | maxmail_size |
encryption_type | last_login | curmail_size
-----------+---------------+----------+-------------+--------------+-----------------+---------------------+--------------
15 | [EMAIL PROTECTED] |******** | 1 | 0 |
| 2005-01-19 09:50:52 | 0
I hope I understood you right and this is exactly what I'm doing.
> 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
>
>
Regards
--
Ewald Geschwinde