[aklug] Re: moving mail in mutt?

From: Christopher Howard <choward@indicium.us>
Date: Tue Oct 19 2010 - 15:30:01 AKDT

On 10/19/2010 11:38 AM, Tim Johnson wrote:
> * Christopher Howard<cmhoward@frigidcode.com> [101019 11:09]:
>> What is the command in Mutt to move mail from one folder to another? I created a new mailbox directory (outside of
>> mutt) and I can change to it with the 'c' comand (inside of mutt) but how to do move mail to the new folder?
> s
> and at the prompt answer
> =mailboxname
> I.E. put an '=' before the name of the mailbox.
>> BTW, my next question is going to be "how do I automatically filter mail into the new folder as soon as it comes in?"
>> (E.g., move all my aklug mail automatically into the new folder"
> I use procmail
> 1).forward file
> |IFS=' '&& exec /usr/bin/procmail || exit 75 #username"
> NOTE: check path to procmail
> which procmail
> 2)My .procmailrc
> # Set to yes when debugging
> # See man 5 procmailrc
> VERBOSE=no
> # Remove ## when debugging; set to no if you want minimal logging
> ## LOGABSTRACT=all
> MAILDIR=$HOME/Mail
> # Directory for storing procmail-related files
> PMDIR=$HOME/.procmail
> DEFAULT_MAILBOX=$MAILDIR/inbox/
> # Put ## before LOGFILE if you want no logging (not recommended)
> LOGFILE=$PMDIR/log
> INCLUDERC=$PMDIR/lists.rc
> INCLUDERC=$PMDIR/default.rc
> # End procmailrc
> #A sample recipe from my $PMDIR/lists.rc :
> :0:
> * ^(From|Cc|To):.*aklug@aklug.org
> /home/tim/Mail/aklug/
> # end recipe
>
> HTH

Thanks. That is a regular expressions at the bottom there, right?

-- 
Christopher Howard
http://frigidcode.com
http://theologia.indicium.us
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Oct 19 15:30:13 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 19 2010 - 15:30:13 AKDT