----- Original Message ----- From: "Doug Monroe" <[EMAIL PROTECTED]>
> 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 I didn't mean to over simplify the task but what I meant by some simple steps is at least some sort of guide line or starting point. Even though I don't play with reg expressions very much I'm actually pretty decent / good with perl and shouldn't have to much problems with writing a script to filter out some key words or phrases. The part I need help with is how to make qmail-scanner aware of my new script, how qmail-scanner will send data to my script, and what sort of error codes and information qmail-scanner expects back from me? We do have a development mail server which is where I do all my testing and development. Only once it's been thoroughly tested will we even think of implementing on our production email servers. Thanks again Malcolm ------------------------------------------------------- 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