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.

Does anybody know how to backup exim mail queue?

Discussion in 'E-mail Discussions' started by cemlouis, Dec 29, 2005.

  1. cemlouis

    cemlouis Member

    Joined:
    Oct 27, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I want to backup exim email queue? How?

    Thanks,
    Cem
     
  2. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    if i'm not wrong, exim's queue is on /var/spool/exim
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You're not wrong ;) Of that, only /var/spool/exim/input is of particular importance. If you run MailScanner you would also need to secure /var/spool/exim_incoming/input too.
     
  4. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Exim will throw a tizzy fit if you try to restore the exim queue without the msglog directory, though.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Nope. Exim doesn't need the msglog at all (well, it might complain if the directory isn't there but it certainly does not need any of the files within it). I'd always recommend people to disable it as it only wastes space and affects exim performance:

    no_message_logs

    To quote the exim docs:
     
  6. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    I will have to try that. I do know that if you restore without msglog you get an error in exim_mainlog for every single message it sends as exim states it cannot find or delete (some phrase like that) the log file.
     
Loading...

Share This Page