Using Sendmail on MPE - April 2003

Using Sendmail on MPE - Solution Symposium West Page 21April 24, 2003
*.cf internals
(C and F define
classes)
a class can be thought of as a
macro containing multiple values
C defines with constants, F defines
from files, pipes, or database maps:
Cwlocalhost
# file containing names of hosts
# for which we receive email
Fw/etc/mail/local-host-names
classes perform matching in the left
hand side of rewriting rules
$=class – match an entry in the
class
$~class – match an entry not in the
class
# delete duplicate local names
# u%host@host => u@host
R$+ % $=w @ $=w $1 @ $2