On 2/16/2011 12:46 PM, Wietse Venema wrote:
Scott Fitzhugh:
Thanks a lot Noel - I seem to be on the right track with this, but am
having a problem.

I have set up my system as you described, but with one change.  I set
up the virtual_alias file with the line: "@pisd.edu
@oldpisd.edu,@newpisd.edu" rather than every email address - I have a
dynamic userlist of over 6000 users!

When I send an email to a "@pisd.edu" address, it changes the
@oldpisd.edu address correctly, but the @newpisd.edu address is missing
the username.  For example, if a mail is sent to b...@pisd.edu, one email
is generated&  sent to b...@oldpisd.edu, but the 2nd email is generated
to go to "@newpisd.edu" (no username), which then bounces because no
such user exists.

This is not documented well. You can do @domain1->@domain2
but not @domain1->@domain2, @domain3.

In reality, you should not use @domain wild-cards and just write
a script to create those 6000 table entries for the old domain.
Let the computer do the work for you, it already has the data.

        Wietse
Scott,

Are you fully table-driven? How about some SQL magic to build the aliasing value dynamically, instead of a flat file?

-Daniel

Reply via email to