This will do what you're looking for, much easier.

in main.cf:

mydomain =  arlut.utexas.edu

# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites.  If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# user@that.users.mailhost.
#
myorigin = $mydomain

Best,
--Glenn

Reply via email to