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=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from red.ces.clemson.edu (red-pc.ces.clemson.edu [130.127.222.102]) by chiba.3jane.net (Postfix) with ESMTP id 37060ACA99 for ; Wed, 17 Apr 2002 18:11:25 -0500 (CDT) Received: by red.ces.clemson.edu (Postfix, from userid 1000) id 2FD1DA8360; Wed, 17 Apr 2002 19:08:38 -0400 (EDT) Subject: Re: [gentoo-dev] /usr/spool/mail versus maildir: use item needed From: Grant Goodyear To: gentoo-dev@gentoo.org In-Reply-To: <3CBDFD6A.9050600@volumehost.com> References: <3CBDFD6A.9050600@volumehost.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 17 Apr 2002 19:08:38 -0400 Message-Id: <1019084918.19581.42.camel@red.ces.clemson.edu> Mime-Version: 1.0 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: e39ddb69-2f2b-4990-8dc7-7b42f2612fd2 X-Archives-Hash: 6702f3b69907384d65f940480ce83fd7 On Wed, 2002-04-17 at 18:55, Jared H. Hudson wrote: > I need a use item that will tell programs whether to build support for > /var/spool/mail or ~/.maildir > > for the ~/.maildir, I think "maildir" is appropiate. > For /var/spool/mail I do not know what the keyword should be...any ideas? > > For example, procmail by default delivers to /var/spool/mail, but the > ebuild we have changes that to deliver to ~/.maildir. I would like to > make this a option based on a use item. I suggest "mbox" or "maildir", since that's what almost everybody calls the two major types of mailboxes. Seemant points out that only one flag is really needed, since mbox and maildir formats are never used simultaneously system-wide. Another alternative would be to have a flag in /etc/rc.conf (or /etc/conf.d/mail, if preferred) for MAILBOX_TYPE, although I suppose that it's always possible that somebody might change schemes and then want to know which packages were built w/ which mbox/maildir USE flags. I've been wanting to implement this forever, and never got around to it. Since you're willing, pick your favorite approach and go with it. Feel free to rework any other parts of our mail system that need updating. Thanks, Grant