procmail
[Top] [All Lists]

Re: pipes in procmailrc

2005-01-05 09:05:44
Vincent Blondel wrote:

<> I would like to know if it is possible to use some pipes (see example
<> below) in the LOGFILE variable in the procmailrc configuration file.
<> 
<> example : LOGFILE "|executable_file param1 param2"

Well ... you could try it and see ...

  % cat foo.rc
  LOGFILE="|cat - >> /tmp/pipelog"

  LOG="Fooooo!
  "

  :0
  /dev/null

  % procmail -m foo.rc < /tmp/msg
  procmail: Error while writing to "|cat - >> /tmp/pipelog"
  Fooooo!

Guess not.  You could run something as a daemon and open a file as a
named pipe and then write to it, though.

R
-- 
R A Lichtensteiger              rali(_at_)tifosi(_dot_)com

        You know you are on too many mailing lists when you get
                     more legitimate mail than spam.

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>