Книга: Linux Network Administrator Guide, Second Edition

Some Useful Macro Definitions

Some Useful Macro Definitions

sendmail uses a number of standard macro definitions internally. The most useful of these in writing rulesets are:

$j

The fully qualified domain name of this host.

$w

The hostname component of the FQDN.

$m

The domain name component of the FQDN.

We can incorporate these macro definitions in our rewrite rules. Our Virtual Brewery configuration uses the $m macro.


Генерация: 1.081. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз