procmail
[Top] [All Lists]

Simple auto-reply recipe in ``man procmailex'' does not work

1997-12-18 02:35:08




Hi, I got the following question. I tried the following simple auto-reply
recipe, which (basically) I took from the manpage `procmailex':


 :0 h c
* !^FROM_DAEMON
* !^X-Loop: ms(_at_)informatik(_dot_)uni-kiel(_dot_)de
* ^Subject: .*(request|get).(pgp|public).key
| (/opt/local/bin/formail -r -A"Precedence: junk" -A"X-Loop: 
ms(_at_)informatik(_dot_)uni-kiel(_dot_)de" ; cat /home/ms/.plan) | 
/usr/lib/sendmail -t 



I doesn't work, and I get the following message in the logging file:


procmail: Error while writing to " (/opt/local/bin/formail -r -A"Precedence: 
junk" -A"X-Loop: ms(_at_)informatik(_dot_)uni-kiel(_dot_)de" ; cat ~ms/.plan) | 
/usr/lib/sendmail -t"
procmail: Assigning "LASTFOLDER= (/opt/local/bin/formail -r -A"Precedence: 
junk" -A"X-Loop: ms(_at_)informatik(_dot_)uni-kiel(_dot_)de" ; cat ~ms/.plan) | 
/usr/lib/sendmail -t"


What does it mean? I know, that the very same recipe once worked (I did not
try it in the meantime). Also the paths are all ok, which I test by simply
typing in:


 cat test-mail | (/opt/local/bin/formail -r -A"Precedence: junk" -A"X-Loop: 
ms(_at_)informatik(_dot_)uni-kiel(_dot_)de" ; echo "Bla.") | /usr/lib/sendmail 
-v -t


by hand, and this works.


Thanks,
         Martin


PS: Please answer also to my mailaddress and not only to the list,
    since I have not subscribed it.


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