On Tue, 2002-07-16 at 14:40, Tony L. Svanstrom wrote: > On Tue, 16 Jul 2002 the voices made Kevin Gagel write: > > > MTA creates a temp file. I'm allowed to do anything with this file, so I launch > > spamc and send it to spamd via a pipe. Ie: spamc < tempfile. Here is where I > > have the problem. Is SA supposed to alter the temp file? or am I supposed to > > pipe the output to another file name and then replace the original before > > allowing my MTA to carry on? > > > > If I have to pipe it to another file and replace the original (as I suspect) > > then could I ask for the perl code to do so? > > Is there another way to make it work for me without piping? > > spamc < tempfile > tempfile
Which will result in an empty 'tempfile' being sent to spamc under most shells. You need to redirect the output to a different file and then move it back to tempfile after spamc completes. --[Lance] -- Lance A. Brown <[EMAIL PROTECTED]> LMIT ITSS Contract, Infrastructure Task ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk