From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 01:25:33 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A048316A401 for ; Wed, 18 Apr 2007 01:25:33 +0000 (UTC) (envelope-from david+dated+1177289720.77a23e@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 51AC913C468 for ; Wed, 18 Apr 2007 01:25:31 +0000 (UTC) (envelope-from david+dated+1177289720.77a23e@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.6/8.13.6) with ESMTP id l3I0tK59093096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 17 Apr 2007 20:55:20 -0400 (EDT) (envelope-from david+dated+1177289720.77a23e@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.13.6/8.13.6/Submit) id l3I0tKKw093094 for questions@freebsd.org; Tue, 17 Apr 2007 20:55:20 -0400 (EDT) (envelope-from david+dated+1177289720.77a23e@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1177289720.77a23e@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Tue, 17 Apr 2007 20:55:19 -0400 Date: Tue, 17 Apr 2007 20:55:18 -0400 To: Vince Message-ID: <20070418005518.GA87723@skytracker.ca> References: <20070417162524.GA31956@skytracker.ca> <46253712.6080001@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46253712.6080001@unsane.co.uk> User-Agent: Mutt/1.4.2.1i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: David Banning X-Virus-Scanned: ClamAV 0.88.7/3110/Tue Apr 17 07:57:27 2007 on 3s1.com X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: sendmail with dovecot with nologin account X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 01:25:33 -0000 > >For mail-only users with-out a shell, what is the best way to direct > >mail to them in Maildir format within ~/Maildir - maybe directly from > >.forward? > > > > > Not an expert but I am just starting to think about moving from mbox to > mdir on my home server, so Id be interested in how you get on. > man procmail says > If no rcfiles and no -p have been specified on the command line, Well as to my problem, it turns out that a shell is not needed for procmailrc to work. It was the permissions on the users home directory that caused me grief. On the use of mdir, I am not yet a veteran user but so far I like it. It seems fast. I really like having each file separate, since I am backing up the users mail; with mdir I can backup only the new email which saves a lot of time on backup. I am sold on imap P as a mail delivery process. I was using imap-uw but it was not possible to create subdirectories with mail clients. Two webmail clients, squirrelmail, and round-cube are both excellent for imap use. For mbox to mdir conversion, I used mb2md which kept the original file date in tact - (better than mbox2mdir in the ports) I used the page http://batleth.sapienti-sat.org/projects/mb2md/ for reference which provides some good examples to automatically setup directories and convert mailboxes. All said, simple to setup and run. Dovecot also includes pop3 if you want to run it. If you have any questions you can try me.