How to write my own plugin

2007-08-12 Thread Paul Lenz
Actually I write Perl programs since many years, but I am not so familiar with the object oriented programming and I can not discover the secrets of Spamassassin. Contretely: I was not able to access the body of a mail. I included Plugin\Test.pm into my configuration and gave it a score of 0.1.

How can I write my own plugins?

2007-08-12 Thread Paul Lenz
... I gave it up. Would please somebody give me a hint how to access the body of the mail? Thanks, Paul Lenz PS. Sorry for multiple postings, I only saved my message during editing, but it seems to be sent every time :(

How can I write my own plugin?

2007-08-12 Thread Paul Lenz
... I gave it up. Would please somebody give me a hint how to access the body of the mail? Thanks, Paul Lenz PS. Sorry for multiple postings, I only saved my message during editing, but it seems to be sent every time :(

SOLVED: How can I write my own plugins?

2007-08-12 Thread Paul Lenz
into /Plugins and this was created by root, so it simply did not work for SA when it received mail. It worked only on startup because I (as root) made the startup. After chmod 777 the logfile, it suddenly contains the email body as desired. Thankyou very much for this hint! Paul Lenz

Re: SOLVED: How can I write my own plugins?

2007-08-12 Thread Paul Lenz
John D. Hardin [EMAIL PROTECTED] wrote: After chmod 777 the logfile, Bad practice. I know. I did this only to make the logfile working for a short time. Since I know that my plugin works, I deleted the logfile. Paul Lenz

Can I examinate results?

2007-07-24 Thread Paul Lenz
have the same domain, if not -- give some spam points So - is this possible or would I have to write a plugin for this? Paul Lenz

Re: Can I examinate results?

2007-07-24 Thread Paul Lenz
of regular expressions as $1 and $2. Paul Lenz

Re: This image is turning frequent..

2006-10-23 Thread Paul Lenz
according to the detected offsets - stops working when the delay time of the current picture is much bigger than the previous delay times - saves the big PNM file This PNM file looks exactly like the animation after it has finished moving, and can be passed to GOCR with a good result. Paul Lenz

Re: This image is turning frequent..

2006-10-23 Thread Paul Lenz
the PNM file After that I got a PNM file which looks exactly like the GIF animation when it has finished to move. This PNM file can be passed to GOCR and converted into plain text with good results. Paul Lenz