From owner-freebsd-questions Thu Mar 19 09:21:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25951 for freebsd-questions-outgoing; Thu, 19 Mar 1998 09:21:00 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horst.bfd.com (horst.bfd.com [204.160.242.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25902 for ; Thu, 19 Mar 1998 09:20:52 -0800 (PST) (envelope-from ejs@bfd.com) Received: from harlie.bfd.com (bastion.bfd.com [204.160.242.14]) by horst.bfd.com (8.8.8/8.8.8) with SMTP id JAA14073; Thu, 19 Mar 1998 09:20:32 -0800 (PST) (envelope-from ejs@bfd.com) Date: Thu, 19 Mar 1998 09:20:32 -0800 (PST) From: "Eric J. Schwertfeger" To: Steven Rutter cc: freebsd-questions@FreeBSD.ORG Subject: Re: procmail (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Mar 1998, Steven Rutter wrote: > ---------- Forwarded message ---------- > Date: Thu, 19 Mar 1998 19:02:24 +1100 > From: Sue Blake > To: Steven Rutter > Cc: freebsd-newbies > Subject: Re: procmail > > On Thu, Mar 19, 1998 at 02:53:56AM -0500, Steven Rutter wrote: > > As the mail from this list mounts I feel the need to use procmail. :*) I > > created my ~/.procmailrc file correctly [I think] but it does not seem to > > work. The manpage says that it can be started "over the .forward file" or > > the sysadmin can set it up. It does not explain how to do either of those > > however. I would prefer to set it up system-wide. Does anyone know how to > > do this? > > Procmail's a hairy one. I reckon anyone who admits to understanding it is a > super-brain, not a newbie :-) I wouldn't say that, but thanks anyway. Two ways to do it: one is to set up procmail as the default local delivery agent. the other is to include "| /procmail " in your .forward file. I've never done the second method, but it should work. To do the first, you need this in sendmail.cf in place of the current set of lines that starts with Mlocal. Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@SPfhn, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message