*BSD News Article 40311


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!sundog.tiac.net!rick
From: rick@vox.trystero.com (Richard E. Nickle)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Setting POP on FreeBSD
Date: 4 Jan 1995 04:02:43 GMT
Organization: The Trystero System
Lines: 39
Message-ID: <3ed6l3$kpk@sundog.tiac.net>
References: <3ebqiq$6ps@lucy.infi.net> <3eckl3$8tv@agate.berkeley.edu>
NNTP-Posting-Host: vox.trystero.com

In article <3eckl3$8tv@agate.berkeley.edu>,
Jordan K. Hubbard <jkh@violet.berkeley.edu> wrote:
>In article <3ebqiq$6ps@lucy.infi.net>,
>rkohli@richmond.infi.net <rkohli@infi.net> wrote:
>>Greetings,
>>	I wanted to set up our FreeBSD box as a POP server, so we could connect and receive mail using EUDORA (a mac application). The man pages don't have anything related to POP, neither does the FAQ.
>
>Look in /usr/ports/mail/popper - I recently went down this road myself
>with no prior knowledge of POP and it was no sweat..
>
>						Jordan
>

Hmmm, I ported it, and had problems, then I went and used your patches
and still had the same problem:

POP doesn't know how to delete messages properly.  I hacked on it for
some time and managed to fix some cases, but I haven't fixed them all
yet (I sorta gave up for the time being).

Basically, when you exit, if you have deleted all messages, it does
an ftruncate on the mailbox to clear it.  Unfortunately, it didn't
actually have the file open, and the program doesn't check/report
the error (EINVAL).

Okay, I fixed that one, by forcing a file open on it in that case,
but it has a seperate case if you delete n messages where n < total
number of messages.  The same ftrunc error occurs in there, but there
were some other ones too.

Anybody got a fix?  I'll dive back into it maybe next weekend, but 
if someone's already been through this...




-- 
--
Richard Nickle                      http://www.trystero.com/rick.html