Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change SpamAssassin tmp directory

Discussion in 'E-mail Discussion' started by karljohnson, May 22, 2012.

  1. karljohnson

    karljohnson Registered

    Joined:
    May 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Is there any way to change the tmp directory of spamassassin on a cPanel server? There's a big flow of incoming emails on one of my cPanel servers so I want to set the tmp directory of spamassassin where it writes every ".spamassassin-rand-tmp" files in RAM instead of /tmp partition to reduce IO.

    Thanks.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. karljohnson

    karljohnson Registered

    Joined:
    May 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    DataCenter Provider
    I've changed the TMPDIR in SpamAssassin start-up script, temporary files are now written in RAM. Much better!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice