procmail
[Top] [All Lists]

Sending files

1996-01-21 17:05:21

        Can somebody explain why this recipe _doesn't_ work?
        And what do I need to do to get it to work?

        Basically, somebody send me a message with one word
        "hwafaq" on the subject line, and they get back the file in
        question.



#**********
#
# send a requested file


          :0
          * !^X-Loop: grafolog(_at_)netcom(_dot_)com
          * !^FROM_DAEMON
          * !^Subject: hwafaq
          {
     
           :0 fhw                   # reverse mailheader and extract name
            * ^Subject: hwafaq --- 250 Kb long
            | formail -rA "X-Loop: grafolog(_at_)netcom(_dot_)com
     
            :0 ah
        | cat - ./$~ftp/pub/gr/graphology/hwa.faq 2>&1 | $SENDMAIL -oi -t
          }

#       Above recipe modified from procmailex

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        xan

        jonathon
        grafolog(_at_)netcom(_dot_)com



**********************************************************************
*                                                                    *
*       Opinions expressed don't necessarily reflect my own views.   *
*                                                                    *
*       There is no way that they can be construed to represent      *
*       any organization's views.                                    *
*                                                                    *
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*       ftp://ftp.netcom.com/pub/gr/graphology/home.html             *
*                                                                    *
***********************************************************************

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