Re: Mutt and NFS
On Tue, Apr 03, 2001 at 06:37:22PM -0500, Cheng H. Lee wrote: > Hi all, > > I have a question about running Mutt and NFS together. My current mail > setup has procmail delivering mail to ~/mail and mutt reading the mail > boxes from there. However, when I'm reading mail from my other box (which > has /home mounted from NFS), mutt always open my mail-boxes read-only. > > I've read the Readme.NFS that came with mutt but would rather not have > to mount the entire /home tree with the 'nolock' option. FWIW I'm using mutt with NFS-mounted /var/mail (with nolock) and I haven't lost any mail so far. >Also, the mutt > FAQ says that I can get around this by configuring mutt using the > '--with-homespool' option, but I haven't figure out how to do this. They are referring to compile-time configuration. You'll need to get mutt source package and build it yourself. Dima -- E-mail dmaziuk at bmrb dot wisc dot edu (@work) or at crosswinds dot net (@home) http://www.bmrb.wisc.edu/descript/gpgkey.dmaziuk.ascii -- GnuPG 1.0.4 public key The wombat is a mixture of chalk and clay used for respiration.-- MegaHal
Re: Mutt and NFS
Hello Cheng, * Cheng H. Lee wrote: > Hi all, > > I have a question about running Mutt and NFS together. My current mail > setup has procmail delivering mail to ~/mail and mutt reading the mail > boxes from there. However, when I'm reading mail from my other box (which > has /home mounted from NFS), mutt always open my mail-boxes read-only. > > I've read the Readme.NFS that came with mutt but would rather not have > to mount the entire /home tree with the 'nolock' option. If you use user-space NFS daemon, there's no ther way then to mount with nolock, because Userspace NFS supports not really a good filelocking mechanism. IMHO > Also, the mutt > FAQ says that I can get around this by configuring mutt using the > '--with-homespool' option, but I haven't figure out how to do this. > > Any hints/advice? Both boxes are currently running unstable. Try to use Kernel NFS. ciao Waldemar -- * Ein gutes Kryptographieprogramm: | (o_ * * http://www.gnupg.org | //\ * * Linux rulez!;-)| V_/_ * * GnuPG-Key: 0xBE21BD90 | Tux: #155220 | ICQ: 64035650 *
Re: Mutt and NFS
On Tue, Apr 03, 2001 at 06:37:22PM -0500, Cheng H. Lee wrote: > Hi all, > > I have a question about running Mutt and NFS together. My current mail > setup has procmail delivering mail to ~/mail and mutt reading the mail > boxes from there. However, when I'm reading mail from my other box (which > has /home mounted from NFS), mutt always open my mail-boxes read-only. > > I've read the Readme.NFS that came with mutt but would rather not have > to mount the entire /home tree with the 'nolock' option. Also, the mutt > FAQ says that I can get around this by configuring mutt using the > '--with-homespool' option, but I haven't figure out how to do this. > > Any hints/advice? Both boxes are currently running unstable. i don't have problems with mutt and nfs, other then it not detecting new mail in my marked mailboxes very consistently (i think this is a meta data caching issue) i have verified that locking works correctly on my nfs setup. you should not use kernels older then 2.2.18 on either server or client, and you must run lockd and statd. verify that they are running and things should work correctly. also you should use NFSv3, which you may have to enable experimental options in your kernel config to see. -- Ethan Benson http://www.alaska.net/~erbenson/ pgpRj3uKpreYy.pgp Description: PGP signature
Mutt and NFS
Hi all, I have a question about running Mutt and NFS together. My current mail setup has procmail delivering mail to ~/mail and mutt reading the mail boxes from there. However, when I'm reading mail from my other box (which has /home mounted from NFS), mutt always open my mail-boxes read-only. I've read the Readme.NFS that came with mutt but would rather not have to mount the entire /home tree with the 'nolock' option. Also, the mutt FAQ says that I can get around this by configuring mutt using the '--with-homespool' option, but I haven't figure out how to do this. Any hints/advice? Both boxes are currently running unstable. Thanks in advance, Cheng
mutt and nfs
Hi all. I have the lastest mutt package (from woody) and read my mails with fetchmail in a /home nfs partition mounted. I have .muttrc from Sven Guckes. I'm havinng problems to delete messages from mbox files. It complains about locking errors. So I cant store mbox files from e-mails messages. What can be wrong? Thanks, Paulo Henrique
mutt and NFS
I have /home NFS mounted, and i also have mutt configured to watch various mailboxes that i have procmail dump mail into: mailboxes ! =in-bugtraq =in-debian-devel =in-debian-user =in-debian-powerpc \ now when i use mutt on a machine with NFS mounted /home it will say new mail in in-debian-user for example, i c to that mailbox read/delete all the mail, hit c again to switch to the next mailbox with new mail say in-debian-devel read/delete the mail there, now both mailboxes are empty but mutt says new mail in in-debian-user, so i change to it its still empty, no messages have been delivered there, and now mutt is saying new mail in in-debian-devel and so on it will just go in this loop forever... if after this has occured i run mutt on the machine with the exported /home mutt says new mail in in-debian-user but its still empty but once i change out of the mailbox its fine and no longer erroneously claims there is mail there. the mailbox shows and zero length on both machines when mutt is claiming there is mail when there is not. server uses kernel 2.2.14 with knfs, client uses kernel 2.2.15pre3 (with ppc patches) also another client i tested runs 2.2.14, all run lockd and i have tested that file locking is working properly with a small C program i found in the BTS (yes i read the long boring saga of mutt and NFS) is there any way to fix this or should i just ssh into the main box for mail? -- Ethan Benson
Re: Mutt and NFS (reprise)
I fixed that with the nolock options as suggested by Miquel. My problem was that mutt couldn't lock the file (you see an error 37), so I couldn't modify the mailbox at all. graziano On Fri, Sep 10, 1999 at 02:18:09PM +, Paulo Henrique Baptista de Oliveira wrote: > I'm having problems with mutt and NFS too. I mount /var/spool/mail by > NFS and cant delete mails. > How to fix this? > Thanks, Paulo Henrique > Quoting Obi ([EMAIL PROTECTED]): > > Thanks! It actually works ... only if I mount that directly but it > > doesn't work if I use amd specifying nolock! I'll figure it out though. > > > > Thanks again > > graziano > > > > On Wed, Sep 08, 1999 at 11:51:28PM +0200, Miquel van Smoorenburg wrote: > > > In article <[EMAIL PROTECTED]>, > > > Obi <[EMAIL PROTECTED]> wrote: > > > >Hi all, > > > > > > > >I know this topic already showed up on the mailing list but the solutions > > > >weren't really up to mu case: that is having the file on the local FS!! > > > > > > > >The situation is /home NFS mounted and mutt refusing to do anything to > > > >every file in the home directory because of the dreaded locking > > > >mechanism. THe server is a Debian stable machine and the client is an > > > >unstable Debian client. > > > > > > > >What can I do? > > > > > > If you're running a 2.2 kernel on the NFS client, it tries to do > > > NFS locking by default. If your server doesn't support that you > > > have to mount the NFS partition with the option "nolock". That's all. > > > > > > Mike. > > > -- > > > ... somehow I have a feeling the hurting hasn't even begun yet > > > -- Bill, "The Terrible Thunderlizards"
Re: Mutt and NFS (reprise)
I'm having problems with mutt and NFS too. I mount /var/spool/mail by NFS and cant delete mails. How to fix this? Thanks, Paulo Henrique Quoting Obi ([EMAIL PROTECTED]): > Thanks! It actually works ... only if I mount that directly but it > doesn't work if I use amd specifying nolock! I'll figure it out though. > > Thanks again > graziano > > On Wed, Sep 08, 1999 at 11:51:28PM +0200, Miquel van Smoorenburg wrote: > > In article <[EMAIL PROTECTED]>, > > Obi <[EMAIL PROTECTED]> wrote: > > >Hi all, > > > > > >I know this topic already showed up on the mailing list but the solutions > > >weren't really up to mu case: that is having the file on the local FS!! > > > > > >The situation is /home NFS mounted and mutt refusing to do anything to > > >every file in the home directory because of the dreaded locking > > >mechanism. THe server is a Debian stable machine and the client is an > > >unstable Debian client. > > > > > >What can I do? > > > > If you're running a 2.2 kernel on the NFS client, it tries to do > > NFS locking by default. If your server doesn't support that you > > have to mount the NFS partition with the option "nolock". That's all. > > > > Mike. > > -- > > ... somehow I have a feeling the hurting hasn't even begun yet > > -- Bill, "The Terrible Thunderlizards"
Re: Mutt and NFS (reprise)
Thanks! It actually works ... only if I mount that directly but it doesn't work if I use amd specifying nolock! I'll figure it out though. Thanks again graziano On Wed, Sep 08, 1999 at 11:51:28PM +0200, Miquel van Smoorenburg wrote: > In article <[EMAIL PROTECTED]>, > Obi <[EMAIL PROTECTED]> wrote: > >Hi all, > > > >I know this topic already showed up on the mailing list but the solutions > >weren't really up to mu case: that is having the file on the local FS!! > > > >The situation is /home NFS mounted and mutt refusing to do anything to > >every file in the home directory because of the dreaded locking > >mechanism. THe server is a Debian stable machine and the client is an > >unstable Debian client. > > > >What can I do? > > If you're running a 2.2 kernel on the NFS client, it tries to do > NFS locking by default. If your server doesn't support that you > have to mount the NFS partition with the option "nolock". That's all. > > Mike. > -- > ... somehow I have a feeling the hurting hasn't even begun yet > -- Bill, "The Terrible Thunderlizards"
Re: Mutt and NFS (reprise)
In article <[EMAIL PROTECTED]>, Obi <[EMAIL PROTECTED]> wrote: >Hi all, > >I know this topic already showed up on the mailing list but the solutions >weren't really up to mu case: that is having the file on the local FS!! > >The situation is /home NFS mounted and mutt refusing to do anything to >every file in the home directory because of the dreaded locking >mechanism. THe server is a Debian stable machine and the client is an >unstable Debian client. > >What can I do? If you're running a 2.2 kernel on the NFS client, it tries to do NFS locking by default. If your server doesn't support that you have to mount the NFS partition with the option "nolock". That's all. Mike. -- ... somehow I have a feeling the hurting hasn't even begun yet -- Bill, "The Terrible Thunderlizards"
Mutt and NFS (reprise)
Hi all, I know this topic already showed up on the mailing list but the solutions weren't really up to mu case: that is having the file on the local FS!! The situation is /home NFS mounted and mutt refusing to do anything to every file in the home directory because of the dreaded locking mechanism. THe server is a Debian stable machine and the client is an unstable Debian client. What can I do? thanks graziano