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

Re: Will repeating an entry in 'mailboxes' cause any problems?



On 13 Dec 2007 10:30 +0000, by cl@xxxxxxxx (Chris G):
> I have a mailboxes line as follows:-
> 
>     mailboxes  ~/Mail/In/inbox `echo ~/Mail/Li/*` `echo ~/Mail/In/*`
> 
> Obviously the ~/Mail/In/inbox will appear twice because it's in `echo
> ~/Mail/In/*` as well.  Will this cause any problems (there are entries
> which come after inbox in `echo ~/Mail/In/*`)?
> 
> I'm asking because it *seems* as if it's making mutt fail to see new
> mail in the mailboxes after inbox and I'm trying to work out why.

I don't have a ready answer to your question (though I don't see why
it would give you issues) but you can always eliminate the possibility
using something like this:

mailboxes ~/Mail/In/inbox \
    `find ~/Mail/Li ~/Mail/In -mindepth 1 -maxdepth 1 -type d -not -name inbox 
-print`

The example assumes Maildir (change '-type d' to '-type f' for mbox)
and that you don't have a mailbox Li/inbox, but you get the idea.

-- 
Michael Kjörling .. michael@xxxxxxxxxxx .. http://michael.kjorling.se
* ..... No bird soars too high if he soars with his own wings ..... *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x(758F8749)BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *

Attachment: pgpIfVNGhmYr0.pgp
Description: PGP signature