Hi:
I - My Environment:
Linux Server - Fedora Core 2 Apache - 2.0.50 Sendmail - 8.12.11 MailScanner - 4.31.6-1 SpamAssassin - 2.63
II - My /etc/procmailrc:
DROPPRIVS=yes
#Uncomment the following lines to allow for logging
LOGFILE=/var/log/procmail
VERBOSE=ON
:0fw
* < 256000
| spamc :0e
{
EXITCODE=$?
} :0:
* ^X-Spam-Flag: YES
/var/spool/mail/lixoNote: All flagged Spam emails are written to this /var/spool/mail/lixo folder.
III - My /etc/mail/spamassassin/local.cf:
# SpamAssassin config file for version 2.5x # generated by http://www.yrex.com/spam/spamconfig.php (version 1.01) # How many hits before a message is considered spam. required_hits 6.0 # Whether to change the subject of suspected spam rewrite_subject 0 # Text to prepend to subject if rewrite_subject is used subject_tag *****SPAM***** # Encapsulate spam in an attachment report_safe 1 # Use terse version of the spam report use_terse_report 0 # Enable the Bayes system use_bayes 1 # Enable Bayes auto-learning auto_learn 0 # Enable or disable network checks skip_rbl_checks 1 use_razor2 1 use_dcc 1 use_pyzor 1 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. ok_languages all # Mail using locales used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales all
IV - My Problem
I had all this stuff working without any problem. Until Yesterday. So, whenever SpamAssassin flagged one email as Spam, it just wrote it to a folder called "/var/spool/mail/lixo", as you can see configured above at "procmailrc file", and put there all that pontuation / rules, etc
All of a sudden, it stopped doing so, that is:
a) SpamAssassin, although it seems it keeps on scanning emails, it stopped writing them to "/var/spool/mail/lixo" directory.
b) In the other hand we realized that SpamAssassin started, at the same time, to write them to a directory called "spam", at a path "/var/spool/MailScanner/quarantine/2004/0823/spam". And it writes them there with no pontuation / rules , etc.
c) The third remark is that we also realized that SpamAssassin stopped writing Spam emails to the "/var/spool/mail/lixo" and instead writes them to "/var/spool/MailScanner/quarantine/2004/0823/spam", but only when we start MailScanner.
V - My Questions:
1) Why did SpamAssassin, which was working fine, all of a sudden, start writing to "/var/spool/MailScanner/quarantine/2004/0823/spam" instead of to "/var/spool/mail/lixo" ?
2) Why does MailScanner affect it and how to solve this, that is, how to have SpamAssassin and Mailscanner as well, working normally together again?
I thank a lot to anyone who could help us with this.
Mario./
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.742 / Virus Database: 495 - Release Date: 19/8/2004
