LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-05-2005, 01:17 PM   #1
TRx
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: Disabled
Keeping user passwords in mail-server migration


Hello everybody,

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?

Thanks in advance.
 
Old 10-05-2005, 02:52 PM   #2
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
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.

Travis
 
Old 10-06-2005, 03:02 AM   #3
TRx
LQ Newbie
 
Registered: May 2005
Posts: 2

Original Poster
Rep: Reputation: Disabled
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?
 
Old 10-06-2005, 04:05 AM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
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.
 
Old 10-06-2005, 10:05 AM   #5
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Quote:
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.

Travis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server Migration dapeng4001 Linux - Software 1 11-30-2005 09:47 AM
Mail Server Migration dapeng4001 Linux - Networking 0 11-29-2005 08:40 AM
Mail Server for Home User b_marag Linux - Software 4 05-12-2005 05:33 PM
mail server migration syl20 Linux - Software 1 12-06-2004 11:06 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration