Posted 15.06.2006 | Updated 15.06.2006 | Contributed by Andy Mallett
One of the things about using IMAP is that you can't get root's emails remotely.
Any other user is fine, but to read any secret messages for root, you've gotta log into the system and crank up the mail prog from there.
One way around this is to redirect any email destined for root to another user on the system.
That way you can grab them remotely via IMAP.
vi /etc/aliases
Look for the line: # root: me@my.domain
|
|
This line needs to be unhashed and then an appropriate email address substituted in its place. Make sure there are no spaces at the beginning of the line.
Thus..
root: andym@goth.it.net
..will redirect all mail to andym instead. Save and exit. Finally run the command..
newaliases
..to update the aliases database. This may take a few minutes to complete.
All mail for root is now permanently forwarded.
|
|