Below is my simple /etc/procmailrc file
#DROPPRIVS=yes
#Uncomment the following lines to allow for logging
LOGFILE=/var/log/procmail
VERBOSE=ON
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
 * < 256000
        | /usr/bin/spamassassin

:0:
* ^X-Spam-Status: Yes
spam

:0e
{
EXITCODE=$?
}



I have created a user and a mailbox for them in /var/spool/mail as spam
and set the proper permissions . But no matter what I do
I cant get a match to happen.

here is an extract from my /var/log/procmail log



procmail: Skipped "^M"
procmail: [14235] Mon Jul 21 10:23:23 2003
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Match on "< 256000 ^M"
procmail: Executing "/usr/bin/spamassassin,^M"
procmail: [14235] Mon Jul 21 10:23:26 2003
procmail: Skipped "^M"
procmail: No match on "^X-Spam-Status: Y^M"
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Skipped "^M"
procmail: Assigning
"PATH=/home/rcartier/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
procmail: Locking "/var/spool/mail/rcartier.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/rcartier"
procmail: Opening "/var/spool/mail/rcartier"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/rcartier.lock
procmail: Notified comsat: "[EMAIL PROTECTED]:/var/spool/mail/rcartier"
>From [EMAIL PROTECTED]  Mon Jul 21 10:23:23 2003
 Subject: [SPAM] Credit woes? That's where we come in...
  Folder:
/var/spool/mail/rcartier                                         7089
procmail: Skipped "^M"



spamassassin marked as spam and the header is X-Spam-Status: Y
but the rule has no match ;(

any ideas folks ??


Rob Cartier




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to