procmail
[Top] [All Lists]

Re: procmail and **Bounced**

1997-04-02 10:51:00
Philip Guenther <guenther(_at_)gac(_dot_)edu> replied to me:
Why did that recipe give me log entries like this for all the zero
scoring stuff? I can find nothing about this in the manpages.

When you use the '-m' flag to procmail, it assumes that all messages
will be explicitly handled: it's a filter, not a delivery agent.  To
this end it unsets the DEFAULT and ORGMAIL variables.  This causes it
to bounce messages that aren't 'delivered' before the end of the rc
file.

Yes, I gathered that. But I still fail to see why the recipe
would fail to deliver mail which scored zero.

      # Find the score by feeding the body into "jmdigest", capturing
      # stdout in the SCORE variable.
      # (if the entire message should be fed, remove the 'b' flag.)
      :0bc
      SCORE=|$MAILDIR/jmdigest -

Yup, entire message should be fed. jmdigest could probably be
implemented entirely in procmail, but I feel more comfortable in
perl and I am aiming for a general solution here which will
not rely upon procmail. (Even Johnbob's original jmdigest was
not general enough for me, so I have been fixing it.)

Elijah
------
please do not CC me when replying to the list

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