Re: SpamAssassin Integration

2010-06-18 Thread Gnanam
Martin Gregorie-2 wrote: > > How are you assembling the message? About the best you can do is to grab > it as a text string when the message is ready to be sent to the mail > server. At thius point it should contain the headers your program has > added and the assembled MIME format body, The str

Re: SpamAssassin Integration

2010-06-17 Thread Jari Fredriksson
On 17.6.2010 9:19, Gnanam wrote: > > > BTW, what does PGP mean that I found from your signature? http://en.wikipedia.org/wiki/Pretty_Good_Privacy -- http://www.iki.fi/jarif/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. O, it is excellent To hav

Re: SpamAssassin Integration

2010-06-17 Thread SM
At 05:18 17-06-10, Matt Kettler wrote: The best docs would be the RFC standards: RFC 2822 "Internet Message Format" RFC 822 (obsoleted by above, but sometimes useful for understanding the history of the format, making intent clearer.) RFC 2822 obsoleted by RFC 5322. Regards, -sm

Re: SpamAssassin Integration

2010-06-17 Thread Martin Gregorie
On Thu, 2010-06-17 at 05:02 -0700, Gnanam wrote: > > Frank Heydlauf-2 wrote: > > > > that will not give you the output you'd expect. > > Just create a complete mail with header and mime-encoded multipart etc > > and feed this into SA. > > > > How do I create a complete mail with header, etc.?

Re: SpamAssassin Integration

2010-06-17 Thread Matt Kettler
On 6/17/2010 8:02 AM, Gnanam wrote: > > Frank Heydlauf-2 wrote: > >> that will not give you the output you'd expect. >> Just create a complete mail with header and mime-encoded multipart etc >> and feed this into SA. >> >> > How do I create a complete mail with header, etc.? Is there any >

Re: SpamAssassin Integration

2010-06-17 Thread Matus UHLAR - fantomas
> Frank Heydlauf-2 wrote: > > > > that will not give you the output you'd expect. > > Just create a complete mail with header and mime-encoded multipart etc > > and feed this into SA. On 17.06.10 05:02, Gnanam wrote: > How do I create a complete mail with header, etc.? Is there any > standard/ru

Re: SpamAssassin Integration

2010-06-17 Thread Gnanam
Frank Heydlauf-2 wrote: > > that will not give you the output you'd expect. > Just create a complete mail with header and mime-encoded multipart etc > and feed this into SA. > How do I create a complete mail with header, etc.? Is there any standard/rule for creating a complete email message t

Re: SpamAssassin Integration

2010-06-17 Thread Frank Heydlauf
On Thu, Jun 17, 2010 at 12:17:10AM -0700, Gnanam wrote: > Can SpamAssassin be used to test spam score of .html, .txt file extension > types, that is "email body/content" part of the email message? that will not give you the output you'd expect. Just create a complete mail with header and mime-enc

Re: SpamAssassin Integration

2010-06-17 Thread Gnanam
Frank Heydlauf-2 wrote: > > Would this really help? > Could you tell us a bit more about your problem itself? > > The reason I ask is: the mailbody is a very small part of what is > commonly used for antispam measures. Header is added afterwards, > IP is not yet known, HELO is not known, no re

Re: SpamAssassin Integration

2010-06-16 Thread Gnanam
Jari Fredriksson wrote: > > > You need to prepare a valid looking email message from the text the web > app produces. It needs all the required headers before the actual body > of text to work. You may need to study SMTP RFC's to get it right, the > simple looking headers like Date: and Receive

Re: SpamAssassin Integration

2010-06-16 Thread Gnanam
If this is your own custom web software, then it is as simple as adding a > call to spamassassin (or spamc) in the same area of the script that > validates things like the format of e-mail addresses. I want to do spam score test for only the email content part of the email message. In that ca

Re: SpamAssassin Integration

2010-06-16 Thread Frank Heydlauf
Hi, On Wed, Jun 16, 2010 at 07:18:57AM -0700, Gnanam wrote: > > I want to integrate SpamAssassin in my web-based application to test spam > score of the "email content" that our application User's wish to send in > mail composing page itself - even before sending. When I say mail composing > pag

Re: SpamAssassin Integration

2010-06-16 Thread Charles Gregory
On Wed, 16 Jun 2010, Gnanam wrote: I want to integrate SpamAssassin in my web-based application to test spam score of the "email content"... If this is your own custom web software, then it is as simple as adding a call to spamassassin (or spamc) in the same area of the script that validates

Re: SpamAssassin Integration

2010-06-16 Thread Jari Fredriksson
On 16.6.2010 17:18, Gnanam wrote: > > Hi, > > I want to integrate SpamAssassin in my web-based application to test spam > score of the "email content" that our application User's wish to send in > mail composing page itself - even before sending. When I say mail composing > page here, it is not