Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20021030155028.GA21451@openwall.com>
Date: Wed, 30 Oct 2002 18:50:28 +0300
From: Solar Designer <solar@...nwall.com>
To: popa3d-users@...ts.openwall.com
Subject: Re: "failed or refused to load"

On Wed, Oct 30, 2002 at 09:24:16AM +0100, Hatto von Hatzfeld wrote:
> On Wed, Oct 30, 2002 at 05:06:02AM +0300, Solar Designer wrote:
> > On Tue, Oct 29, 2002 at 07:03:27PM +0100, Hatto von Hatzfeld wrote:
> > > in my mailboxes there is sometimes (hard to verify under which
> > > conditions) an initial empty line (ASCII 10), either before the first
> > > "From " or as only contents of a mailbox.
> > 
> > I suggest that you start by making sure all of the software on your
> > system that may access mailboxes uses compatible locking.
> 
> As far as I know all of them use flock(). Especially procmail certainly
> does it.

The convention is to use fcntl(), not flock(), on Linux.

popa3d certainly defaults to fcntl().  Check out its params.h file you
built it with and "procmail -v".  Both should use fcntl().

> > > Or could someone tell me what to do to convince popa3d to delete
> > > initial empty lines in a mailbox?
> > 
> > That would be a modification to the state machine implemented in
> > mailbox.c: mailbox_parse(). Not too hard to do, but still some work.
> 
> Sigh; I finally should start learning a bit of C...

Well, if nothing else works, I may do this mod just for you or try to
investigate the problem right on your system, at my usual consulting
rate for own software (see http://www.openwall.com/services/).

-- 
/sd

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.