9.3 Testing Rule Set 0To see that what we describe is actually what happens, take a moment to add rule set 0 to the end of your client.cf file:
Now run
sendmail
in rule-testing mode and give it
the address
% The change to the workspace caused by rule set 0 is exactly as predicted:
$# hub $@ mailhost $: boss @ acme
Components from the workspace triple are used by
sendmail
to define
macros used by delivery agents. For example, the text after
from $@ in rule set 0 Mhub, P=[IPC], S=0, R=0, F=mDFMuXa, T=DNS/RFC822/SMTP, A=IPC $h Mlocal, P=/bin/mail, F=lsDFMAw5:/|@rmn, S=0, R=0, A=mail -d $u from $: in rule set 0 Rule set 0 is different from the other rule sets in several important ways. We'll begin explaining the other rule sets in the next chapter. For now, just be aware that there are a few exceptions to rules in sendmail :
|
|