"mailboxes" syntax?

This is a discussion on "mailboxes" syntax? within the Mutt forums in Other Technologies category; According to the mutt manual, the correct usage for identifying folders that can receive new mail is: Usage: [un]mailboxes [!]filename [ filename ... ]. On my setup all incoming mails are sorted by procmail and delivered to folders that start with "IN". However, the ".muttrc" mailboxes entry "=IN.*" achieves nothing. Do the folders need to be identified individually in order to access the "mailboxes" feature? Felix Karpfen -- Felix Karpfen Public Key 72FDF9DF (DH/DSA)...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-11-2008, 05:50 PM
Felix Karpfen
Guest
 
Default "mailboxes" syntax?

According to the mutt manual, the correct usage for identifying folders
that can receive new mail is:

Usage: [un]mailboxes [!]filename [ filename ... ].

On my setup all incoming mails are sorted by procmail and delivered to
folders that start with "IN". However, the ".muttrc" mailboxes entry
"=IN.*" achieves nothing.

Do the folders need to be identified individually in order to access the
"mailboxes" feature?

Felix Karpfen
--
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)

Reply With Quote
  #2  
Old 06-11-2008, 06:20 PM
Christian Ebert
Guest
 
Default Re: "mailboxes" syntax?

Hi Felix,

* Felix Karpfen on Wednesday, June 11, 2008:
> According to the mutt manual, the correct usage for identifying folders
> that can receive new mail is:
>
> Usage: [un]mailboxes [!]filename [ filename ... ].
>
> On my setup all incoming mails are sorted by procmail and delivered to
> folders that start with "IN". However, the ".muttrc" mailboxes entry
> "=IN.*" achieves nothing.
>
> Do the folders need to be identified individually in order to access the
> "mailboxes" feature?


Yes. But you can work around this eg. by using backticks:

mailboxes `echo ~/Mail/IN.*`

or

mailboxes `printf ' %s' ~/Mail/IN.*`

Of course printf or echo don't know about Mutt's = shortcut. But
you get the idea.

c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/
Reply With Quote
  #3  
Old 06-11-2008, 06:28 PM
Troy Piggins
Guest
 
Default Re: "mailboxes" syntax?

* Felix Karpfen wrote :
> According to the mutt manual, the correct usage for identifying folders
> that can receive new mail is:
>
> Usage: [un]mailboxes [!]filename [ filename ... ].
>
> On my setup all incoming mails are sorted by procmail and delivered to
> folders that start with "IN". However, the ".muttrc" mailboxes entry
> "=IN.*" achieves nothing.
>
> Do the folders need to be identified individually in order to access the
> "mailboxes" feature?


The muttrc doesn't recognise the * wildcard, but you can do this:

------------------------------------------------
mailboxes `echo /home/troy/mail/*`
unmailboxes `echo /home/troy/mail/sent/*` \
~/mail/junk \
~/mail/trash
-----------------------------------------------

--
Troy Piggins | http://piggo.com/~troy _ /|/
|\__/ Oo,
( \\ D
Mutt 1.5.18 (with rr.compressed & vvv.nntp patches) L\-\L`\/|
Reply With Quote
  #4  
Old 06-13-2008, 05:54 PM
Felix Karpfen
Guest
 
Default Re: "mailboxes" syntax?

On 2008-06-11, Christian Ebert <blacktrash@gmx.net> wrote:
> Hi Felix,
>
> * Felix Karpfen on Wednesday, June 11, 2008:
>>
>>
>> Do the folders need to be identified individually in order to access the
>> "mailboxes" feature?

>
> Yes. But you can work around this eg. by using backticks:
>
> mailboxes `echo ~/Mail/IN.*`
>
> or
>
> mailboxes `printf ' %s' ~/Mail/IN.*`
>
> Of course printf or echo don't know about Mutt's = shortcut. But
> you get the idea.
>

Bad news.

Crowed too soon!

There is something in my setup that stops "mailboxes" from doing what
it should.

Neither of the above routines enable "mutt -y" to find any mailboxes
[The information line reads mailboxes (0)].

On the other hand, if I give the full names of my IN boxes to the
"mailboxes" entry in .muttrc, then "mutt -y" displays *all* the listed
mailboxes - not just the mailboxes that have new mail.

In case it is relevant, I use "mrxvt" as my terminal for running "mutt"
in a JWM windowsmanager environment.

Felix Karpfen
--
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 11:47 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.