I currently have a mail server with ~4500 users, using Vircom Vopmail. I'm trying to implement spamassassin on it, since it has been so helpful on my personal server. However I'm running into a problem with getting spamassassin to run correctly.
I have followed the directions at http://www.openhandhome.com/howtosa.html to get it working on win32. I can scan in any file, and it works beautifully. My problem is this. The Vircom mail server lets you alter the message before it gets put into the incoming spool. I get a filename that each message will be, then I can alter it, save it back, and then it gets delivered to local accounts. I am having troubles coming up with a command to get this to work. I was trying to get either a batch file, or a simple custom app to do something like this psuedo logic: Spamassassin < file_from_vopmail > file_to_disk Delete file_from_vopmail Move file_to_disk file_from_vopmail However since batch scripts will send the execute to the next item, even if the first isn't finished, it tries to delete the file before spamassassin has ran, and just doesn't work. I tried doing a "start /wait spamassassin...." but it just hangs, never completing. A quick VB program did the same type thing. Anyone know how to get this to work, or know an easier way? I found that spamassasin can't write to the file it's reading from for obvious reasons, but if someone knows a good way to do it, I'm all for that. I can do batch scripts, programs, whatever, I just have to be able to pass it the filename of the incoming message to be scanned. I'm just wondering if anyone has done something similar, surely I can't be the first. -- Matt Andreko ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk