LOCAL_RELAY mc Macro
Unless you specify otherwise, any address that is a
username without any @host part
is delivered using the local
delivery agent. If you prefer to
have all such mail handled by a different machine,
you can define that other machine with the
LOCAL_RELAY mc macro.
Note that a relay is different from the knowledgeable hub defined with MAIL_HUB. (See later in this chapter for an illustration of how MAIL_HUB and LOCAL_RELAY interact.)
This mc macro is deprecated because it doesn’t work well with some MUAs—for example, mh( ). This is because some MUAs put a host part on all addresses even if only the user part was specified.
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.