Email account passwords for each domain on the server
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Email account passwords for each domain on the server
Hi Everyone,
I am currently in the process of migrating all our our clients domains from one fedora core server to a faster server.
I have a list of all the clients email accounts etc and i'm moving them over with their home directories, but just wanted to ask if anyone knows where the email passwords for each user are stored. I have most of them in a spreadsheet but unfortunately I think some of them may have been changed and I never updated the spreadsheet.
If anyone know's where the passowrds are stored, that would be great.
( I know theres probrably a high chance that the passwords are encrypted, but I just want to know where they are stored, just in case there not ).
Ps: I looked around etc/postfix and checked the mysql databases to see if there's anything there but cannot find anything.
When I go into the users/groups application, it only displays info per domain.
If they are standard unix style accounts (ie genuine accounts, not just virtual users for postfix) then it will depend on your authentication system. Assuming you don't use anything fancy, they are probably in /etc/shadow, and yes, they are encrypted. Can you copy shadow across and re-use it? I don't know, but you could try it.
Found out where the account passwords are stored for this system.
They're located in the following directory /etc/userdb/
They are encrypted, but i'm going to copy the folder over to the new server and see if this saves me having to enter the passwords in again for each email account once moved to the new server.
I'll keep you updated on how this goes, just incase this benefits other members of this forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.