On 2/16/2011 11:32 AM, Scott Fitzhugh wrote:
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.
What can I do to correct this?
[the convention on this list is to bottom-post]
You shouldn't use wildcard rewrites since they disable
recipient validation. No recipient validation will make your
server a backscatter source and get you blacklisted.
If your users are stored in a *SQL or LDAP table, construct a
query that returns the desired result when the input is a
valid user.
If you have or can obtain a list of valid users, use your
favorite scripting language to generate the required postfix
entries. Then automate the procedure so the tables are
updated automatically every so often.
-- Noel Jones