*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> exim_lock (8)              



NAME    [Toc]    [Back]

       exim_lock - A program to lock a file exactly as Exim would

SYNOPSIS    [Toc]    [Back]

       exim_lock [-v] [-q] [-lockfile] [-fcntl|-mbx] filename [command]

DESCRIPTION    [Toc]    [Back]

       exim_lock  is  a program to lock a file in exactly the same way as Exim
       would. It is intended for the investigation of  interlocking  problems,
       but  can also be used to prevent Exim from modifying the file while you
       do something else to it (for example if you need to manually edit  your
       mailbox in /var/mail).

       Apart  from specifying the name of the file to lock, which is required,
       the following optional arguments may also be supplied to exim_lock :

       -v     specifies verbose mode (this is overridden if -q is also	specified);

       -q     specifies quiet mode (takes precendence over -v );

       -fcntl specifies that exim_lock should use an fcntl lock;

	      specifies  that  exim_lock  should  use  a  lock file (sometimes
	      called a "dotlock");

       -mbx   specifies that exim_lock should lock using MBX rules.  To  quote
	      from the source of exim_lock , "This is complicated and is documented
 with the source of the c-client library  that  goes  with
	      Pine  and IMAP. What has to be done to interwork correctly is to
	      take out a shared lock on the mailbox, and an exclusive lock  on
	      a /tmp file."

	      specifies  the command to run once the specified file is locked.
	      The mailbox will be unlocked again when this command exits.

       Note that if these parameters are not specified,  then  exim_lock  will
       lock the file using fcntl and lockfile methods, and then run a shell.

SEE ALSO    [Toc]    [Back]


       There is also extensive documentation available in /usr/doc/exim and in
       the info system (try "info exim").

       Please be sure to have the exim-doc package installed.

AUTHOR    [Toc]    [Back]

       Exim was, and mostly is, written by Philip Hazel, inspired by  Smail 3.

       This manual page was written by Nick Phillips <nwp@lemon-computing.com>
       for the Debian GNU/Linux system.

Debian GNU/Linux		 Jan 31, 2002			  exim_lock(1)
[ Back ]
 Similar pages
Name OS Title
exim_dbmbuild Linux program to build a database file for exim
exicyclog Linux program to cycle exim logs
exigrep Linux program to extract information from exim logs
exinext Linux program to extract information from exim retry database
exim_db Linux program to maintain exim mailer hint databases
eximstats Linux exim mail statistics
eximconfig Linux interactive configure script for exim
exiwhat Linux programs to query what running exim processes are doing
pthread_rwlock_rdlock IRIX lock a read-write lock object for reading
pthread_rwlock_wrlock IRIX lock a read-write lock object for writing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service