*BSD News Article 81551


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sgi.com!csulb.edu!hammer.uoregon.edu!news-peer.gsl.net!news.gsl.net!news.mathworks.com!enews.sgi.com!lll-winken.llnl.gov!fnnews.fnal.gov!unixhub!news.Stanford.EDU!andrsn.stanford.edu!andrsn
From: andrsn@andrsn.stanford.edu (Annelise Anderson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: .forward file format
Date: 25 Oct 1996 22:50:37 GMT
Organization: Stanford University
Lines: 38
Message-ID: <54rg7t$9cj@nntp.Stanford.EDU>
References: <54olal$h5u@uuneo.neosoft.com> <54oo05$aj@vixen.cso.uiuc.edu> <54orfi$jte@uuneo.neosoft.com>
NNTP-Posting-Host: andrsn.stanford.edu
X-Newsreader: TIN [version 1.2 PL2]

Conrad Sabatier (conrads@neosoft.com) wrote:
: In article <54oo05$aj@vixen.cso.uiuc.edu>, Dannyman <djhoward@uiuc.edu> wrote:
: >Conrad Sabatier (conrads@neosoft.com) wrote:
: >: I'm trying to setup procmail to filter incoming messages to several
: >: different "folders", but it doesn't seem to be getting invoked when new
: >: mail arrives.  I'm using the .forward file format shown in man procmail:
: >: 
: >: "|IFS=' ' && p=/usr/local/bin/procmail && test -f $p && exec $p -Yf- || exit 75 #conrads"
: >
: >I've use the following on two different FreeBSd systems for some time now;
: >
: >"|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #dannyman"
: >
: >	Your's looks more complicated.

: Tried your version and still no go.  Weird.  I can run procmail manually
: and it works, applying the filters I've setup, moving things to their
: proper places.  But it *never* gets invoked by sendmail.

: Could it be because I'm using popclient to retrieve my mail from my ISP's 
: POP3 server?

Yes, I think so.  I get some mail from a POP3 server and it goes 
directly into a mail box and never gets processed by procmail.
Other mail comes to the queue, and when I process the queue the mail
is then dealt with by the .forward file; my has

"|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -Yf-||exit 75 #andrsn"

which looks pretty much like yours.

However, I think you can tell the popserver to put the mail wherever you
want it--you might want to try telling it to put it in /var/spool/mqueue.

Annelise