Paul,
After analyzing the tables, I went ahead and added foo bar.com
as an
alias to the 2 mailboxes I wanted delivery to and that
worked
perfectly. Your help is appreciated!
Jamie
On 9/5/05, Paul J Stevens <paul nfg.nl> wrote:
> 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 foo bar.com
>
> dbmail_users:
>
> userid | user_idnr
> -----------------------+-------------------------
> john | 3
> barbara | 4
>
> dbmail_aliases:
>
> alias | deliver_to
> -----------------------+-------------------------
> foo bar.com | 3
> foo bar.com | 4
>
>
> equivalent but convoluted:
>
> alias | deliver_to
> -----------------------+-------------------------
> john here.org | 3
> barbara here.org | 4
> foo bar.com | john here.org
> foo bar.com | barbara here.org
>
>
> 2) foo bar.com forwarded to two external addresses
>
> alias | deliver_to
> -----------------------+-------------------------
> foo bar.com | john there.org
> foo bar.com | barbara there.org
>
>
> 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 --
> 'someuser blah.com' *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 <jamiedoherty gmail.com> wrote:
> >
> >>I have pasted the session:
> >>
> >>[root machine ~]# 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
> >>[root machine ~]# 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:
> >>
> >>[root machine ~]#
> >>
> >>Everything looks just as if the user was just
created. What shoud it
> >>be displaying?
> >>
> >>Jamie
> >>
> >>On 8/25/05, Paul J Stevens <paul nfg.nl> 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
> >>>>htt
ps://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
> >>>htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> >>>
> >>
> > _______________________________________________
> > Dbmail mailing list
> > Dbmail dbmail.org
> > htt
ps://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
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
|