lambda calculus wrote:

> Hi guys, i recently changed to mutt, and reading the documentation,
> but i can't find what i want:
> 
> Since I'm subscribed to a couple of mailing lists i would like to
> configure mutt to store mails from different mailing lists to
> different directories.
> 
> Let's [email protected]
> and   [email protected]
> 
> The choice of which directory(mailing list) to read, whould be made
> with the -f option.
> 
> Can anyone supply an example please?

in ~/.muttrc:

  subscribe [email protected] [email protected]
  save-hook '~C [email protected]' =list1
  save-hook '~C [email protected]' =list2

you can set up aliases for the lists and refer to them by
alias in the subscribe directive but the patterns in the
save-hook directive probably can't make use of aliases.

if you use different from addresses when sending to each list,
you might also want something like:

  send-hook [email protected] set from = [email protected]
  send-hook [email protected] set from = [email protected]

cheers,
raf

Reply via email to