From owner-freebsd-questions@FreeBSD.ORG Mon May 31 15:24:15 2004 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 36BB216A4CE for ; Mon, 31 May 2004 15:24:15 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD3B543D31 for ; Mon, 31 May 2004 15:24:14 -0700 (PDT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BUvCS-0003uZ-00 for freebsd-questions@freebsd.org; Tue, 01 Jun 2004 00:24:08 +0200 Received: from [217.1.218.168] (helo=oliverfuchs.ath.cx) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BUvCR-0007R9-00 for freebsd-questions@freebsd.org; Tue, 01 Jun 2004 00:24:08 +0200 Received: from oliverfuchs.ath.cx (localhost [127.0.0.1]) i4VMO3uF003316verify=FAIL) for ; Tue, 1 Jun 2004 00:24:03 +0200 Received: (from oliverfuchs1@localhost) by oliverfuchs.ath.cx (8.12.3/8.12.3/Debian-6.6) id i4VMMmn7003144 for freebsd-questions@freebsd.org; Tue, 1 Jun 2004 00:22:48 +0200 Date: Tue, 1 Jun 2004 00:22:48 +0200 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20040531222248.GA2494@oliverfuchs.ath.cx> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: archivemail-0.6.1 not working as expected 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, 31 May 2004 22:24:15 -0000 Hi, I want to use archivemail-0.6.1 (Python 2.3.2) on FreeBSD 5.2.1-RELEASE. I have three questions/problems with the proper use: 1) I get the error message: /usr/local/bin/archivemail:760: SyntaxWarning: assignment to None (None, last_dir) = os.path.split(os.path.dirname(message.fp.name)) I found the answer (Google) and a patch (it is a problem depending on Python 2.3). Is there another solution to this problem? 2) Running archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* like it is explained in the man-pages I have the problem that archivemail will stop archiving mail at that moment it finds a non valid mailbox format file (e.g a mutt's alias or signature file): this file is not being ignored by archivemail but instead archivemail will stop with an nonzero exit indicating "an unexpected error". I also use archivemail on my Debian box and there these files do not matter or stop archivemail from archiving when it finds a non mailbox formated file. 3) I want to run it in a cron job but to be honest I am not quiet sure where to put my archive script. In my /etc/periodic.conf I have two places where to put it: a) local_periodic="/usr/local/etc/periodic" b) monthly_local="/etc/monthly.local" # Local scripts Which one should I usei (do I have to create /usr/local/etc/periodic/monthly) and if I put a cron script to a local place will it be considered by anacron or do I have to change my settings of anacron? Thanx for any help Oliver -- ... don't touch the bang bang fruit