How about finally replacing GNATS?

Erik Cederstrand erik at cederstrand.dk
Thu Oct 25 21:10:27 UTC 2012


Den 25/10/2012 kl. 22.15 skrev Eitan Adler <lists at eitanadler.com>:

> On 25 October 2012 16:07, Erik Cederstrand <erik at cederstrand.dk> 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.
> 
> 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


More information about the freebsd-arch mailing list