From owner-freebsd-questions Thu Feb 20 09:01:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA22947 for questions-outgoing; Thu, 20 Feb 1997 09:01:01 -0800 (PST) Received: from base486.synet.net (DIAL31.SYNET.NET [168.113.1.34]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA22940 for ; Thu, 20 Feb 1997 09:00:51 -0800 (PST) Received: (from imdave@localhost) by base486.synet.net (8.8.5/8.8.5) id LAA04642; Thu, 20 Feb 1997 11:00:08 -0600 (CST) Date: Thu, 20 Feb 1997 11:00:08 -0600 (CST) From: Dave Bodenstab Message-Id: <199702201700.LAA04642@base486.synet.net> To: rewt@i-Plus.net Subject: Re: oops... nevermind what I said about qpopper Cc: questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: "Troy Settle" > A few days ago, I responded to a post asking how to get qpopper to > run on FreeBSD. One of the things I mentioned, was to change the > directories in popper.h. DO NOT DO THIS, YOU MAY LOOSE MAIL. > > Earlier tonight, I lost an untold amount of mail when my server > rebooted. Of course, in /etc/rc. /tmp is cleaned up. Nothing > survives... not even temporary mail files. Damn blanktime > thingie... grrr.... > > (Oh, it now seems that the easiest way to get qpopper to work, is to > 'chmod 1777 /var/mail' Are there any religious reasons why I don't > want to do this?) I've installed ftp://ftp.qualcomm.com/quest/unix/servers/popper/qpop2.2.tar.Z It's installed as: -rwxr-xr-x 2 bin bin 49152 Dec 13 17:03 /usr/local/libexec/popper with inetd.conf: pop3 stream tcp nowait root /usr/local/libexec/popper popper -s and from popper.h: #if !defined(OSDONE) && (defined(BSD) && ((BSD) >= 199103)) # define POP_MAILDIR "/var/mail" # define POP_DROP "/var/mail/.%s.pop" # define POP_TMPDROP "/var/mail/tmpXXXXXX" # define POP_TMPXMIT "/var/mail/xmitXXXXXX" # define MAIL_COMMAND "/usr/sbin/sendmail" # define OSDONE #endif Everything works fine. It runs as root, and has no problems with permissions. Perhaps I've missed something, but it works for me. Dave Bodenstab imdave@synet.net