Prev | Current Page 1457 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Then sendmail calls gethostbyname(
3) or getipnodebyname(3) to find the official name for the local host. It then looks
for the leftmost dot in the official name, and if it finds one, everything from the first character
following that dot to the end of the name then becomes the value for $m:
host.domain
?†‘
domain part made the value of $m
$m is initialized before the configuration file is read. Consequently, it can be redefined in the
configuration file or as a part of the command line. Because $m generally does not change
once it is defined, you need not prefix it with $& when using it in rules.
21.9.65 ${mail_addr}
Saved $: value for MAIL From: triple V8.10 and later
Upon receipt of the MAIL From: address, a delivery agent is selected by the RHS of a parse
rule set 0 rule, which defines a triple that contains three pieces of information for that
address:
$#delivery_agent $@ host $:address
The $: portion of the triple contains the address part of the information with any commentary
removed. For example:
gw@wash.dc.gov
Once that address is determined for the $: part of the triple, that address is copied to this
${mail_addr} macro.
${mail_addr} is transient. If it is defined in the configuration file or in the command line,
that definition can be ignored by sendmail. Note that a $& prefix is necessary when you
reference this macro in rules (that is, use $&{mail_addr}, not ${mail_addr}).


Pages:
1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469
zakłady bukmacherskie pit 37 druk opony przemysłowe nocleg lodz Wczasy nad morzem