When a person is fired, another person usually takes over their responsibilities (and needs their recent incoming emails). When this happens, I need to forward all of a user's mbx-formatted INBOX email messages to another existing user.
Is there a Linux command line function to get each message to the "new"?
System: Red Hat Linux RHEL v4
Mailserver: Sendmail
I have tried:
cat /home/<fired user>/INBOX | formail -s sendmail <new-user>@company.com
with no luck. I show this as an example of what I hope to get.
Thanks!
Start Free Trial