Sun Microsystems Sun Workstation 100U System Manager's Manual page 350

Table of Contents

Advertisement

Sendmallln.tallation and Operation Gulcl.
10
all addresses into a cleaner lorm.
Once you have ruleset three IIDished, the other ruiesets should be relatively
trivial.
II
you Deed hints, examiDe the supplied coa81uratioa tables.
1.3.1. Teatlnl tb. rewrltlDl rul .. - the -bt 8 .
When you build a con81uratioD table, you can do a certain amouDt 01 testinl
using the "test mode"
01 Ben4mtJil.
For example, you could iDvoke .en4mail u:
sendmail -bt -Ctest.cf
which would read the cODftguratioD 81e
'eB'.c/
aDd eDter test mode.
In this mode, you
en ter lines
01
the lorm:
rwset address
where
rwaet
is the rewritiDI set you want
to
use aDd tJ44re" is
aD
address to apply the
set to. Test mode shows you the steps it takes
as
it proceeds, IIDally showiDI you the
address it ends up with. You may use a comma separated list
01
rwsets lor sequeDtial
application or rules to an input; ruleset three
is
alway8 applied first. For example:
1,21,4 monet:bollard
first applies ruleset three
to
the input "moDet:boUard." Ruleset ODe is theD applied to
the output
01
ruleset three, lollowed similarly by rulesets tweDty-oDe and lour.
If you need more detail, you can also use the -clil 8ag to tum OD more debul-
ging. For example,
sendmail -bt -d21.99
turns on an incredible amount
01
inlormation; a sinlle word address is probably loin I
to print out several pages worth
01
inlormation.
&.3.1.
Bundlnl
maner de.erlptlona
To add an outgoinl mailer to your mail system, you wiD have
to
deftne the
characteristics
01
the mailer.
Each mailer must have an internal Dame. This
CaD
be arbitrary, except that the
names "local" and "prog" must be deftned.
The path name
01
the mailer must be liveD iD the P fteld.
II
this mailer should be
accessed via an
IPC
connection, use the strinl
"(IPC)"
instead.
The F field defines the mailer 8ags. You should specify
aD
"r'
or "r" lIal to pall
the name
01
the sender as a -lor
-r 8al respectively. These lIal8 are only passed if
they were passed
to ,endmail,
80
that mailers that give errors under some circumstances
can
be
placated.
If
the mailer is Dot picky you caD just specify
"-I ,,"
in the arlv
template. If the mailer must be called as
root
the "S" lIal should be given; this will
not reset the userid before calling the mailer'.
II
this mailer is local (i.e., wiD perlorm
final delivery rather than another network hop) the
"I" lag should be liveD. Quote
characters (backslashes and " marks) can be stripped lrom addresses
il the "s" lIal is
specified; if this is not given they are passed through. If the mailer is capable
01
send-
ing to more than one user on the same host iD a single transactioD the "m" 8al should
be stated. If this flag is on, then the argv template containinl
Su
wiD be repeated lor
each unique user OD a given host. The "e" las wiD mark the mailer as beiDI "expen-
sive," which will cause
BentlmtJil
to deler cODDectioD uDtii a queue rUD·.
An unusual case is the "C" 8al. This 8al applies to the mailer that the messale
is received from, rather thaD the mailer
beiDa
&ent to; if set, the domain spec of the
8S
e
.4I •• 11
m1lst
be
nlDDiDC set1lid
to
roo' for 'his
\0
work.
~he
ICC"
cOIl&I1lra.tio. op'io. m1lS' be live. for 'hil
to
be elective.
Venlon 4.1
Lad Modl/II/la

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents