From owner-freebsd-arch@FreeBSD.ORG Thu Oct 25 21:10:27 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A326AB7; Thu, 25 Oct 2012 21:10:27 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id A01028FC16; Thu, 25 Oct 2012 21:10:26 +0000 (UTC) Received: from [192.168.1.47] (unknown [176.222.238.90]) by csmtp2.one.com (Postfix) with ESMTPA id 3A0D53018A09; Thu, 25 Oct 2012 21:10:25 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: How about finally replacing GNATS? From: Erik Cederstrand In-Reply-To: Date: Thu, 25 Oct 2012 23:10:25 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <20D7B2B9-C781-4E97-8CF3-0E495E5DFEE9@cederstrand.dk> References: <1314468512.87152.YahooMailClassic@web113511.mail.gq1.yahoo.com> <4E593932.8060303@FreeBSD.org> <86sj928vks.fsf@ds4.des.no> <4FB39F66-0434-43F1-9705-3C81CDF2A25F@cederstrand.dk> <86ehkm8s5v.fsf@ds4.des.no> <0EF669C7-0ED4-4BD4-9170-C49A7CA91603@cederstrand.dk> <1A1B117D-B9D4-4146-84B2-B9E42EDD9676@cederstrand.dk> To: Eitan Adler X-Mailer: Apple Mail (2.1499) Cc: Chris Rees , =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , freebsd-arch@freebsd.org, giffunip@tutopia.com, Julien Laffaye X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 21:10:27 -0000 Den 25/10/2012 kl. 22.15 skrev Eitan Adler : > On 25 October 2012 16:07, Erik Cederstrand = wrote: >> I'll see if I can come up with a script that can be put in = /etc/mail/aliases, the way mailman does it. >=20 > I'm not sure what this means. I just was thinking of a python script like this: #!/usr/local/bin/python import sys with sys.stdin as f: for line in f: # Parse the email line by line and then delivering emails to this script from /etc/mail/aliases: freebsd-gnats-submit: "|/root/send_pr_email_parser.py" Erik=