#!/bin/sh FORMAIL=/usr/local/bin/formail if [ -n "$1" ]; then grep -v "X-Label:.*$1" | $FORMAIL -fA "X-Label: $1" else exit 1 fi