Szerző: Jeremy C. Reed Dátum: Címzett: exim-users Tárgy: Re: [Exim] (quite ot) pop3 client for virtual users
On Fri, 28 Sep 2001, Matthew Byng-Maddick wrote:
> What locking mechanism does vm-pop3d use? Have you made sure it is compatible
> with exim's delivery locking?
vm-pop3d (which is based on gnu-pop3d code) makes a username.lock file and
does:
fl.l_type = F_RDLCK;
fl.l_whence = SEEK_CUR;
fl.l_start = 0;
fl.l_len = 0;
fcntl(fileno(mbox), F_SETLK, &fl)
Jeremy C. Reed
p.s. I've been told that when delivering mail with procmail, gnu-pop3d may
cause lost messages, because it opens (using fopen() and freopen()) the
mailbox multiple times with two different modes ("r" and "r+").