Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
We're planning a mail server migration in the next days. We are moving our domain from Qmail to a Postfix+Sasl+POP3/IMAP setup. At the moment, i have the updated list of current mail users, but not their passwords, and i need them for an efficient transparent (for the user) migration.
Through qmailadmin console, I can create, delete and modify users, and reset their passwords, but i have no clue on how to fetch their cleartext passwords. I need to use that info in a getmail/fetchmail script to retrieve messages into the new server (before MX dns entry change, since we´re also changing MX location too).
Does anybody know how to accomplish this? How can i get those passwords in cleartext? Then, how should i create the fetchmail script?
I may be completely wrong, but couldn't you just copy over the /etc/shadow /etc/passwd and /etc/groups files to the new system? I'm taking a stab in the dark, so please don't take my word as gospel, but that's how I transfered users from one system to another.
Thanks for answering, but since the new authentication method will be SASL (sasldb), system users won't be mail users. I need the cleartext passwords in order to add them to the Cyrus SASL database.
Moreover, our current mail system, which is not managed by us, uses a similar setup (no system users) using qmail and qmail-pop3d.
I would expect that user passwords are stored only as an irreversible hash for security reasons, therefore it would not be possible to retrieve the clear text password.
Originally posted by TRx Thanks for answering, but since the new authentication method will be SASL (sasldb), system users won't be mail users. I need the cleartext passwords in order to add them to the Cyrus SASL database.
Moreover, our current mail system, which is not managed by us, uses a similar setup (no system users) using qmail and qmail-pop3d.
Any other ideas?
Ahh I see. I'm clueless then. I'll search around and see if I can find an answer for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.