----- Original Message ----- From: "Doug Monroe" <[EMAIL PROTECTED]>
maybe I should clarify. The quarantine-attachements.txt file acts on headers, and can not be used to "scan" message body. QS is modular and it can pass the message to utilities like SpamAssassin which does content scanning for the purpose of identifying spam; also F-Prot/Kaspersky/ClamAV/etc and many other tools which do the same for identifying virii, etc...
You're free to make you own module to do what you want. This has been discussed on the list. Maybe the archives would help.
----- Original Message ----- From: "Nerijus Baliunas" <[EMAIL PROTECTED]>
Q-S 2 will probably do that. But it is possible to use clamav for thatnow, look inlist archives.
Thank you both for your answers. I did search the archives and cannot find how to make clam filter out certain words in the body of an email. I also searched the clam archives and didn't find anything either.
http://sourceforge.net/mailarchive/message.php?msg_id=5792940
Keep in mind the above is just an idea and will flag matches as virii and report same to sender (if you report to sender that is)
I don't mind writing a simple script in perl or maybe even a simple C app that filters an email looking for key words or phrases I'll have in a text file. I assume the script should then either return a 0 for OK or 1 for error.
How do I make qmail-scanner find my script and execute it etc.? Are there some simple steps to take or some documentation somewhere I can look over?
simple? I'd say no...
doable? yes...it requires that you understand perl, understand/implement ways to pass data from QS to your program, pass back results, etc., understand/implement failure mechanisms to prevent loosing mail, understanding and addressing the processing/memory overhead added by your add-on, etc...
my 2 cents
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general