sendmail alias expansion not working in RHEL
Issue
When sending emails from a host, aliases in /etc/aliases
are ignored.
If /etc/aliases
contains:
root: alerts@my.remotehost.com
Mail sent via this host for the aliased address (root
in this example) actually ends up being delivered to the local account instead of the expanded alias (i.e. it goes to root
instead of alerts@my.remotehost.com
)
Environment
Red Hat Enterprise Linux - any version
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.