how do i reroute a user email to another user?
wanting to disable the ex-employee from receiving / logging into the server and reroute their email elsewhere.
You could user the virtusertable to do this. Just enter a line similar to this:
user@old-address.com sameuser@new-address.com
If you do not have one already, it is a simple text file. However, you will need to build the database file that sendmail uses. To do this, just execute the following command:
I should also mention that if you nolonger want this user to be able to login to your system, you can change his shell to /sbin/nologin. This is the norm for mail only users who need no login to the system. You can also give these users /dev/null as their home directory so it doesn't take up space on your server.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.