[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Save to set folder with mutt



On Fri, Jun 09, 2006 at 02:01:29PM -0600, Joseph Smidt wrote:
> I receive mail form debian-user and have always sent it to my
> debian-user folder using "C" then deleting it from my inbox.  Is there an
> easier way to have all emails from debian-user sent to my debian-user
> folder automatically after I read it?

If you are insistent on doing it via .muttrc then 'zless
/usr/share/doc/mutt/manual.txt.gz' will give you an idea of what the
various hooks do.  Just off the cuff, I'd set up two mbox's -- one for
new and one for read -- and do a "folder-hook . 'set mbox=+mbox'"
"folder-hook debian-user 'set mbox=+debian-user-old'" "folder-hook . 
'set move=<whatever you like>'" "folder-hook debian-user 'set move=yes'" 
all in your .muttrc

complicated isn't it?  this of course assumes you have something like
procmail in place...

-- 
Christopher Nelson -- chris@cavein.org
-----------------------------------------------------------------------
Two heads are more numerous than one.



Reply to: