DontPruneRoutes

Don’t prune route addresses V8.1 and later

One form of address is called a route address because it specifies a route (sequence of hosts) through which the message should be delivered. For example:

@hostA,@hostB:user@hostC

This address specifies that the message should first go to hostA, then from hostA to hostB, and finally from hostB to hostC for delivery to user.[385]

RFC1123, in Enable TLS with Build, specifies that delivery agents should always try to eliminate source routing when they are able. V8 sendmail takes an address such as this and checks to see whether it can connect to hostC directly. If it can, it rewrites the address like this:

user@hostC

This is called “pruning route addresses.” There might be times when such pruning is inappropriate. Internal networks, for example, might be set up to encourage manual specification of a route through a high-speed network. If left to its own, sendmail always tosses the route and tries to connect directly.

The DontPruneRoutes option causes sendmail to never prune route addresses. The forms of this option are as follows:

O DontPruneRoutes=boolconfiguration file (V8.7 and
later)
-ODontPruneRoutes=boolcommand line (V8.7 and later)
define(`confDONT_PRUNE_ROUTES',`bool')          ← mc configuration (V8.7 and
later)
ORboolconfiguration file (deprecated)
-oRboolcommand line (deprecated)

The argument bool is of type Boolean. If it is missing, the default value is true (nothing special is done with route addresses). If the entire ...

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.