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.

Change SpamAssassin tmp directory

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

  1. karljohnson

    karljohnson Registered

    Joined:
    May 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  3. karljohnson

    karljohnson Registered

    Joined:
    May 22, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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