1#!/bin/sh
2
3#
4# This script is a fake, used to collect mails sent by the true "rancid"
5# program and redirect them to file descriptor 3. This avoids to mix
6# with other log informations which do not interest us.
7#
8# History
9#   2007/07/03 : pda/jean : design
10#   2010/10/20 : pda/jean : topo integration
11#
12
13(
14	sed '1,/^$/ {
15			s/^To:.*//
16			s/^Precedence:.*//
17			s/^Subject: />>> /
18		}'
19) >&3
20