procmail
[Top] [All Lists]

Re: My mail is gone?? But...

1998-05-24 01:28:44
At 10:36 PM 5/23/98 -0700, Shiloh Costa wrote:

:0
* ^TOsales
*!^FROM_DAEMON
*!^X-Loop: sales(_at_)hz(_dot_)com
|(formail -r -A "Precedence: junk" \
[snip]

Problem: The original message from the sender just vanishes into to
cyberspace somwhere! I've searched my MAILDIR, and other places, and I
can't find it.

The original message was passed to formail for it to extract the addressing
information.  At that point, Procmail considers it delivered - whether
you've stored it in a file or whatever, you've taken action on the message.
 Try copying the message, or bracing the action, and placing two actions
there - one delivery to $DEFAULT (with the c flag), and the second
performing the reply.

One example, add 'c' to your above recipe, then follow that recipe
immediatley with:

:0 A:
$DEFAULT

This would deliver it immediatley to your default mailbox rather than
continuing processing the original message through other recipes -- 'A'
flag means "only if previous recipe conditions evaluated as true."

---
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

 Sean B. Straw / Professional Software Engineering
 Post Box 2395 / San Rafael, CA  94912-2395

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