From mboxrd@z Thu Jan 1 00:00:00 1970 From: johnbent@lanl.gov (John Bent) Date: Wed, 30 Jan 2008 09:09:04 -0700 Subject: [sup-talk] what would be the best way to archive certain messages In-Reply-To: <47A07F71.3010208@gslab.com> References: <47A07F71.3010208@gslab.com> Message-ID: <1201709055-sup-5205@tangerine.lanl.gov> Excerpts from Manish Sapariya's message of Wed Jan 30 06:45:21 -0700 2008: > Hi, > I dont want all the list messages in my inbox. How can I do it using hooks? > Is there any message specific interface or property which I can manipulate > in before-add-message hook? > Hey Manish, Currently the before-add-message hook can only apply labels but cannot be used to archive messages. To automatically archive messages, they must be in a different source. I achieved this by using fetchmail to pull my mail and procmail to filter some messages to different mboxes. I then used 'sup-add --archive' for those new mboxes. John