procmail
[Top] [All Lists]

procmail and formail problem

1996-02-13 16:07:14
Okay, I *think* I've nailed down my problem... but to refresh you:

BACKGROUND: Compiled procmail package with no problems. Set-up the
            .forward and .procmailrc files; these work fine for
            filtering mail and putting in appropriate folders as in 
            the following recipe:

:1:
* ^Subject:.*VENDOR TRANSFER NOTICE
wb

            However, the example of the line for the .forward file
            would not work; I had to use:

            "| procmail -pt /users/mf/mspec/voorhees/.procmailrc"

PROBLEM:    Trying to see if forward will work properly, I put the
            following recipe in my .procmailrc file to see if when I 
            sent mail with "test" in the subject it would write a
            file "~/pub/tmp1":

:1
* ^Subject:.*test
| (/disc/bf/mfmspec/voorhees/bin700/formail -r;\
   echo "I'm not here") > /disc/bf/mfmspec/voorhees/pub/tmp1

            The file "~/pub/tmp1" is *never created*. If I use the
            command line:

            cat foomail.txt | (formail -r; echo "This worked")\
            > /disc/bf/mfmspec/voorhees/pub/tmp1

            *that* works. It seems the problem is in the recipes
            pipe. Could this be due to my .forward file?


Joe

_____________________________________________________________________
Joe Voorhees
Hewlett-Packard
San Diego Printer Division (SPR)
16399 West Bernardo Drive
San Diego, California 92127-1899

Technical Information Services
Manufacturing Engineering Specialist/Systems Administrator

E-Mail:      voorhees(_at_)sdd(_dot_)hp(_dot_)com
Phone:       (619)655-8423
Pager:       (619)526-0891
M/S:         61U-59A

<Prev in Thread] Current Thread [Next in Thread>
  • procmail and formail problem, Joe Voorhees <=