The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail Queue Migration Issues

Discussion in 'E-mail Discussions' started by skwtayler, Mar 18, 2013.

  1. skwtayler

    skwtayler Registered

    Joined:
    Mar 18, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Guys,

    I'm sitting with a weird issue. I've just switched on to a cloud-based platform. I had multiple issues with my previous dedicated machine which resulted in the Data Center not allowing emails through.

    I've migrated all accounts but we have a strange situation where we have email sitting in the queue on the old server and we're not sure how to get this through to the new server...

    Does anyone know how we can get this successfully across to the new platform without any email loss?
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    rsync the contents of /var/spool/exim/ to the new server. it will work I believe!
     
  3. skwtayler

    skwtayler Registered

    Joined:
    Mar 18, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm not 100% how to do this. Would you be able to explain a little more?
    Is there any documentation I can check on this maybe?
     
  4. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    No documentation..exim stores the email in queue inside /var/spool/exim directory. you can rsync the contents of that diretcory to the newv server . It will be a worth to try it; it may work until there is some conflicts with the mail ID or something else. So, create the backup of that diretcory on new server before syncing it from old server to new.
     
  5. skwtayler

    skwtayler Registered

    Joined:
    Mar 18, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay giving this a shot now. Hopefully this will work.
     
  6. skwtayler

    skwtayler Registered

    Joined:
    Mar 18, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It worked great.
    But now a we have the following stuck in Mailscanner:
    Incoming Mail Queue (mail to be processed by MailScanner) 1480 messages
    Outgoing Mail Queue (mail to be processed by Exim for delivery) 10 messages

    If we disable Mailscanner they all disappear.

    Do you have any ideas?
     
Loading...

Share This Page