From owner-freebsd-questions Mon Jun 22 14:57:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02795 for freebsd-questions-outgoing; Mon, 22 Jun 1998 14:57:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from voyager.dreamhaven.net (qmailr@voyager.dreamhaven.net [208.234.113.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id OAA02789 for ; Mon, 22 Jun 1998 14:57:00 -0700 (PDT) (envelope-from data@dreamhaven.net) Received: (qmail 17257 invoked by uid 1010); 22 Jun 1998 21:57:03 -0000 Date: Mon, 22 Jun 1998 14:57:03 -0700 (PDT) From: Bryce Newall To: Evren Yurtesen cc: freebsd-questions@FreeBSD.ORG Subject: Re: nobody knows the answer? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 22 Jun 1998, Evren Yurtesen wrote: > here I have a serious problem!!! > I have moved all users' mail boxes to their home directories > like $HOME/mail > now I am not able to find a pop3 daemon which may read them > from there! > how may I find a pop3 which does this? or how may I modify > an existing pop3 daemon? I ran into the same problem when I switched from Sendmail to Qmail, which keeps user mailboxes in $HOME/Mailbox. Here's the solution: 1) Go to /usr/ports/mail/popper. 2) Do a make, but *not* make install. 3) Once make is done, go into the work/qpopper2.41beta1 directory (that's my version, yours may be different) and make the following changes to these files: Makefile: Look for the line starting with O_DEFS and add "-DHOMEDIRMAIL" onto the end of it. pop_dropcopy.c: At approximately line 284, you should see a line that reads this: strncat(p->drop_name, "/.mail",sizeof(p->drop_name) - strlen(p->drop_name)); Change the ".mail" to "mail" (or, as in my case, "Mailbox"). 4) While in that same directory, type "make", which will recompile the changed version of pop_dropcopy.c. 5) Go back up 2 directories (cd ../..) and then do "make install". You will now have a slightly hacked version of Qualcomm's QPopper, which will work with your setup. Hope that helps! - Bryce ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://home.dreamhaven.net/~data * * "Stop smirking, Number 1." -- J.L. Picard * * "I'm a doctor, not a doorstop!" -- EMH Program, ST:FC * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message