Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 20 Mar 2001 11:06:09 +0100 From: Corinna Vinschen To: cygwin Subject: Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read. Message-ID: <20010320110609.D16527@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <006a01c0b122$577ce060$275c100a AT actfs DOT co DOT uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <006a01c0b122$577ce060$275c100a@actfs.co.uk>; from Malcolm.Boekhoff@actfs.co.uk on Tue, Mar 20, 2001 at 09:44:21AM -0000 On Tue, Mar 20, 2001 at 09:44:21AM -0000, Malcolm Boekhoff wrote: > I want to retrieve messages from a POP3 mailbox and move them into folders (using Mutt's pattern recognition expression operator > "~C") depending upon their To: or Cc: headers. > > N.B. I don't want to read the messages before they are moved. I want them moved into separate folders, so that I can switch to those > folders to read the messages. > > Once they have been moved into such folders, I don't want them moved again. > > Can somebody please tell me what I should set up to do this? I have been lead to believe that I can use a macro to switch the > "spoolfile", use the 'G' command then switch the spoolfile back to $MAIL, however, I don't really understand what I > should set "spoolfile", "mbox" to. I thought I could maybe use "save-hook"s to do this, but the documentation is not very helpful on > these, for simple-minds like mine. > > What I want is: > > +mutt > +cygwin > +mbox > > I want all messages downloaded from the POP3 server to go into +mbox, but those matching "~C *cygwin*" to go into +cygwin and those > matching "~C *mutt*" to go into +mutt. I want the messages moved before I read them. A search in the mail archive had the following result: http://sources.redhat.com/ml/cygwin/2001-03/msg00996.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple