[sup-talk] what would be the best way to archive certain messages

John Bent johnbent at lanl.gov
Wed Jan 30 11:09:04 EST 2008


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


More information about the sup-talk mailing list