procmail
[Top] [All Lists]

Re: HELP ..with send file wiht procmail

1997-02-15 14:00:13
At 12:35 PM 2/15/97 -0500, darleen wrote:

hi:

I am at a deadend as to how to get this working ....

ahve followed ..what I believe to be correct :)

it now finds the file

but makes message header called name and puts it in same directory as the
file

:0
             * ^Subject: send file [0-9a-z]
             * !^X-Loop: darleen(_at_)darleen(_dot_)com
             * !^Subject:.*Re:
             * !^FROM_DAEMON
             * !^Subject: send file .*[/.]\.
             {
               MAILDIR=$HOME/mail # chdir to the fileserver
directory

               :0 fhw                   # reverse mailheader and extract
name


Tee hee.  Here's your problem -- your comment wrapped to the next line,
where "name" is no longer part of the comment -- and becomes a folder.

"directory" above does it as well, but all that does is unset any
variable named "directory" (due to its location in your .procmailrc).
Note that this also is noted in your logs:
procmail: Assigning "directory"

I'd suggest using an editor that doesn't wrap lines "for" you.
Personally, I hate that (mis-)feature.

Cheers,
Stan

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