procmail
[Top] [All Lists]

Re: scored weighting, and aborting questions.

1997-01-12 16:19:52
On Sun, 12 Jan 1997, David W. Tamkin wrote:
That depends on exactly what you want to occur on "ABORT" or "INTERRUPT".
If you want just to bit-bucket the incoming message, save it to /dev/null
or, in most situations, unset or mis-assign the HOST variable.

So if one is not using weighted scoring, would the following recipe
simply bounce mail back to the originator with a standard SMTP error
550, 'User unknown'? Or does this simply lose the mail? I tried it
with a test recipe and sent from myself, but never got the bounce or
the original. 

                        :0
                        * [special conditions]
                                {
                                HOST
                                }
                        :0
                        $DEFAULT

Resulting in log entries:
procmail: Match on "^From:.*dnhunt.*rain.org"
procmail: Match on "^Subject:.*special.test"
procmail: Assigning "HOST"
procmail: HOST mismatched "coyote"
From dnhunt(_at_)rain(_dot_)org  Sun Jan 12 15:10:42 1997
 Subject: special test
  Folder:
procmail: Notified comsat: "dnhunt@:"

If it is bouncing, where does it go?
David ...