From owner-freebsd-questions@FreeBSD.ORG Tue Apr 17 21:07:17 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 4118216A404 for ; Tue, 17 Apr 2007 21:07:17 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id CA4BF13C4CC for ; Tue, 17 Apr 2007 21:07:16 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [10.0.0.178] ([10.0.0.178]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l3HL6jE9034046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Apr 2007 22:06:46 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <46253712.6080001@unsane.co.uk> Date: Tue, 17 Apr 2007 22:07:30 +0100 From: Vince User-Agent: Thunderbird 1.5.0.10 (X11/20070324) MIME-Version: 1.0 To: David Banning References: <20070417162524.GA31956@skytracker.ca> In-Reply-To: <20070417162524.GA31956@skytracker.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 17 Apr 2007 21:07:17 -0000 David Banning wrote: > I am using dovecot imap and I am having a problem directing mail to > go to users in Maildir format when they do not have a login shell. > > It seems that the .procmailrc file is ignored and the mail is put > in mbox format into /var/mail > > 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, proc- mail will, prior to reading $HOME/.procmailrc, interpret commands from /usr/local/etc/procmailrc (if present). Care must be taken when creat- ing /usr/local/etc/procmailrc, because, if circumstances permit, it will be executed with root privileges (contrary to the $HOME/.proc- mailrc file of course). So you may need to set the default location here. Something like DEFAULT=$HOME/Maildir/ Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >