procmail
[Top] [All Lists]

Another recipe tweaking problem....

1997-07-21 08:03:00
I have two problems with the following recipe:

# genealogy isn't really spam, but it's not "business purposes"
:0
* !^X-Loop: noloops_for_wwgrol(_at_)fw(_dot_)hac(_dot_)com
* ? fgrep -i -f $SBDIR/genealogy.list
  {
  :0c:
  genealogy

  :0fhw  # double the head; second head is now part of body
  | sed -e H -e '$ G'

  :0fhw  # invert first head and slip in message after it (before second head)
  | formail -rtA"X-Loop: noloops_for_wwgrol(_at_)fw(_dot_)hac(_dot_)com" 
-A"X-procmail: Genealogy" ; cat $SBDIR/genealogy.msg

  :0     # send it all out
  ! -t

  }


Unfortunately, due to a cron mistake, I don't have the logfile.

1. I know the condition is matching because the autoresponse bounced.
Yet the incoming message did not go into the genealogy folder.

2. The autoresponse bounced because the incoming message had the following
header:
From: "Deborah L. Hughes" <"dlhlmh(_at_)eosinc(_dot_)com"@eosinc.com>
and the 'bot tried to respond to 
"dlhlmh(_at_)eosinc(_dot_)com"@eosinc.com
The correct response is obvious to natural intelligence, but not to artificial 
:-)

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