Hi,

* [EMAIL PROTECTED] [05/28/02 04:41:37 CEST] wrote:
> I am new to mutt. Coming from Win/Eudora, I hope you can
> imagine it's quite a transition. Still I can see why so
> many people are enthusiastic about this application.

For good reasons...

> I have a question that I hope is easy to solve for
> experienced users.

> In .muttrc I have: "mailboxes +IN-foobarA +IN-foobarB"
> and also: "mbox-hook =IN-foorbarA =foobarA" etc.

> Now for every new mailbox I want to use, I need to edit
> .muttrc in at least two locations. Is it possible, given
> the naming conventions, to have only one entry for
> mailboxes and only one line with mbox-hook.

You can use backticks to configure mutt by commands. Given
that, use something like:

  mailboxes `ls -d ~/.mutt/IN.*`

and a short shell script which will do the mbox-hooks.

Cheers, Rocco.

Reply via email to