On Tuesday 10/11/11 13:41:15 CST, stardiviner wrote:
> How to *automatic* save mails from pyt...@python.com in INBOX/ to folder 
> Python/ 
> when I quit or switch mail folders.
> I have readed man muttrc, and mutt wiki, can not find a good solution.
> I tried to search mutt mailing list archive, not found too.
> I think save-hook cannot do this. maybe some triggers can do this.
> 
> Thanks in advance.
> 

Try to use a macro like this,

folder-hook "=INBOX" "push '<tag-pattern> ~f 
pyt...@python.com<enter><tag-prefix-cond><save-message>=Python/<enter><end-cond><sync-mailbox>'"

-- 
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::

Attachment: signature.asc
Description: Digital signature

Reply via email to