You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by "Diffenderfer, Randy" <ra...@hp.com> on 2010/10/01 01:58:10 UTC

Using Mail::SpamAssassin as a parsing factory

I'm looking to use SA as a distillation engine, allowing me to pick out "stuff" such as URIs.  Are there examples of this use anywhere?

rnd


Re: Using Mail::SpamAssassin as a parsing factory

Posted by Steve Freegard <st...@fsl.com>.
Hi Randy,

On 01/10/10 00:58, Diffenderfer, Randy wrote:
> I’m looking to use SA as a distillation engine, allowing me to pick out
> “stuff” such as URIs. Are there examples of this use anywhere?
> rnd

I wrote a proof-of-concept milter using SpamAssassin to strip out the 
URIs from the message for me.

See http://www.fsl.com/support/milter-uri.pl for an example of how I did it.

Kind regards,
Steve.

Re: Using Mail::SpamAssassin as a parsing factory

Posted by Benny Pedersen <me...@junc.org>.
On fre 01 okt 2010 01:58:10 CEST, "Diffenderfer, Randy" wrote

> I'm looking to use SA as a distillation engine, allowing me to pick  
> out "stuff" such as URIs.  Are there examples of this use anywhere?

spamassassin 2>&1 -D -t msg | grep domain | less

press s for save :-)

one could make a custom pluging that saves all uri into a dbi  
database, but i am not so much into perl right now to make it

-- 
xpoint