On Mon, October 24, 2011 12:28 am, Noel Jones wrote:
> On 10/23/2011 10:06 PM, Chris Richards wrote:
>> My question is this: how do I setup to alias all of my users in domain A
>> so that they also appear in domain B, and do so WITHOUT turning my
>> server
>> into a backscatter source?
>
> virtual_alias_maps is the feature you need.  But *don't* use @domain
> wildcards, rather use 1-1 mapping for each user.
>
> us...@example.com us...@example.org
> us...@example.com us...@example.org
> userN...
>
> Use a script to generate the file.
>
> If you're using SQL maps, you can query for a user in one domain and
> return a result in another domain.  Examples have been posted here
> in the past.

Many thanks Noel.  Doing the 1-1 mapping was what I was thinking, since I
already have that functionality in place.  I just didn't want to have to
remap 1,096 users (although a properly constructed SQL query/insert should
do the trick).

In general I dislike 'magic' SQL queries (like querying for a user in one
domain and returning a result in another) because they hide too much of
what is going on with the server.  Too easy to get bitten by something
that's hidden in the bowels of the beast.

Thanks again.

Chris

Reply via email to