From owner-freebsd-questions Thu Apr 18 21:48:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 5655837B41E for ; Thu, 18 Apr 2002 21:47:22 -0700 (PDT) Received: from hades.hell.gr (patr530-a032.otenet.gr [212.205.215.32]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3J4lIrc010145; Fri, 19 Apr 2002 07:47:19 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g3J4knQ2001308; Fri, 19 Apr 2002 07:47:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g3J42a9C000842; Fri, 19 Apr 2002 07:02:36 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 19 Apr 2002 07:02:36 +0300 From: Giorgos Keramidas To: BSD Freak Cc: FreeBSD Questions Subject: Re: getting procmail to work Message-ID: <20020419040235.GD629@hades.hell.gr> References: <355d327355ea24.355ea24355d327@mbox.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <355d327355ea24.355ea24355d327@mbox.com.au> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-04-18 22:54, BSD Freak wrote: > I have recently been trying to get procmail to work on our FreeBSD > 4.5 mail server (sendmail). I have built the procmail port but it > seems to ignore .procmailrc files in user home directories. Is there > anything other than installing the port that needs to be done? Mail is delivered by Sendmail (or your MTA) to the mailboxes of users. You need to tell your MTA that mail should be ``delivered'' to procmail and let procmail save it in a mailbox, or anywhere it wants. For Sendmail this is as easy as creating a .forward file in your HOME, and putting in there the following: "|exec /usr/local/bin/procmail || exit 75" BTW, this is copied verbatim from the procmail(1) manpage. For other MTAs you will have to consult their documentation to find a way for the mail server to pipe all the incoming messages through procmail. Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message