Re: qpopper and uw-mapd locking interaction in server mode

Randall Gellens <[email protected]> Fri, 16 May 2008 14:33:20 -0700
Newsgroups gmane.mail.qpopper
Message-ID <[email protected]>
At 8:48 AM -0400 5/12/08, Joe Maimon wrote:

>  I am looking to make them work together, Blackberry users 
> corrupting spool drops is becoming a real problem (easily fixed by 
> removing top few lines of spool file that appear to be a partially 
> deleted msg).
>
>  I understand that there are possibly two patchsets for locking, the 
> ntua patch and one from Clifton Royston.
>
>  I would like to take a stab at these, so if anyone can point me at 
> some resources, I would apppreciate it.

What locking method is uw-mapd using (and do you mean uw-imapd?). 
Qpopper uses flock() and dot-lock, depending on the operation.  On 
some platforms, Qpopper has to emulate flock(), which can cause 
interoperability problems with uw-imapd.

Assuming you run ./configure prior to make, the config.h file 
produced should indicate if Qpopper needs to emulate flock().  If you 
'fgrep HAVE_FLOCK config.h' what does it show?

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Any smoothly functioning technology will be
indistinguishable from a rigged demo.  --Isaac Asimov