FEATURE(preserve_luser_host)

Preserve recipient host with LUSER_RELAY V8.12 and later

Normally the LUSER_RELAY mc configuration macro (LUSER_RELAY mc Macro on page 605) causes the domain part of recipient addresses to be replaced with the value given to the LUSER_RELAY macro. If this behavior is undesirable, you can define this FEATURE(preserve_luser_host) to correct it:

FEATURE(`preserve_luser_host')

With this feature defined, the recipient hostname is preserved. But note that it is preserved only for delivery agents that take a hostname. The default local delivery agent does not.

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.