Jamie,

Forget about dbmail-users. Look at the tables directly. dbmail-users
won't show *everything*. In fact it doesn't show forwards at all (in 2.0).


if you want to have multiple users receive the same address:

1) two local dbmail users receive [EMAIL PROTECTED]

dbmail_users:

userid                 | user_idnr
-----------------------+-------------------------
john                   | 3
barbara                | 4

dbmail_aliases:

alias                  | deliver_to
-----------------------+-------------------------
[EMAIL PROTECTED]            | 3
[EMAIL PROTECTED]            | 4


equivalent but convoluted:

alias                  | deliver_to
-----------------------+-------------------------
[EMAIL PROTECTED]          | 3
[EMAIL PROTECTED]       | 4
[EMAIL PROTECTED]            | [EMAIL PROTECTED]
[EMAIL PROTECTED]            | [EMAIL PROTECTED]


2) [EMAIL PROTECTED] forwarded to two external addresses

alias                  | deliver_to
-----------------------+-------------------------
[EMAIL PROTECTED]            | [EMAIL PROTECTED]
[EMAIL PROTECTED]            | [EMAIL PROTECTED]


Lookups are fully recursive, so anything in the deliver_to field is
looked up in dbmail_users.user_idnr, and if that doesn't yield a valid
result, it is matched against dbmail_aliases.alias. If that matches the
whole cycle is restarted with the result.

And this goes on and on, until either a user_idnr is found (local
delivery), or a address is found which doesn't belong to a local user
(external forward), or until the maximum recursion level is reached (error).

capice?

Now what is *your* setup? I'm guessing you're confused because you're
using addresses as userids. (which makes sense, in a way...).

And pulleez, be done with the at dot com trip'n. Some clarity will help;
'someuser at blah dot com' is *not* a valid userid --
'[EMAIL PROTECTED]' *is*. Feel free to anonymize, but leave the syntax
intact.


Jamie Doherty wrote:
> What should dbmail-users -l xxxx at xxxxx dot comm be displaying if I
> correctly setup mail forwarding using the -t switch?
> 
> Jamie
> 
> On 8/25/05, Jamie Doherty <[EMAIL PROTECTED]> wrote:
> 
>>I have pasted the session:
>>
>>[EMAIL PROTECTED] ~]# dbmail-users -c xxxxx at xxxxx -t yyyyy at yyyyy
>>Opening connection to database...
>>Opening connection to authentication...
>>Ok. Connected
>>Performing changes for user [xxxxx at xxxxx]...
>>Done
>>[EMAIL PROTECTED] ~]# dbmail-users -l xxxxx at xxxxx
>>Opening connection to database...
>>Opening connection to authentication...
>>Ok. Connected
>>Info for user [xxxxx at xxxxx]
>>User ID         : 11
>>Username        : xxxxx at xxxxx
>>Client ID       : 0
>>Max. mailboxsize: 0.00 MB
>>Quotum used     : 0.06 MB (inf%)
>>
>>Aliases:
>>
>>[EMAIL PROTECTED] ~]#
>>
>>Everything looks just as if the user was just created.  What shoud it
>>be displaying?
>>
>>Jamie
>>
>>On 8/25/05, Paul J Stevens <[EMAIL PROTECTED]> wrote:
>>
>>>If you're trying to add a forward for 'user at domain dot com' what does
>>>the output of dbmail-users -l 'user at domain dot com' have to say?
>>>
>>>Jamie Doherty wrote:
>>>
>>>>I am trying to forward emails to multiple mailboxes using the command:
>>>>
>>>>dbmail-users -c user at domain dot com -t 2nd at domain dot com.
>>>>
>>>>Nothing is happening, I don't see any new entries in the alias table
>>>>and emails are being delivered.  I am running dbmail 2.0.4 and using
>>>>qmail to deliver to dbmail (is that my problem?)
>>>>
>>>>Jamie
>>>>_______________________________________________
>>>>Dbmail mailing list
>>>>Dbmail@dbmail.org
>>>>https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>>
>>>
>>>--
>>> ________________________________________________________________
>>> Paul Stevens                                      paul at nfg.nl
>>> NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
>>> The Netherlands________________________________http://www.nfg.nl
>>>_______________________________________________
>>>Dbmail mailing list
>>>Dbmail@dbmail.org
>>>https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>
>>
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to