sendmail defines HASFLOCK=0, apparently because, as configure says: ># flock() doens't work over NFS and there's a rumour of b0rkedness in ># Linux 2.4.x kernels ;(
and include/sm/conf.h says: >** NOTE: Override HASFLOCK as you will but, as of 1.99.6, mixed-style >** file locking is no longer allowed. In particular, make sure >** your DBM library and sendmail are both using either flock(2) >** *or* fcntl(2) file locking, but not both. I don't need NFS with sendmail. Surely flock() is not *still* broken in 2.6 kernels? Any advice?