From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from volumehost.com (volumehost.com [216.63.158.9]) by chiba.3jane.net (Postfix) with ESMTP id B7E7DAC4BB for ; Thu, 18 Apr 2002 22:44:01 -0500 (CDT) Received: from volumehost.com (albert.volumehost.com [10.0.0.2]) by volumehost.com (8.11.6/linuxconf) with ESMTP id g3J3i1P21017 for ; Thu, 18 Apr 2002 22:44:01 -0500 Message-ID: <3CBF928C.2000007@volumehost.com> Date: Thu, 18 Apr 2002 22:44:12 -0500 From: "Jared H. Hudson" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] /usr/spool/mail versus maildir: use item needed References: <3CBDFD6A.9050600@volumehost.com> <20020418210932.4FF15AC478@chiba.3jane.net> <3CBF417F.5020301@volumehost.com> <20020418221743.5825EAC4FE@chiba.3jane.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: a6bf28cd-d471-47ec-8146-83c2c772e67b X-Archives-Hash: 55a80aa610597768697d3ae7fc3db6e5 For example in procmail right now, the procmail ebuilder uses sed to edit the procmail source to use maildir at ~/.maildir instead of /usr/spool/mail I was going to add a use line so people can use the original mbox style /var/spool/mail, or if they choose maildir let MAILDIR_PATH tell the sed script what to change it to, that way it can be ~/Maildir or ~/.maildir The same idea could apply to ebuild foo config when a user chooses to let ebuild configure their email server, ect. Note this config is optional and for most people would just be a start to configuring such an app. For example ebuild php-* config adds php stuff to apache, but of course anyone who runs apache is going to edit their config file as well most likely. -Jared H. Thilo Bangert wrote: > On Thursday, 18. April 2002 23:58, you wrote: > >>>>use items: >>>>mbox and maildir >>> >>>what about the idea of just having one? (as they rarely will be >>>used at the same time anyway) >>> >>>hhm, i guess you can compile pine with support for both.. (?) >> >>What do you mean just having one? It makes sense to me for a user to >>put mbox or maildir in their USE items. Several programs, like pine, >>procmail, ect can handle both formats. And with patches more programs >>can handle both. So I think we need both use lines and have a user >>choose one, otherwise the default for that package will be chosen. >> > > > yes, you are right. > > >>I thought about the MAIL variable, and it would make sense, unless >>you were wanting to compile for another machine, hence a specifically >>defined MBOX_PATH or MAILDIR_PATH makes more sense, IMO. > > > i don't know the package that uses this, as i can not think of why this > would be a compile time variable... > > IMHO this should only be a runtime variable, because of the fact, that > (at least in some cases) it is up to the user to decide > > so what package needs this? > > >>-Jared H. >> > >