| [reply] [d/l] |
Hi,
Thanks for your reply. I have installed the SA-3.2.4 and found the PerMsgStatus module also. I do not know, how to optimizing the perl modules. Here I need to call only the object-get_body_only_points(). Please help me.
Thanks
Geetha
| [reply] |
Did you read the documentation for this module? The synopsis has a comprehensive example.
my $spamtest = Mail::SpamAssassin->new();
my $mail = $spamtest->parse($message);
my $status = $spamtest->check($mail);
my $score = $status->get_body_only_points();
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [d/l] |
| [reply] |
Hopefully, most people are using the bayes system in the spamassassin these days (or just gmail); so, hopefully your "newsletter" gets filtered properly anyway.
UPDATE: I'm sad that I used the word twice like that. I'm also sad that the state of email today means that a high percentage of legitimate mail is blocked in the effort to block spam. However, I do find it rather unlikely that a legitimate mailing would need to spend so much time tweaking the scores. If it does, then the spamassassin isn't doing the job it promised — so perhaps it is doint it's job.
| [reply] |
| [reply] |