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.

Spamassassin Files ?

Discussion in 'General Discussion' started by mickalo, Dec 20, 2006.

  1. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Hello,

    noticed these files earlier today while doing some other checking and never noticed them before, which I assume are associated with Spamassassin in some way:
    Code:
    FOLDER: /var/spool/mqueue/.spamassassin
    
    -rw-------  1 mailnull mailnull 5238784 Dec 20 21:40 auto-whitelist
    -rw-------  1 mailnull mailnull   83160 Dec 20 21:40 bayes_journal
    -rw-------  1 mailnull mailnull 1339392 Dec 20 21:38 bayes_seen
    -rw-------  1 mailnull mailnull 5431296 Dec 20 21:38 bayes_toks
    
    how are these used w/spamassassin and are they needed ??

    TIA,
    Mickalo
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Did you copy .spamassassin directory in /var/spool/mqueue/ by accident/mistake? The .spamassassin directory is not used/needed in /var/spool/mqueue/
     
  3. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    no never copied any files in this location. I just noticed the other day these files. I did delete them, but they come right back.
    while monitoring the exim log files, when spam is detected/flagged, then it writes to this folder, updating the files, for some reason .... not sure why.

    if I delete the folder, then errors start showing up in the exim log files.

    Mickalo
     
  4. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Check your conf file. There might be a reference to that directory. You should be using /root/.spamassassin/ instead.
     
  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
    Erm, no - that's bogus information.

    Those files are used by MailScanner as the central bayesian database. They're there because /var/spool/mqueue/ is the login path for the mailnull account.

    Don't delete them, they're meant to be there.
     
  6. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    I don't use MailScanner ... so not sure why they would there ??

    Mickalo
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then it's SA's server-wide bayesian database for whichever SA implementation you're using. The path is usually set in a cf file in /etc/mail/spamassassin/
     
    #7 chirpy, Dec 23, 2006
    Last edited: Dec 23, 2006
  8. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Ok, got it.

    thx's
    Mickalo
     
  9. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    This is what I was referring to in response #4, two days ago.
     
Loading...

Share This Page