mickalo

Well-Known Member
Apr 16, 2002
782
5
318
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
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
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 ??
Did you copy .spamassassin directory in /var/spool/mqueue/ by accident/mistake? The .spamassassin directory is not used/needed in /var/spool/mqueue/
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Did you copy .spamassassin directory in /var/spool/mqueue/ by accident/mistake? The .spamassassin directory is not used/needed in /var/spool/mqueue/
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
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
if I delete the folder, then errors start showing up in the exim log files.
Check your conf file. There might be a reference to that directory. You should be using /root/.spamassassin/ instead.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
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/
 
Last edited: