Originally posted by: SystemAdmin
I've used two solutions to this in the past and both use modifcations to the sendmail.cf file. First you can setup a redirect of email for these users to a local user, second you can setup the mail for these users to go to a new mailer type and send them to a file /dev/null, also you can setup procmail for the users and have procmail forward the mail to their mail server accounts.
I am leary to post the solution I used then because I haven't tested it since AIX 4.2 in 1998.
sendmail rewrite rules are a bit confusing, but are also very powerful. First you have to know what you want to do with the mail and do you want to do it to all mail for the user.
You might also look at procmail (I think it is open source) which can do some sorting of mail and resend.