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.

Exim queue folder symlink

Discussion in 'E-mail Discussions' started by pachiko, Dec 11, 2013.

  1. pachiko

    pachiko Active Member

    Joined:
    Nov 11, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    The folder's /var/spool/exim/input seize increases , and saturates the root partition ( / ).

    can I create a symlink to this folder from another partition? is that affect Exim performance or it keep working?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,707
    Likes Received:
    658
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. pachiko

    pachiko Active Member

    Joined:
    Nov 11, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    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.
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
  5. pachiko

    pachiko Active Member

    Joined:
    Nov 11, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,
    No problem, can you tell me the steps to do that?

    Thank you
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,707
    Likes Received:
    658
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  7. pachiko

    pachiko Active Member

    Joined:
    Nov 11, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    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
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,707
    Likes Received:
    658
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    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.
     
  9. pachiko

    pachiko Active Member

    Joined:
    Nov 11, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thank you for assist, I will test this solution.
     
Loading...

Share This Page