On Mon, 31 Oct 2005, Alejandro Cabrera Obed wrote:
Dear people, I still have problems to read my spam folder as I told you past
days. I follwed your instructions (Ruud and Cerebus) but maybe you can help
me again. Sorry if I'm interruptying you.
Mail system: sendmail + uw-imap + clamav + spamassassin + spamass-milter +
procmail
My .procmailrc file is this:
SHELL=/bin/bash #bash is the shell used by root, is this OK ???
LOGFILE=$HOME/procmail.log
:0: # locking required !!!
*^Subject:.*\*\*SPAM\*\*
$HOME/spam
:0:
*^X-Spam-Flag:(.*\<)?Yes
$HOME/spam
/home/alejandro/spam is a file -rw------- equal to the others folder files,
and the file type of my spam file:
# file spam
spam: MBX mail folder
This is the content of procmail.log:
From clamav(_at_)graba(_dot_)gov(_dot_)ar Mon Oct 31 07:46:11 2005
Subject: Virus intercepted
Folder: /var/mail/alejandro
1240
From wkibr(_at_)mail(_dot_)com Mon Oct 31 08:45:00 2005
Subject: [**SPAM**] Colecciones Imperdibles.......
Folder: spam
5038
From brizuela(_at_)mixmail(_dot_)com Mon Oct 31 09:05:42 2005
Subject: [**SPAM**] Acabrera, Adelgace Naturalmente
Folder: spam
And this is the error:
SELECT failed: Unable to find CRLF at 4558 in 64 bytes, text: From
xcvevt(_at_)milic(_dot_)com(_dot_)ar Sun Oct 30 01:12:37 2005
Do I need any other option specified in .procmailrc (like LOCKFILE or
wahetever) ????
I had this problem when I didn't lock the folder. You have
got answers from our friends, now, how to fix the folder?
I used vi(1): Open the file with vi; do nothing but exit with
save (:w!). Vi will drop all the extra NULL characters and fix
the to-long-lines.
Bye,
Udi
Thanks a lot, regards !!!
Alejandro
----- Original Message -----
From: "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl>
To: "[procmail]" <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Friday, October 28, 2005 3:43 PM
Subject: Re: Error filtering spam with Procmail
Cerebus the Aardvark:
Ruud H.G. van Tol:
Alejandro Cabrera Obed:
:0
*^Subject:.*(***SPAM***)
$HOME/spam
This is unsafe. Make that:
:0: # locking required !!!
*^Subject:.*\*\*\*SPAM\*\*\*
$HOME/spam
Even better, make it:
:0:
*^X-Spam-Flag:(.*\<)?Yes
$HOME/spam
He is checking for both, so I assume he has mails with only the
Subject-tag and not the X-Spam-Flag header field.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.5/150 - Release Date: 27/10/2005
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail