File:  [CSRG BSD Unix] / 43BSD / usr.lib / sendmail / cf.hosttable / compat.m4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

divert(10)
#
#  Sendmail
#  Copyright (c) 1983  Eric P. Allman
#  Berkeley, California
#
#  Copyright (c) 1983 Regents of the University of California.
#  All rights reserved.  The Berkeley software License Agreement
#  specifies the terms and conditions for redistribution.
#
#	@(#)compat.m4	5.3 (Berkeley) 8/2/85
#
divert(0)
############################################################
############################################################
#####
#####		Provide Backward Compatibility
#####
############################################################
############################################################

define(m4COMPAT, 5.3)

include(berkhosts.m4)

#####################################################
#  General code to convert back to old style names  #
#####################################################
S5

R$+<@$-.LOCAL>		$2:$1				[email protected] => h:u
R$+<@$=Z>		$@$2:$1				u@bhost => h:u
R$+<@$=C>		$@$2:$1				u@cchost => h:u
R$+<@$-.Bitnet>		$C!$2:$1			[email protected] => cfo-relay!h:u
R$+<@$-.CC>		$C!$2:$1			[email protected] => cfo-relay!h:u
R$+<@$-.UUCP>		$2!$1				[email protected] => host!u
R$+@$+.ARPA		$1@$2				[email protected] => u@host

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.