Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Migrate users to a single webmail script?

Discussion in 'E-mail Discussion' started by HostIt, Jun 23, 2004.

  1. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    168
    I've just started writing a shell script to migrate all users to Squirrelmail (The other two have to go and I don't want to leave people high and dry without their Neomail and Horde specific email).

    Before I go much further, does anybody already have a script along those lines, or any hints/advice? I've got to the point of concatenating 'sent-mail*' (Horde + Neomail sent mail files) into the SquirrelMail format 'INBOX.Sent', as well as removing the first 11 lines from each sent-mail* file (the 'DO NOT REMOVE' lines), but that's about all so far...
     
    #1 HostIt, Jun 23, 2004
    Last edited: Jun 23, 2004
  2. mr.wonderful

    mr.wonderful BANNED

    Joined:
    Feb 1, 2004
    Messages:
    345
    Likes Received:
    0
    Trophy Points:
    166
    Mirgate users? :confused: What for, if you dont want Horde or Neomail turn them off. Squirrelmail will take over. You dont need to write a thing.
     
  3. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    168
    As per my post above, doing just that will lose my clients the contents of their sent mail folders etc

    Horde archives old sent mail in 'sent-mail-jan-2004' for example
    Neomail stores all sent mail in 'sent-mail'
    SM stores sent mail in 'INBOX.Sent'

    Likewise, Neomail has 'neomail-trash' where SquirrelMail has INBOX.Trash'
     
    #3 HostIt, Jun 23, 2004
    Last edited: Jun 23, 2004
  4. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    168
    I do realise that users *could* access these files via SquirrelMail, but most users will not know how (Folders/Subscribe), causing support tickets etc, and it would just be far cleaner to bring the files together.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice