#!/bin/bash
# $1	subject

file="/tmp/$1".$$
dest=mirror	# recipient

cat > "$file"
if [ -s "$file" ]; then
	tr -d '\015' < "$file" | mail -s "$1" $dest
fi
rm "$file"
