From owner-freebsd-questions Thu Mar 21 3:20:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id D776D37B417 for ; Thu, 21 Mar 2002 03:20:11 -0800 (PST) Received: from hades.hell.gr (patr530-a146.otenet.gr [212.205.215.146]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g2LBJreu002328; Thu, 21 Mar 2002 13:20:04 +0200 (EET) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g2LBJrSm010671; Thu, 21 Mar 2002 13:19:54 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g2LBJrWO010670; Thu, 21 Mar 2002 13:19:53 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Thu, 21 Mar 2002 13:19:52 +0200 From: Giorgos Keramidas To: Keith Spencer Cc: freebsd-questions@freebsd.org Subject: Re: maildirs...how do I create them? Message-ID: <20020321111952.GA10536@hades.hell.gr> References: <20020321095707.25427.qmail@web12001.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020321095707.25427.qmail@web12001.mail.yahoo.com> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-03-21 20:57, Keith Spencer wrote: > Hi all here is a bit of classic ignorance/confusion > for you. > I wish to install webmail. > IMHO is a roxen module which has it(mostly) all. > It can use courier imap. > Imap needs to use maildirs. > I already have users on my system usin cucipop mail > access and I have sendmail on the system (Freebsd 4.3) > I don't understand what I have to do to create these > maildirs? Th imap docs are confuding to me. > Do I have all the mail software I need? > Am I supposed to install Qmail or something instead of > sendmail? Nah. Maildirs are just directories of the form: maildir/ new/ cur/ tmp/ You can create one by the following commands: % umask 066 % mkdir -p something/new % mkdir -p something/cur % mkdir -p something/tmp Then something/ is a valid Maildir. For extra bonus points, you can create a shell script called maildirmake, that includes the following: #!/bin/sh umask 066 for fname in "$@" ;do mkdir -p "${fname}"/new mkdir -p "${fname}"/cur mkdir -p "${fname}"/tmp done and then call it in commands like: % maildirmake /home/jenny/Maildir % cd /home % maildirmake john/INBOX jane/Maildir george/inbox Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message