Sorry, I'm forgetting to tell you that I create the folder "spam" with the
Squirrelmail create folder option.
And the error I get appears if a read the folder "spam" via Outlook Express
or Squirrelmail, and the complete error text is:
ERROR: Could not complete request.
Consulta: SELECT "spam"
Reason Given: 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
Thanks
----- Original Message -----
From: "Professional Software Engineering"
<PSE-L(_at_)mail(_dot_)professional(_dot_)org>
To: <procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Monday, October 31, 2005 1:35 PM
Subject: Re: Error filtering spam with Procmail
At 13:11 2005-10-31 -0300, 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
please state the VERSION of procmail.
My .procmailrc file is this:
SHELL=/bin/bash #bash is the shell used by root, is this OK ???
bash is a shell, it's just fine. On many systems sh is actually bash...
None of the things you're presently using in your .procmailrc use the
shell
anyway, so this setting isn't significant at this time.
LOGFILE=$HOME/procmail.log
What does the logfile say about your problem?
: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
Presuming there's no spam-flag, this was probably filtered properly.
From wkibr(_at_)mail(_dot_)com Mon Oct 31 08:45:00 2005
Subject: [**SPAM**] Colecciones Imperdibles.......
Folder: spam
Appears to have been filtered properly...
From brizuela(_at_)mixmail(_dot_)com Mon Oct 31 09:05:42 2005
Subject: [**SPAM**] Acabrera, Adelgace Naturalmente
Folder: spam
filtered properly.
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
This error is coming from where? "SELECT" isn't part of procmail - I even
grepped the source of 3.22 and it appears nowhere (other than within
comments, like "selectively"). This looks more like an error from your
mail reader - *OR* perhaps some other program, such as SA or ClamAV, which
might be complaining about a poorly formated source message.
As previously recommended by others, did you delete or move your prior
spam
mailbox? The one you'd been writing to without proper locking, and thus
which may have had file corruption.
Do I need any other option specified in .procmailrc (like LOCKFILE or
wahetever) ????
As written, your .procmailrc looks fine. Your mystery error message
appears to be from somewhere else.
[snip - prior prior message]
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer:
<http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the
list.
____________________________________________________________
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.6/151 - Release Date: 28/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