Convert mail-only account to ssh account?

I need to transition a user from having a mailbox-only to an account with shell access (to implement SpamAssassin). What’s the most sensible route? I’m thinking:

  1. Download all mail (from IMAP folders)
  2. Delete the mailbox
  3. Create a new user and re-create the same named mailbox
  4. Restore (some of the) previously downloaded mail

Any pitfalls?

I think you have it pretty well covered; the way you describe is the way I would go about it. :wink: