procmail
[Top] [All Lists]

Re: Procmail deliver mail after hours!!

1999-02-27 09:31:50
Nader Atoofi <nader(_at_)dpiran(_dot_)net> writes:
Thanks for your help. With your giude, I underestand that the problem is with 
mailtool(Mail client on Openlook environment)
When user using mailtool, their mail don't receive untill they close mailtool!

To quote the FAQ from the procmail source tree:

16. My mailtool sometimes reports that it is confused about the state of
    the mailbox, or I get "Couldn't unlock" errors from procmail now and then,
    or sometimes it simply seems to hang just when new mail arrives.

        This is a known bug in the OpenLook mailtool.  It holds on to the
        kernel lock on the mail-spoolfile most of the time, and releases
        this lock when it shouldn't.  Either ask for a bugfix from your
        vendor (I'm not sure if a bugfix exists), or make sure that during
        the compilation of procmail both the fcntl() and lockf() locking
        methods are disabled (see config.h).


To disable fcntl() and lockf() locking, put the following two lines in
config.h and recompile procmail:

#define NO_fcntl_LOCK
#define NO_lockf_LOCK


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>