usermin eamil login

Hi guys

Please have a look at the thread I have listed here as well

http://www.virtualmin.com/node/18982

One of the servers I look after has a root user (yes I know I should not use root but I inherited it and it provides some useful benefits) and yesterday I went to log in to virtualmin but I selected my shortcut to usermin by accident and logged in to usermin with the username root and the root password. To my surprise I was given the email account of the first user on the server which happens to be an account I use anyway and has the same password. I have made this mistake on occasions before and I would get a screen telling that the root user could not login to eamil and I had to change to a different user. But since the latest update what I described above is happening.

This brings me to another point that I have been thinking about for a while. If the root user receives mail which they do form many sauces (eg rkhunter cron) the only way to look at this mail is through Webmin> Servers> Read User Mail> root. Wouldn’t it be useful to have a drop down panel on the systems page like Status and Quotas called system eamil with all system email boxes on it.

Thanks for taking the time to read this

AllanIT

Status: 
Closed (fixed)

Comments

Well, I'll leave the login issues for Jamie to comment on.

As far as root goes -- my suggestion there would be to setup an alias, so that root emails go to a regular user, rather than being delivered to the root account.

Then, you'd never need to login as root in order to check email.

To do that, you can go into Webmin -> Servers -> Postfix -> Mail Aliases, and setup root email to go to one of your users.

Sounds like the root user's usermin account has been configured to login as a different IMAP user.

Does the file /root/.usermin/mailbox/inbox.imap exist, and if so what does it contain?

If it contains some other user's login, you should just delete that file..

Hi Jamie

Yes the file /root/.usermin/mailbox/inbox.imap exist

it contained

pass=root_password user=the_name_of_my_other_account mailbox=

I deleted the file and once again the root user cannot log in to usermin.

Thanks for your help Allan

Thanks also to Eric I now have all mail for the root going to another account.

Super, I'm glad that's working for you!

Feel free to let us know if you have any other questions.

Automatically closed -- issue fixed for 2 weeks with no activity.