bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File locking and movemail


From: Stein A. Strømme
Subject: Re: File locking and movemail
Date: 03 Jul 2001 09:26:55 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.102

[Kai Großjohann]

| Maybe you can compile procmail on your system.  Procmail includes some
| machinery for finding the way to lock files that's used on your
| system.  You could just snarf the relevant info from there, I guess.

Perhaps.  I did compile procmail, and here is the resulting autoconf.h:

    /* This file was automagically generated by autoconf */

    /* 2 moves in 64 steps of size 16384 when reallocing */
    #define NOpw_class
    #define NOstrlcat
    #define NOsetrgid
    #define MAX_argc 7588
    /* Your system's strstr() is 1.17 times FASTER than my C-routine */
    #define UDP_protocolno 17
    #define BIFF_serviceport "512"
    #define IP_localhost {127,0,0,1}
    #define MAILSPOOLDIR "/var/spool/mail/"
    #define SENDMAIL "/usr/sbin/sendmail"
    #define defPATH "PATH=$HOME/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
    #define defSPATH "SPATH=/bin:/usr/bin:/usr/local/bin:/usr/bin/X11"
    #define PM_VERSION "3.21"
    /*locktype: 4, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/
    /*locktype: 4, countlocks: 80, timeout 0, watchdog 14, ./_locktest*/
    /*locktype: 2, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/
    /*locktype: 2, countlocks: 80, timeout 0, watchdog 14, ./_locktest*/
    /*locktype: 1, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/
    /*locktype: 1, countlocks: 80, timeout 0, watchdog 14, ./_locktest*/
    /* Hotwire LOCKINGTEST=000 */
    /* Procmail will lock via: dotlocking */
    #define NOfcntl_lock
    /* autoconf completed */

Now, what is "dotlocking", and how do I tell movemail to use that?
(Sorry for asking such stupid questions!)

| Is it a permissions problem, perchance?  The comment in movemail.c
| mentions something about permissions if your system uses lock
| files...

I noticed that, but I get the same problems if I move the mail (using
procmail) to say $HOME/spool and give this directory permissions 777.
$HOME is also NFS-mountet, by the way.

| kai

Stein
-- 
Stein Arild Strømme  <http://www.mi.uib.no/~stromme>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]