#! /bin/sh

sed -e 1d | \
formail -b -f -I "Received" \
    -I "Sender" \
    -I "DKIM-Signature" \
    -I "DomainKey-Signature" \
    -I "X-Google-Sender-Auth" \
       	-I "X-Original-To" \
       	-I "Delivered-To" \
        -I "Date" \
       	-I "To" \
       	-I "Message-ID" \
       	-I "X-Newsreader" \
       	-I "Organization" \
       	-I "Return-Path" \
       	-A "Newsgroups: crans.general" \
       	-A "Path: diffusion-news" | \
   postnews news.crans.org
