Ryan --

Gee, it must be fcc-hook day on the list...

...and then Ryan Sorensen said...
% 
% I have procmail and mutt set up so mails for lists are automatically put
% in =lists/listname, and mutt recognizes every subdirectory name in that
% directory as a list.

Not bad.


% 
% listname is the part before the @, like mutt-users for this one.

Hokay.


% 
% Default save for other things, people, mainly, is in =people/name, where
% again, name is the part before the @.

OK.


% 
% How can I create fcc-hooks to put sent mail in the right directories?

I'd try something like

  fcc-save-hook . =people/%O    # use "original" target but in this subdir
  fcc-save-hook (list1|list2|...) =lists/%O

for starters.  Since you have all of your list mail separated out, you
could have a script walk the directory and generate the list hook(s), and
all you have to do is ensure that you get the first list post (if you
post before you receive) saved into the right directory and then let your
muttrc handle it all again.


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg30396/pgp00000.pgp
Description: PGP signature

Reply via email to