From owner-freebsd-questions@FreeBSD.ORG Mon Mar 24 19:34:21 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0087A106566B for ; Mon, 24 Mar 2008 19:34:21 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 521D98FC47 for ; Mon, 24 Mar 2008 19:34:20 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-3) with ESMTP id m2OJH8wt023640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 24 Mar 2008 21:17:20 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2OJH3RL002414; Mon, 24 Mar 2008 21:17:03 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2OJH2j3002413; Mon, 24 Mar 2008 21:17:02 +0200 (EET) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: Robert Huff References: <18407.62370.787768.503114@jerusalem.litteratus.org> <874paw3q94.fsf@kobe.laptop> <18407.64771.350992.285915@jerusalem.litteratus.org> Date: Mon, 24 Mar 2008 21:17:02 +0200 In-Reply-To: <18407.64771.350992.285915@jerusalem.litteratus.org> (Robert Huff's message of "Mon, 24 Mar 2008 15:12:03 -0400") Message-ID: <87tziw2aq9.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m2OJH8wt023640 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.119, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.28, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: questions@freebsd.org Subject: Re: Email processing in Python 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: Mon, 24 Mar 2008 19:34:21 -0000 On Mon, 24 Mar 2008 15:12:03 -0400, Robert Huff wrote: >Giorgos Keramidas writes: >> No, there's no library for `email processing' in the C standard. You >> can probably find a lot of non-standard ones, by Googling however :) >> >> It's worth writing that plain C is the wrong language for this >> sort of thing, if you ask me. There are excellent high-level >> libraries in Perl, and Python to do this sort of thing. > > On one hand, that's probably true. > > On the other hand: I know zero Python and this much > < Perl. I tried > Perl, actually, and couldn't find the functions I needed. Heh, fair enough. It may be a good chance to start learning Python though. It's always a lot more fun to have a *real* task to do, instead of fictional `exercises'. I have written a few Python scripts to process email myself, so if you decide to go that route, please feel free to show me what you've done, describe what you want to do, and I will try to help as much as I can.