1#!/bin/sh
2
3# Dummy UUCP rmail command for postfix/qmail systems
4
5SENDMAIL="/usr/sbin/sendmail"
6IFS=" " read junk from junk junk junk junk junk junk junk relay
7
8case "$from" in
9 *[@!]*) ;;
10      *) from="$from@$relay";;
11esac
12
13exec $SENDMAIL -i -f "$from" -- "$@"
14