Nick Wilson wrote:
> 
> I'd like somehow to archive my list mail rather than  dump it with all
> the other rubbish to make it easier to search through.
> 
> Just wondered how you good people did this?

if you have the Trash patch applied, you can do something like this:

folder-hook .           set trash="mail/Trash/"

# special trash for some folders

folder-hook \!          set trash="mail/Trash:inbox/"
folder-hook =ndn:adm    set trash="mail/Trash:adm/"
folder-hook =ndn:dev    set trash="mail/Trash:dev/"
folder-hook =ndn:security       set trash="mail/Trash:security/"
folder-hook =lists:dynagroove   set trash="mail/Trash:dynagroove/"
[...]

you can employ a similar syntax with macros:

folder-hook .         macro index d "<save-message>=Trash/<enter>"
folder-hook .         macro pager d "<save-message>=Trash/<enter>"
folder-hook \!          macro index d "<save-message>=Trash:inbox/<enter>"
folder-hook \!          macro pager d "<save-message>=Trash:inbox/<enter>"
folder-hook =ndn:adm  macro index d "<save-message>=Trash:adm/<enter>"
folder-hook =ndn:adm  macro pager d "<save-message>=Trash:adm/<enter>"
folder-hook =Trash    macro index d "<delete-message>"
folder-hook =Trash    macro pager d "<delete-message>"

but it's a LOT more of a PITA (and less reliable) to do it this way.
don't use trailing slashes if you use mbox instead of Maildir.

w

Reply via email to