* [sup-talk] what would be the best way to archive certain messages
@ 2008-01-30 13:45 Manish Sapariya
2008-01-30 16:09 ` John Bent
0 siblings, 1 reply; 3+ messages in thread
From: Manish Sapariya @ 2008-01-30 13:45 UTC (permalink / raw)
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?
Thanks and Regards,
Manish
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] what would be the best way to archive certain messages
2008-01-30 13:45 [sup-talk] what would be the best way to archive certain messages Manish Sapariya
@ 2008-01-30 16:09 ` John Bent
2008-01-30 16:26 ` Marcus Williams
0 siblings, 1 reply; 3+ messages in thread
From: John Bent @ 2008-01-30 16:09 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-talk] what would be the best way to archive certain messages
2008-01-30 16:09 ` John Bent
@ 2008-01-30 16:26 ` Marcus Williams
0 siblings, 0 replies; 3+ messages in thread
From: Marcus Williams @ 2008-01-30 16:26 UTC (permalink / raw)
On 30.1.2008, John Bent wrote:
> Currently the before-add-message hook can only apply labels but cannot be used
> to archive messages.
message.remove_label :inbox
... works for me :)
Marcus
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-30 16:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-30 13:45 [sup-talk] what would be the best way to archive certain messages Manish Sapariya
2008-01-30 16:09 ` John Bent
2008-01-30 16:26 ` Marcus Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox