From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 07:38:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 730F816A4B3 for ; Thu, 9 Oct 2003 07:38:00 -0700 (PDT) Received: from pop5-1.us4.outblaze.com (205-158-62-125.outblaze.com [205.158.62.125]) by mx1.FreeBSD.org (Postfix) with SMTP id AC03043FDD for ; Thu, 9 Oct 2003 07:37:59 -0700 (PDT) (envelope-from luomat@operamail.com) Received: (qmail 17427 invoked from network); 9 Oct 2003 14:37:58 -0000 Received: from unknown (HELO Tim) (luomat:operamail.com?operamail.com@68.23.213.33) by 205-158-62-125.outblaze.com with SMTP; 9 Oct 2003 14:37:58 -0000 Date: Thu, 09 Oct 2003 10:37:51 -0400 To: David.Bear@asu.edu, freebsd-questions@freebsd.org References: <20031008221642.M11482@asu.edu> From: Timothy Luoma Organization: http://tntluoma.com Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20031008221642.M11482@asu.edu> User-Agent: Opera7.21/Win32 M2 build 3213 Subject: Re: procmail, forward, and postfix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 14:38:00 -0000 On Wed, 08 Oct 2003 22:16:42 -0700, David Bear wrote: > I don't understand a thing it does.. but I put it in my home directory > anyway and called it .forward. > > It appears the procmail is no 'firing' when message come. Looking for > any pointers? been through to procmail faq sites and thought there > might be a recommendation here. Do you have a ~/.procmailrc file? If so, what is it? > contents of .forward > "|IFS=' ' && p=/usr/local/bin/procmail && test -f $p && exec $p -Yf- > || exit 75 #Metropolis" > > 'Metropolis' is the name of the account. Any pointers? Is procmail installed at /usr/local/bin/procmail? (Sorry had to ask) If so, then you need a .procmailrc file. It can be as simple as this: # Edit as appropriate PATH=/usr/local/bin:/sbin:/bin SHELL=/bin/sh # DIRECTORY where you want to store mail # MAKE SURE IT EXISTS MAILDIR=$HOME/mail LOGFILE=$HOME/.procmail.log VERBOSE=yes # Change to 'no' once you have it working LOGABSTRACT=all :0c: Backups # EOF All that will do is make a backup COPY (hence the ":0c:") of all your incoming mail. It's an easy way to test to make sure procmail is working... that, and see if there is anything in the log file. TjL ps - nothing really FBSD-specific here, so you might want to checkout the super-handy procmail list: http://www.procmail.org/era/lists.html -- FBSD 4.9 on a Dell Inspiron 7500 laptop