From owner-freebsd-questions Fri May 18 18:12:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 39B5537B424 for ; Fri, 18 May 2001 18:12:48 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from shazam (shazam [192.168.5.3]) by w2xo.pgh.pa.us (8.11.2/8.9.3) with ESMTP id f4J1A7b42048; Sat, 19 May 2001 01:10:07 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Fri, 18 May 2001 21:12:44 -0400 (EDT) From: Jim Durham X-Sender: durham@shazam.int To: david@banning.com Cc: questions@FreeBSD.ORG Subject: Re: procmail newbie question In-Reply-To: <200105172321.f4HNLWM30134@d.tracker> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 17 May 2001, David Banning wrote: > My ISP holds my mailbox and I have a dialup connection > to the net. > > The mail sent has the same domain but all different sorts of > address names eg. david@skytrackercanada.com, john@skytrackercanada.com, > sales@skytrackercanada.com but they all go to one mailbox, > which is david@skytrackercanada.com > > I would like to load these to my machine with fetchmail or popclient, > and then separate them with procmail. > > My question is; where and how do I load the messages with popclient > or fetchmail so that procmail can find them and sort them? > > By default all mail loaded through pop goes to the /var/mail/$USER > of the person who did the pop. I can tell popclient to send it elsewhere, > but where? Where does procmail want it? > > I think you are saying that your ISP sends all mail for your domain to one mailbox and that each message may be addressed to one of several users on your local machine? If so, all you need is fetchmail and sendmail. It delivers the mail to port 25 on your local machine and sendmail delivers it to the user's mailboxes. Procmail is not needed unless you want to filter the mail by something other than user name, like subject. I used to do this when my company was on a dial-up to the 'net. Worked very nicely. -Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message