Subject: Integrating Spam Assassin into Pine 4.56

From: [email-masked]
Date: Sat, 31 May 2003 11:32:58 -0400 (EDT)

Howdy,

Does anyone happen to know if pine provides facilities to invoke
external programs on a message? I would like to be able to hit
a pre-defined keystroke when I get spam, and run
spamassassin --add-addr-to-blacklist=addr on the message. Anyone
by any chance done this? If not, does anyone have any info on
how I could call an external program on a message?

Thanks,
- Ryan
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Lord Kimberley <[email-masked]>
Date: Sat, 31 May 2003 16:48:01 +0100 (GMT Daylight Time)

Hmm, I would suggest a better mehtod is using SpamAssassin with procmail to
do the filtering before you get the messages and then using the baynean part
sa-learn on any spam not correctly tagged. Blacklists can be a waste of
time, if you never get another message from the blacklisted address.

I must say the messages collect interesting headers ...

-- 
Yours John.

---

From: Karl Kingston <[email-masked]>
Date: Sat, 31 May 2003 14:54:53 -0400 (EDT)

OR he can use "IMAPAssassin" if his ISP is using the IMAP protocol.  I use 
it here and it works OK.  Just that you have to call it before calling 
Pine.  Once you call up pine, you'll find the messages have already been 
deleted (but not expunged).

On Sat, 31 May 2003, Lord Kimberley wrote:

> X-Uwash-Spam: Gauge=XXXII, Probability=32%,
>      Report="MANY_USER_AGENTS, NO_REAL_NAME, SPAM_PHRASE_01_02,
>     __MANY_USER_AGENTS, __USER_AGENT_PINE"
> X-Listprocessor-Version: 8.1 -- ListProcessor(tm) by CREN
> X-Spam-Status: No, hits=-3.4 required=5.0
>         tests=BAYES_01,MSG_ID_ADDED_BY_MTA_3,NO_REAL_NAME,USER_AGENT_PINE
>         version=2.55
> X-Spam-Level:
> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
> 
> 
>

---

From: [email-masked]
Date: Sat, 31 May 2003 15:04:58 -0400 (EDT)

I did some furhter digging, and would like to be able to invoke a
command from within pine. I found pipes, but that requires me to
type teh command each time I want to send a message to the blacklist
or sa-learn script. Is there a way to map a control sequence to
the execution of a script? If I get a spam in my inbox, I would
like to hit cntrl+blah and have the message sent to sa-learn.
Has anyone accomplished this before?

Thanks,
- Ryan

> > X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

Ryan Matteson - UNIX Administrator | GPG ID: 92D5DFFF
Public Key: http://www.daemons.net/~matty/public_key.txt
Fingerprint = 4BEC 6145 30A6 BCE6 5602 FF11 4954 165D 92D5 DFFF