From owner-freebsd-questions Thu May 2 8: 1:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from icarus.slightlystrange.org (icarus.slightlystrange.org [62.190.193.173]) by hub.freebsd.org (Postfix) with ESMTP id 7DECD37B417 for ; Thu, 2 May 2002 08:01:33 -0700 (PDT) Received: from danielby by icarus.slightlystrange.org with local (Exim 3.12 #1 (Debian)) id 173I5M-00004x-00 for ; Thu, 02 May 2002 16:01:32 +0100 Date: Thu, 2 May 2002 16:01:31 +0100 From: Daniel Bye To: freebsd-questions@FreeBSD.ORG Subject: Re: how to receive mail with mutt? Message-ID: <20020502150131.GA164@icarus.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <001c01c1f1e6$2d35fed0$145c1f41@bogart> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001c01c1f1e6$2d35fed0$145c1f41@bogart> User-Agent: Mutt/1.3.27i 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, May 02, 2002 at 09:32:20AM -0500, Nick Lozinsky wrote: > Hi, > > I've been bugging with this for a while, and still can't get it straight: > how do I get > mutt to receive mail directly to it? refreshing or checking the mailbox off > of my ISP's mail server every few minutes (5-10). I have installed mutt and > can send and receive mail while on the same box and messaging the users on > the same box, but can't get my remote mail server's responses. > > I've tried to use fetchmail, and it does work, just doesn't stick it into > the mutt folder, wherever it is; I have not tried using procmail, yet, as I > can't get the basic mail system to function. > > Anyone, if you can clarify the steps of getting mutt to receive mail off of, > let's say, mai.me.com (a pretend ISP's mail server), I will appreciate it a > great deal. Hi, Mutt is a mail reader. It does not itself collect or deliver mail. You need to use fetchmail to collect mail from your ISP's server, then fetchmail can pass it to procmail, which in turn can process and filter it as you wish, and drop messages into a mailbox mutt can read. You need to tell fetchmail to pass any messages it collects to procmail, with this statement in your .fetchmailrc: poll mai.me.com with proto POP3 user 'you' there with password 'your_pw' is localname here mda /usr/local/bin/procmail ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (Make sure you change localname to your local UNIX username for this to work!) Procmail will then get called for each message that comes in, and will be processed accordingly. HTH, Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message