New server

Discussion in 'General' started by ikrudolf, Oct 15, 2009.

  1. ikrudolf

    ikrudolf Member

    I'm setting up a main new server.
    Installed it with Falko's: The Perfect Server - Ubuntu 9.04 [ISPConfig 3]

    I created new mail accounts on the new server, the same account I have on the old server. I copied (from a backup) the /var/vmail from the old (still up) server to the new server. But when I login with one of these account on the new server I don't see any mail in the mailbox, how come?

    Rudolf.
     
  2. damir

    damir New Member

    Why not setup a new account and than fetch all mails from old server with fetchmail function?
     
  3. ikrudolf

    ikrudolf Member

    Because I have multiple accounts. And I want to know how to restore them by copying the files back (from a backup) like I did.
     
  4. damir

    damir New Member

    Maybe the permissions differ? Is this imap or pop3?
     
  5. Franz

    Franz Member

    I don't know anwser.. but interesing question.
     
  6. ikrudolf

    ikrudolf Member

    I use IMAP.
     
  7. damir

    damir New Member

    I have couple of ISPConfig servers, and i will try to move from one to another and to see if i can access mail on the new accounts.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    You can copy the accounts to a new server, just make sure that all files that you copied belong to the user vmail and the group vmail.
     
  9. ikrudolf

    ikrudolf Member

    Noob question: What is correct way to change this via command line?

    In the folder
    for example I have the next accounts:
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Everything in /var/vmail has to be owned by user and group vmail, so you can just run:

    chown -R vmail:vmail /var/vmail
     
  11. ikrudolf

    ikrudolf Member

    I copied all the mail from the backup to the /var/vmail folder on the new server. I chown the folder /var/vmail as vmail:vmail.

    I logged in under my own account rudolf.
    I do see a lot of mail in my mailbox but almost all (1794 mails) have

    [​IMG]

    What is the problem?
    Rudolf.
     
  12. ikrudolf

    ikrudolf Member

    Anybody any ideas?
     
  13. ikrudolf

    ikrudolf Member

    Till,
    Any idea what's going on here and/or how to solve it?

    Rudolf.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    No, never seen that. And you had the same pop3 and imape daemon on both servers?
     
  15. ikrudolf

    ikrudolf Member

    The new server is exact same as the "old" server.
    Also all accounts are the same.
     

Share This Page