~ubuntu-branches/ubuntu/trusty/postfix/trusty-proposed

« back to all changes in this revision

Viewing changes to auxiliary/rmail/rmail

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-02-27 09:33:07 UTC
  • Revision ID: james.westby@ubuntu.com-20050227093307-cn789t27ibnlh6tf
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

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