Re: mutt doesn't list new mail in symlinked maildirs

2002-06-03 Thread Alexander Skwar

So sprach Will Yardley am 2002-05-21 um 15:10:19 -0700 :
 i'm pretty sure i've used symlinks in both directions and never had a
 problem either way.

I'm now using symlinks from ML-MUTT-USERS - .ML-MUTT-USERS and
everybody is happy.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 2 days 21 hours 51 minutes



Re: mutt doesn't list new mail in symlinked maildirs

2002-05-21 Thread Will Yardley

Alexander Skwar wrote:
 
 It was courier.  However I don't think that's a good idea, because,
 hm, dunno...  Hm, no, it's not good - if I create a new folder via
 IMAP with Courier, it will be named .foo.  I've setup a cron script to
 create the symlinks.  Hm, either way I can get it to work, if I think
 about it...  Well, the matter is, I trust mutt more than Courier to do
 the right thing.  And since the fix in mutt is rather trivial (by
 setting $mask to .*), I can live with the way it is now.
 
 Did it make sense what I wrote?  No?  Good! ;)  Anyhow, problem is
 solved.   But I think I'm going to write a bug about mutt using lstat
 instead of stat.  That seems wrong to me.

i'm pretty sure i've used symlinks in both directions and never had a
problem either way.

-- 
Will Yardley
input: william   hq . newdream . net . 




mutt doesn't list new mail in symlinked maildirs

2002-05-19 Thread Alexander Skwar

Hello!

Since I'm unable to make mutt 1.3.99 list mailboxes in hidden
directories (see previous mail), I now tried to use normally named
mailboxes which are symlinks.

To do this, I've created a symlink from ML-MUTT-USERS to
ML-MUTT-USERS (in the case of this mailinglist).  My mailboxes line
now only contains ML-MUTT-USERS.

However, this also doesn't seem to work, as mutt is still not showing
when there's new mail in such a symlinked maildir.

How can I make mutt check if a symlinked Maildir (as described above)
contains new mail?

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 10 hours 50 minutes



Re: mutt doesn't list new mail in symlinked maildirs

2002-05-19 Thread Cameron Simpson

On 04:38 19 May 2002, Alexander Skwar [EMAIL PROTECTED] wrote:
| Since I'm unable to make mutt 1.3.99 list mailboxes in hidden
| directories (see previous mail), I now tried to use normally named
| mailboxes which are symlinks.

This is what I get for reading email backwards.

| To do this, I've created a symlink from ML-MUTT-USERS to
| ML-MUTT-USERS (in the case of this mailinglist).  My mailboxes line
| now only contains ML-MUTT-USERS.
| However, this also doesn't seem to work, as mutt is still not showing
| when there's new mail in such a symlinked maildir.

SOunds like mutt's using lstat instad of stat. Probably a mistake
in this instance.

What if you swap the symlink around:

rm ML-MUTT-USERS
mv .ML-MUTT-USERS ML-MUTT-USERS
ln -s ML-MUTT-USERS .ML-MUTT-USERS

so that Courier (it was Courier, yes?) uses the symlink and mutt uses
the real directory.
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

!Peeve: I can instruct my child to shriek loud warlike cries of prayer to
Cthulhu each morning during Prayer break. 
Ia!  Ia!  Cthulhu ftagen- Rick Kleffel [EMAIL PROTECTED]



Re: mutt doesn't list new mail in symlinked maildirs

2002-05-19 Thread Alexander Skwar

So sprach Cameron Simpson am 2002-05-20 um 10:26:48 +1000 :
 This is what I get for reading email backwards.

;)

 SOunds like mutt's using lstat instad of stat. Probably a mistake
 in this instance.

Yes, I agree.

 What if you swap the symlink around:
 
   rm ML-MUTT-USERS
   mv .ML-MUTT-USERS ML-MUTT-USERS
   ln -s ML-MUTT-USERS .ML-MUTT-USERS
 
 so that Courier (it was Courier, yes?) uses the symlink and mutt uses
 the real directory.

It was courier.  However I don't think that's a good idea, because, hm,
dunno...  Hm, no, it's not good - if I create a new folder via IMAP with
Courier, it will be named .foo.  I've setup a cron script to create the
symlinks.  Hm, either way I can get it to work, if I think about it...
Well, the matter is, I trust mutt more than Courier to do the right
thing.  And since the fix in mutt is rather trivial (by setting $mask to
.*), I can live with the way it is now.

Did it make sense what I wrote?  No?  Good! ;)  Anyhow, problem is
solved.   But I think I'm going to write a bug about mutt using lstat
instead of stat.  That seems wrong to me.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 1 day 2 hours 46 minutes