save-hook does not save in the right location?
- To: mutt-users@xxxxxxxx
- Subject: save-hook does not save in the right location?
- From: Corsair <chris.corsair@xxxxxxxxx>
- Date: Thu, 10 Jan 2008 19:18:52 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; bh=2GW0sAnnOwopgUXFi+X/HAnqt3E8oon2oPsngloveUg=; b=LxbKxc7crFC3jOxH8t0BruNNIIA4AFUUzdnAKQhrp48vfAIipkc0l97MfoxA3PMqoxyCD6SZNvbSZvXzJTxrJAwiXNhasrSR0hk/hMlxUQU0CcxC82tmyEPTD+zXxF0Gx1FxNtCqhT/oiAG+EinCEdvGZEYHYIICZCEhEFjBwBM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=jlYNV0z9f7YXpp/8mH40DnmPReyczDRKxOUoqPrZBVmqr6EV+CVO5mosUoHPhjpo7uIRT8pl3KwsSpsAAUpC9+gdgLtb9Olf8t3vCLU/C23tkcqfHwjuuIhE5hwKiO70BGw3f0O03HpfL2HP87TQoPnU3dLXbOLbI311bmP9lkI=
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2007-11-01)
Hello list, I have two mailboxes: "mbox" and "lists" and a spool file
/var/mail/corsair. I set "mbox" as the default save location in my
.muttrc:
mailboxes "=mbox"
mailboxes "=lists"
set mbox="~/Mail/mbox"
And I want to save all the mails from mailing lists to the box
"lists" after read, so I have a save-hook setting:
save-hook "~l" =lists
And of course, I do have subscribed some mailing lists in the .muttrc.
But the save-hook above seems not to work. When I change mailbox from
the spool or quit Mutt, all read mails just move to "mbox". How
should I setup Mutt so that mails from mailing lists automatically go
to "lists" instead of the default mailbox?
Thanks.
--
There is no emotion; there is peace.
There is no ignorance; there is knowledge.
There is no passion; there is serenity.
There is no death; there is the Force.
Attachment:
pgppn1Nzu4AjD.pgp
Description: PGP signature