[Exim] [patch] flock() support for appendfile

Top Page
Delete this message
Reply to this message
Author: Mark Rigby-Jones
Date:  
To: exim-users
Subject: [Exim] [patch] flock() support for appendfile
A promised last week, I've cooked a patch to add support for flock()
locking to the appendfile transport. Please send me any comments,
suggestions & ribald remarks abou the quality of my code ;-)

The patch can be found at
http://www.community.net.uk/~mrj/exim-4.10-flock.patch

Brief description:
Two new options are added to the appendfile transport, use_flock and
lock_flock_timeout - analagous to the fcntl options. flock() and fcntl()
locking can be used simultaneously. use_mbx_lock can now be used together
with use_flock and/or use_fcntl - in the case the locks will be obtained as
per MBX locking rules rather than directly on the mailbox. use_flock is off
by default, use_fcntl is on by default unless use_flock is set.

mrj
--
              Mark Rigby-Jones, Head of Systems, ts.com Ltd
      Windsor House, 12 High Street, Kidlington, Oxford OX5 2PJ, UK
   Tel: +44-1865-856000 (Direct: +44-1865-856009) Fax: +44-1865-856001
            mrj@??? <*> http://www.community.net.uk/~mrj/