Tony,
I'm using DMail to launch the spamc, the dmail config line is:
message_process /usr/bin/spamc < $FILE > $FILE
It does not work, DMail only passes the value of $FILE for the output, not the
input. It passes the word "$FILE" to spamc so spamc sees /usr/bin/spamc < $FILE
> tempfilename

I guess what I need is a perl script to take the value of $FILE and add a unique
identifier to it then pass the value and unique one to spamc as you suggested.

"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
> 
>         /Tony
> --
> # Per scientiam ad libertatem! // Through knowledge towards freedom! #
> # Genom kunskap mot frihet! =*= (c) 1999-2002 [EMAIL PROTECTED] =*= #
> 
>     perl -e'print$_{$_} for sort%_=`lynx -source svanstrom.com/t`'
> 
> -------------------------------------------------------
> 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

-- 
========================
Kevin W. Gagel
Network Administrator
College of New Caledonia
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(250)562-2131 loc. 448
========================

--------------------------------
The College of New Caledonia    
Visit us at http://www.cnc.bc.ca
--------------------------------


-------------------------------------------------------
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

Reply via email to