procmail
[Top] [All Lists]

autobounce: I ALMOST got it

1997-06-12 14:23:00
Can someone tell me what I'm doing wrong with this one?

RECIPE:

# Stuff that gets past the other recipes, but is from a place that has
# spammed me in the past.  
:0
* ? fgrep -i -f $SBDIR/maybespam.list
* !^X-Loop: noloop(_at_)noloop(_dot_)nlp
{
  :0 c
  $SPAMFOLDER

  :0 c
  TEMP=|cat

  :0
  | (formail -bkrt -IReceived: -A"X-Loop: noloop(_at_)noloop(_dot_)nlp";\
    cat $SBDIR/maybespam.msg; echo "$TEMP") | $SENDMAIL -oi -t
}


WHAT IT DOES:

Sends a reply containing (in order)

Reply header
Original body
contents of maybespam.msg


WHAT I WANTED:

Send a reply containing (in order)

Reply header
contents of maybespam.msg
Original header
Original body

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