From owner-freebsd-questions@FreeBSD.ORG Thu May 31 21:36:04 2007 Return-Path: X-Original-To: freebsd-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 9ED0416A469 for ; Thu, 31 May 2007 21:36:04 +0000 (UTC) (envelope-from lisa@jellico.com) Received: from mail.jellico.com (mail.jellico.com [207.191.185.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5BAEA13C469 for ; Thu, 31 May 2007 21:36:04 +0000 (UTC) (envelope-from lisa@jellico.com) Received: from lisac (lisa.jellico.com [207.191.185.213]) (authenticated bits=0) by mail.jellico.com (8.12.6/8.12.6) with ESMTP id l4VLPGt7023790 for ; Thu, 31 May 2007 17:25:16 -0400 Message-ID: <01a301c7a3c9$d319dcf0$d5b9bfcf@lisac> From: "Lisa Casey" To: References: <200705312221.23108.lacoste@univ-paris12.fr> Date: Thu, 31 May 2007 17:22:42 -0400 Organization: Netlink 2000, Inc. MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Scanned-By: MIMEDefang 2.48 on 127.0.0.1 Subject: Re: deleting old mails 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: Thu, 31 May 2007 21:36:04 -0000 Hi, I've used archmbox for a long time on a Sendmail server with no problems at all. Dunno if you'll have the same experience with Postfix, but as far as I'm concerned, archmbox works very well. Lisa Casey jellico.com, Inc. ----- Original Message ----- From: Thierry Lacoste To: freebsd-questions@freebsd.org Sent: Thursday, May 31, 2007 4:21 PM Subject: deleting old mails I'm running a postfix server on FreeBSD 6.1 and I'd like to have a cronjob which deletes old mails from mboxes in /var/mail. I tried mail/archivemail but it cannot create it's lock file in /var/mail because it runs as the user owning the mailbox on which it operates. I also tried mail/archmbox but I'm wondering if it is safe to use it while postfix is running. Quoting the manual: A few words about locking. There has been a discussion about archmbox handles file locking. The answer is simple: no mailbox is ever locked. The reason behind this behavior is that I want archmbox to be as least invasive as possible, so other kind of checks are performed to ensure that no data is lost (mailbox has changed/mailbox is in use by another program). I will surely add some locking mechanism in the future. Any help would be appreciated. Regards, Thierry. _______________________________________________ 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" -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.4/825 - Release Date: 5/30/2007 3:03 PM