From: rsurfer on
i have a mail_hub and a local_hub defined in my mc, plus i explicitly
have my domains defined via LOCAL_DOMAIN(`domain-a.com'),
LOCAL_DOMAIN(`domain-b.com') . we take mail for domain-a.com, domain-
b.com, i want the mail going to domain-b.com to be relayed as
username(a)domain-b.com, i mapped this out in the virtursertable as
user1(a)domain-b.com user1(a)domain-b.com
my mailertable has
domain-b.com smtp:[10.10.10.1] **different than the mail_hub and
local_hub

when mail comes in for user1(a)domain-b.com it gets relayed via the
mail_hub or local_hub rather than what i have in my mailertable.
why? it seems like it's ignoring my mailertable.

the end result is i have users with the same name in each domain, i
want to send them to different locations while keeping the @domain-
X.com in the RCTP to address. Possible?

Thanks!
From: rsurfer on
On Jun 16, 1:15 pm, rsurfer <rsur...(a)gmail.com> wrote:
> i have a mail_hub and a local_hub defined in my mc, plus i explicitly
> have my domains defined via LOCAL_DOMAIN(`domain-a.com'),
> LOCAL_DOMAIN(`domain-b.com') . we take mail for domain-a.com, domain-
> b.com, i want the mail going to domain-b.com to be relayed as
> usern...(a)domain-b.com, i mapped this out in the virtursertable as
> us...(a)domain-b.com us...(a)domain-b.com
> my mailertable has
> domain-b.com smtp:[10.10.10.1] **different than the mail_hub and
> local_hub
>
> when mail comes in for us...(a)domain-b.com it gets relayed via the
> mail_hub or local_hub rather than what i have in my mailertable.
> why? it seems like it's ignoring my mailertable.
>
> the end result is i have users with the same name in each domain, i
> want to send them to different locations while keeping the @domain-
> X.com in the RCTP to address. Possible?
>
> Thanks!

is it possible the LOCAL_RELAY and MAIL_HUB are getting in front of my
mailertable db and thus being used instead?
From: Per Hedeland on
In article
<d87e64c6-0f5d-4d16-bcdd-394d13ba3d9b(a)g16g2000pri.googlegroups.com>
rsurfer <rsurfer(a)gmail.com> writes:
> i have a mail_hub and a local_hub defined in my mc, plus i explicitly
>have my domains defined via LOCAL_DOMAIN(`domain-a.com'),
>LOCAL_DOMAIN(`domain-b.com') . we take mail for domain-a.com, domain-
>b.com, i want the mail going to domain-b.com to be relayed as
>username(a)domain-b.com, i mapped this out in the virtursertable as
>user1(a)domain-b.com user1(a)domain-b.com

What's the purpose of that "mapping"? It doesn't change anything...

>my mailertable has
>domain-b.com smtp:[10.10.10.1] **different than the mail_hub and
>local_hub
>
>when mail comes in for user1(a)domain-b.com it gets relayed via the
>mail_hub or local_hub rather than what i have in my mailertable.
>why? it seems like it's ignoring my mailertable.

Local domains are never looked up in the mailertable - since they're
local...

>the end result is i have users with the same name in each domain, i
>want to send them to different locations while keeping the @domain-
>X.com in the RCTP to address. Possible?

Sounds like you should drop of all of the LOCAL_DOMAIN() and
virtusertable stuff, and just allow relaying to the domains in question
(e.g. via access db).

--Per Hedeland
per(a)hedeland.org