[SunRescue] any procmail experts?

Bill Bradford rescue at sunhelp.org
Thu Jan 4 08:54:44 CST 2001


On Thu, Jan 04, 2001 at 02:38:34PM +0100, Magnus Hultin wrote:
> Hi,
> Something like this should do the trick.. It's a
> modification of the vacation-recipe found in the
> procmailex manpage.
> :0 : vacation.lock
> * subscribe sun-managers
> * !^FROM_DAEMON
> * !^X-Loop: mrbill at mrbill.net
> | (${FORMAIL} -rA"Precedence: junk" \
>  -A"X-Loop: mrbill at mrbill.net" ; \
>   cat ${AUTOREPLY_MESSAGE} \
>   ) | $SENDMAIL -oi -t
> Variables set properly, of course. ;)
> /Hultin

It works so far, but only seems to work if 
the "subscribe sun-managers" is in the header -
I need it to work whether the string is in the
header OR the body of the message...

Back to reading the procmail man page. 8-)

Bill

-- 
-------------\ /--------------------------------------
Bill Bradford | email: mrbill at mrbill.net  ICQ: 1864511
Austin, TX    | MSN Messenger: bigroundeye at hotmail.com



More information about the rescue mailing list