From owner-freebsd-questions Wed Apr 30 19:38:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA00170 for questions-outgoing; Wed, 30 Apr 1997 19:38:47 -0700 (PDT) Received: from yarrina.connect.com.au (yarrina.connect.com.au [192.189.54.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA00145 for ; Wed, 30 Apr 1997 19:38:42 -0700 (PDT) Received: from aardvark.apana.org.au (root@aardvark.apana.org.au [203.12.237.49]) by yarrina.connect.com.au with ESMTP id MAA28952 (8.8.5/IDA-1.6); Thu, 1 May 1997 12:35:00 +1000 (EST) Received: from solsbury-hill.home (dialup-3.aardvark.apana.org.au [203.12.237.66]) by aardvark.apana.org.au (8.8.4/8.6.9) with ESMTP id MAA27768; Thu, 1 May 1997 12:34:49 +1000 Received: from solsbury-hill.home (localhost.home [127.0.0.1]) by solsbury-hill.home (8.7.5/8.7.3) with ESMTP id MAA01395; Thu, 1 May 1997 12:34:46 +1000 (EST) Message-Id: <199705010234.MAA01395@solsbury-hill.home> X-Mailer: exmh version 2.0beta 12/23/96 From: Joel Sutton To: Kevin Eliuk cc: FreeBSD-questions Subject: Re: popclient & procmail In-reply-to: Your message of "Tue, 29 Apr 1997 09:21:57 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 12:34:46 +1000 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > In order to sort the mailing list from a pop3 server do I pipe popclient > through procmail? I have a shell script which works well: [snip] echo "Checking for mail..." popclient -3 -F -u username -p password -o /var/mail/.jsutton.popclient \ email.host.org date echo "Processing mail..." formail -s procmail >/home/jsutton/Mail/mail-backup cat /dev/null > /var/mail/.jsutton.popclient playbucket /usr/local/ftp/wav/tng/Hailing.wav [snip] > As well is procmail case sensitive? Can be. It depends on whether or not you want it to be. procmail is a difficult one but it really is necessary to read the man pages. If you want something simplier then perhaps the elm mail filter, or mh's filter would be a better place to start off. I use procmail with mh and exmh - which is fun to set up. :-> Good luck, Joel...