procmail
[Top] [All Lists]

Re: Error filtering spam with Procmail

2005-11-01 06:57:39
----- Original Message ----- 
From: "Udi Mottelo" <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>
To: "Alejandro Cabrera Obed" <sisdis(_at_)tournet(_dot_)com(_dot_)ar>
Cc: "Procmail Lista" <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>; "Ruud 
H.G. van Tol"
<rvtol(_at_)isolution(_dot_)nl>
Sent: Tuesday, November 01, 2005 5:26 AM
Subject: Re: Error filtering spam with Procmail


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


Hi Udi and people,

I don't understand what file I have to open and save with  vi..... maybe
.procmailrc or what ???

And other question: I use Sendmail and I nedd to know how can I know the
type of the folder (maildir o mbox).

By the other hand, I follow the recipe from one fellow, I delete the spam
folder, wait spams come to me, but the procmail didn't create the spam
folder.

Thanks , I'll be waitinf for your response to edit with vi.

Alejandro


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>