Tux

...making Linux just a little more fun!

Talkback:105/youngman.html

[ In reference to "Fine-tuning SpamAssassin" in LG#105 ]

Neil Youngman [ny at youngman.org.uk]


Mon, 28 Jan 2008 09:36:21 +0000

I'm not sure there's a question in there?

Also I'm not familiar with the Perl interface for SpamAssassin. I'm forwarding this to The Answer Gang to see if any of them can offer you a more useful response.

Neil Youngman

On Monday 28 January 2008 07:43, you wrote:

> Hi,
>
> In my project I am going to send newsletters to our clients. Here I need to
> validate my newsletter(content). Also I need to show the content's Spam
> score. I need to check the spam score for only body content not header. I
> have tried with Mail-Spamassassin-3.2.4, the SA is written in Perl API. The
> SA will check the both header and body content like ,
>
> .ie n .IP "$score = $status\fR\->\fIget_head_only_points()" 4
> .el .IP "$score = \f(CW$status\fR\->\fIget_head_only_points()\fR" 4
> .IX Item "$score = $status->get_head_only_points()"
> Return the message's score as computed for auto\-learning, ignoring
> all rules except for header-based ones.
> .ie n .IP "$score = $status\fR\->\fIget_learned_points()" 4
> .el .IP "$score = \f(CW$status\fR\->\fIget_learned_points()\fR" 4
> .IX Item "$score = $status->get_learned_points()"
> Return the message's score as computed for auto\-learning, ignoring
> all rules except for learning-based ones.
> .ie n .IP "$score = $status\fR\->\fIget_body_only_points()" 4
> .el .IP "$score = \f(CW$status\fR\->\fIget_body_only_points()\fR" 4
> .IX Item "$score = $status->get_body_only_points()"*
> *
>
> I've been your topic "Fine-tuning SpamAssassin" in
> http://linuxgazette.net/authors/youngman.html


Top    Back


Neil Youngman [ny at youngman.org.uk]


Mon, 28 Jan 2008 21:15:43 +0000

On Monday 28 January 2008 09:44, Sg wrote:

> thanks for your response. Any other interface used for my problem? have
> been your discussion in <http://linuxgazette.net/authors/youngman.html l.
> In this discussion, u have explained the various scoring methods for SA. We
> are waiting for your response.

As SpamAssassin is written in Perl it probably makes sense to do whatever you're doing in Perl.

What is it you want to know?

Do you want a critique of your Perl? As I've said, I'm not familiar with the Perl Interface.

Have you tested the Perl? Does it work? If not are you asking for help debugging it?

In short, I'm still not sure what the question is? Please read the following links, rewrite your question and send it to tag@lists.linuxgazette.net

http://linuxgazette.net/faq/ask-the-gang.html http://www.catb.org/~esr/faqs/smart-questions.html

Neil Youngman


Top    Back