<<< Date Index >>>     <<< Thread Index >>>

mailboxes and save_empty



I use procmail to deliver all my mailing list mail to one directory
and all other mail to another directory.

I have save_empty set to 'no' so that mailing list inboxes with no
mail in them disappear.

I have my mailboxes command in muttrc set to:-
    mailboxes `echo ~/Mail/in/*`
which works OK except that if mail arrives in a new mailbox after
I start mutt it won't be found until I stop and restart mutt.

Is there any way I can:-

    Tell mutt that *any* file found in a specific directory is a file
    where new mail can arrive rather than having to specify the
    individual file names.

or:-
    Change the save_empty command according to what directory mutt is
    scanning for new mail.


Can one have more than one save_empty command and more than one
mailboxes command in a muttrc, then I could have:-

    save_empty=yes
    mailboxes `echo ~/Mail/in/*`
    save_empty=no
    mailboxes=<list of mailing list mailboxes>

I.e. does the second mailboxes command append to the first one?

I suppose I could just turn off save_empty but I prefer empty
mailboxes to disappear.

-- 
Chris Green (chris@xxxxxxxxxxx)