Re: Forwarding mail
Posted in 1997
>Quite simply, how to I ensure that mail sent to one user is forwarded >to one or more other users? Gee, since you posted this to the informix-list, I guess you want an Informix-based answer. Quite simply, it's not simple. How about: UPDATE mail_table SET mail = (SELECT mail FROM mail_table WHERE mail_user = "one_user") WHERE mail_user >= "other_users" ;) In unix, "man mail" and searching for "forward" yields a solution. Or you could just add multiple user names to the .forward file for "one user" in unix. Even dynamically, perhaps with sed. This would serve to provide an entire DBA team with mail sent to the informix user account, for example. One caveat: don't get in a situation where everyone thinks someone will do it, but nobody does it. ___________________________________________________________ Clem Akins (aka clem@informix.com) <- NEW ACCOUNT! Informix Software, Inc (Standard disclaimers apply) International Technical Support Last seen: Jammin' to the "Silicon Gulch Jazz Band", USA