You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by testsubbitesdsffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff <su...@gmail.com> on 2010/02/26 09:45:29 UTC

Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

Hi

Is there any Plugin to parse the  “quoted email text” part in a  mail
(replied mail part) .

I read the document that  you are   performing some test cases against the
mail to identify  a message is Spam or not.

I have noticed Parse “quoted email text” is one test case in your test case
list, but  I am not able to find the corresponding plugin to do this stuff.

Please help me to solve the issue

Thanks in advance

Subbi

Re: Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

Posted by Charles Gregory <cg...@hwcn.org>.
On Fri, 26 Feb 2010, LuKreme wrote:
> On 26-Feb-10 11:31, Karsten Bräckelmann wrote:
>>  Uhm, what's with your "real name"? (Rewritten in RE style.) How do you
>>  pronounce *82* f's in a row?
> "Fffffffffffffffffffffffffffffffffffffff" for 8.2 seconds.

That's ten "f"s a second? Wow. Fast little F'er..... ;)

- C

Re: Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

Posted by LuKreme <kr...@kreme.com>.
On 26-Feb-10 11:31, Karsten Bräckelmann wrote:
> Uhm, what's with your "real name"? (Rewritten in RE style.) How do you
> pronounce *82* f's in a row?

"Fffffffffffffffffffffffffffffffffffffff" for 8.2 seconds.

-- 
Do not meddle in the affairs of wizards for they are subtle and
	quick to anger.

Re: Is there any Plugin to parse the “quotedemail text” part in a mail (replied mail part)

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
Do keep list posts on-list.  Reply to the list, not me personally.

On Wed, 2010-03-03 at 13:14 +0530, subbi.reddy3@gmail.com wrote:
> If we give a reply to the mail,  the  replied mail contains the
> original message and replied message as we already know.
> 
> Here I want to retrieve only original message. 

Well, what for?

Is this even a SA question? If so, please do explain what you really
want to do, and what you want to solve by this. No, "retrieve original
message" is not sufficient.


> I can easily identify the replied part  for Gmail since they appends
> the “<” character prefix to each line for a replied mail.
> 
> but each mail client is having their own pattern to distinguish the
> replied part. 
> 
> 
> So please help me to get the regular-expression(s) required to parse
> the replied part of a mail for different mail clients.

[ Bad HTML formatted foll-quote under -- snipped. ]

-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: Is there any Plugin to parse the “quotedemail text” part in a mail (replied mail part)

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Fri, 2010-02-26 at 14:15 +0530, testsubbitesdsf{82} wrote:
> Hi 

Uhm, what's with your "real name"? (Rewritten in RE style.) How do you
pronounce *82* f's in a row?

> Is there any Plugin to parse the  “quoted email text” part in a  mail
> (replied mail part) .
> 
> I read the document that you are   performing some test cases against
> the mail to identify  a message is Spam or not.
> 
> I have noticed Parse “quoted email text” is one test case in your test
> case list, but  I am not able to find the corresponding plugin to do
> this stuff.

There are a few specific rules around that general topic, but there's no
dedicated plugin for this.

> Please help me to solve the issue 

Which issue? Maybe it would be easier and more productive, if you start
by describing your actual issue and what you want to solve.


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}