Skip to main content

Exim queue folder symlink

Comments

8 comments

  • cPanelMichael
    Hello :) While I have seen servers where a symbolic link was created from /var/spool to another partition, it's better to simply ensure your /var partition has enough free space available. One option is to increase the size of the /var partition, however this often involves reinstalling your operating system. The other option is to investigate and see why your email queue is so large. You may want to review the messages in the queue to see why they are not delivering. Thank you.
    0
  • pachiko
    Hello, I dont want to reinstall my operating system, i want to move /var/spool to /home/var/spool where i have more space. Can i do that without reinstalling my operating system? Thank you.
    0
  • cPanelPeter cPanel Staff
    Hello, Yes this can be accomplished. It is strongly recommended that you get your system administrator to do this for you. cPanel/WHM can not support this for you as it is a system administration task. I can provide you with the basic steps, but please understand that Exim must be shutdown while you do this, and depending on how many messages there are, that can take quite some time. As cPanelMichael already stated, it would be better to determine why the queue is that large. Moving data to another partition is a bandaid fix and will not solve the real problem.
    0
  • pachiko
    Hello, No problem, can you tell me the steps to do that? Thank you
    0
  • cPanelMichael
    Have you checked to see why your mail queue is so large as of yet? You should do this before adding a symbolic link. Thank you.
    0
  • pachiko
    Hello, Yes, there is a client that send handred of mail every day, with others, the mail queue become so large, I cant prevent client from sending mails, so I have to find a solution for this issue. Another question, when all mails are delivred, the /var/spool/mqueue seize is big ( more than 200m with fiew mail in queue) is that normal? Waiting your help. Best regards
    0
  • cPanelMichael
    In addition to emails, the mail queue also includes certain logging details. Assuming you decided to create the symbolic link, the steps to take would be: service exim stop mv /var/spool /home/ ln -s /home/spool /var/spool service exim start
    However, keep in mind that this is not supported, and it's not something we recommend. Thank you.
    0
  • pachiko
    Thank you for assist, I will test this solution.
    0

Please sign in to leave a comment.