[lug] standalone sendmail
horlenkarl at yahoo.com
Mon Nov 26 14:28:35 MST 2007
Let me see if I can simplify this.
# cat /etc/aliases
root: name at isp.com
When I send a message to root
# echo test | mail -s test root
I want it to immediately be sent to the alias for
However, sendmail first tries to append the domain
named found in /etc/hosts to it before relaying it so
that always fails (example root at etchostdomain.com).
But on the failure of the first relay attempt, the
error of the first mail is then routed correctly to
name at isp.com, root's alias.
Which appears to indicate that the root alias works
the way I want it to when mail errors are generated
but not when I send directly to root.
Does that make sense?
Never miss a thing. Make Yahoo your home page.
More information about the LUG