From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 06:23:28 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFED416A4CE for ; Mon, 14 Mar 2005 06:23:28 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 748B643D49 for ; Mon, 14 Mar 2005 06:23:28 +0000 (GMT) (envelope-from bsd@kelleycows.com) Received: from [10.3.29.200] (c-24-30-114-40.we.client2.attbi.com[24.30.114.40]) by comcast.net (sccrmhc12) with ESMTP id <20050314062327012001m0fte>; Mon, 14 Mar 2005 06:23:27 +0000 Message-ID: <42352DD9.9060600@kelleycows.com> Date: Sun, 13 Mar 2005 22:23:21 -0800 From: Christopher Kelley User-Agent: Mozilla Thunderbird 1.0 (X11/20050313) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20050313171401.893BD16A4E7@hub.freebsd.org> In-Reply-To: <20050313171401.893BD16A4E7@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsdbeni@spymac.com Subject: Re: Thunderbird and local mail ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 06:23:29 -0000 You Wrote: >Hi, > >System: 5.3-REL-p5 > >I would like to get my local mail (from /var/mail/) in my >Thunderbird (v1.0 - 20050310) mailbox. > >I found >http://lists.freebsd.org/pipermail/freebsd-questions/2003-December/027652.html >which is talking about version 0.3... But I get the same message as >described after having created a movemail mailbox : "unable to create >.lock file". I've tried to set up a movemail for the user and one >for Root, but get the same message back. > >So, how do I get those local mails transferred into my mailbox ? > >Beni. > Hi, The popup message on Thunderbird tells you (somewhat cryptically) what you need to do. I believe it says something along the lines of: --- Unable to create .lock file. For movemail to work, it is necessary to create lock files in the mail spool directory. On many systems, this is best accomplished by making the spool directory be mode 01777. --- The spool directory is /var/mail, so what I did was (as root), cd to /var, then 'chmod 1777 mail'. Please note that this machine is behind a firewall, and provides no services to the internet, so I'm not very concerned about any security holes doing this may open up. I'm using Tbird 1.0, and I haven't touched my sendmail configuration from the "factory defaults". I redirected (via /etc/mail/aliases) the "root" mail to the normal user that runs X. Christopher