procmail
[Top] [All Lists]

Re: Recipie works only for recipient alias

1997-02-18 09:17:39
On Tue, 18 Feb 1997 10:19:05 -0500 (EST), Kyle Ferrio
<kbf(_at_)phy(_dot_)duke(_dot_)edu> wrote:
PROCBIN=$HOME/bin
AUTOFROM="Kyle's Mail Troll <kbf(_at_)phy(_dot_)duke(_dot_)edu>
             ^
You don't suppose you want a "From: " (and matching pairs of quotes)
either here ... 

XLOOP="X-Loop: kbf(_at_)phy(_dot_)duke(_dot_)edu"

     :0
     * ^Subject:.*gimmie
     * ! ^Subject:.*Re:
     * $ ! ^$XLOOP
             | ($PROCBIN/formail -r -I"$AUTOFROM" -I"$XLOOP" ; \
                                          ^
                                    ... or here?

             /usr/bin/echo "It worked." ; \
             /usr/bin/echo '' ) \
     | /usr/lib/sendmail -t

Don't see how this could help against the problems you describe. Also
the VERBOSE log should have revealed all these problems. But then why
not try it and see how far it can take you. Everything else looks fine
to me (excep't I'd probably use only one echo -e and use backslash
escapes for newlines etc). (Oh, and sendmail -oi -t is used in all the
example recipes ;-) (There was also some talk about formail -r versus
-rt but I forget which was preferred for autoreplies ... Somebody fill
in here?) 

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>