From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail37c8.megamailservers.com ([69.49.106.187]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1IPVfW-0001me-00 for ; Sun, 26 Aug 2007 23:53:38 -0400 X-Authenticated-User: mvferranti.clearwire.net Received: from [192.168.123.100] (69-44-252-62.mrc.clearwire-dns.net [69.44.252.62]) (authenticated bits=0) by mail37c8.megamailservers.com (8.13.6.20060614/8.13.1) with ESMTP id l7R3rZvW032191 for ; Sun, 26 Aug 2007 23:53:37 -0400 Message-ID: <46D23B02.6060108@clearwire.net> Date: Mon, 27 Aug 2007 03:46:26 +0100 From: Gaijin User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: "Speakup is a screen review system for Linux." Subject: Re: using active spam killer with maildrop References: <20070827000743.GA22379@localhost.localdomain> In-Reply-To: <20070827000743.GA22379@localhost.localdomain> Content-Type: multipart/mixed; boundary="------------020105020400020202070608" X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 03:53:38 -0000 This is a multi-part message in MIME format. --------------020105020400020202070608 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------020105020400020202070608 Content-Type: text/plain; name="spam-killer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="spam-killer.txt" Gregory Nowak wrote: > The author of ask has the following procmail recipe in his > documentation: > > :0 fW > |/path_to_ask/ask.py --procmail --loglevel=5 > - --logfile=/your_home/ask.log It sounds like the above "recipe" is set to wait for ask.py to finish, be treated as a filter, andconsider any non-zero error code as a failure The lowercase 'f' says that the "recipe" is to be a filtering program, and to wait for it to finish. The uppercase 'W' says to watch for a non-zero error code, and to suppress any error output I'm assuming that spam- killer, if it finds spam, exits with a non-zero error code. If that happens, then the lines below should be executed and redirect the mail to /dev/null. > :0 e > /dev/null I believe that the above "recipe" only executes if the previous "recipe" was skipped. Why it was skipped doesn't matter, like an if/else function call. I guess the lowercase 'e' could be considered an 'else' statement. Anyway, that seems to be what procmail is doing. I don't know how you'd write something in the mail processing program you're using. HTH, Michael --------------020105020400020202070608--