The LOCAL_UUCP mc Macro
If you enable UUCP, the parse
rule set 0 normally adds rules
that select UUCP delivery agents. First, locally
connected UUCP addresses are detected and the
appropriate UUCP delivery agent is selected based on
each such address found. Addresses in the class
$=Z
select the
uucp-uudom
delivery agent. Addresses in the class $=Y
select the uucp-new
delivery agent.
And addresses in the class $=U
select the uucp-old
delivery agent.
Finally, the parse
rule set 0 adds rules that detect remotely connected
UUCP addresses.
Beginning with V8.13, if you need to add rules between
these two phases (between the detection of local
UUCP addresses and remote UUCP addresses), you may
do so by utilizing this new LOCAL_UUCP
mc macro. For
example, the following mc file entry:
LOCAL_UUCP
R$* < @ $={ServerUUCP} . UUCP. > $* $#uucp-uudom $@ $2 $: $1 < @ $2 .UUCP. >
$3
causes the preceding new rule to be added to the
parse
rule set
0 in the location shown here:
# resolve locally connected UUCP links
...
← New rules added here# resolve remotely connected UUCP links (if any)
Note that the LOCAL_UUCP
mc macro is not
intended for casual use. It should be used only to
solve special UUCP needs that cannot be solved using
more conventional methods.
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.