If this is the initial configuration of sendmail, then edit:
Edit: /etc/mail/freebsd.submit.mc
repleace, FEATURE(`msp’, `[127.0.0.1]‘)dnl
with, FEATURE(`msp’, `[<ip-of-mail-host>]‘)dnl
or with, FEATURE(`msp’, `[<domain-name-of-mail-host>]‘)dnl
Then, in /etc/mail, run:
# make all install
Otherwise, edit /etc/mail/submit.cf (about line: 114) to have:
D{MTAHost}[<ip-of-mail-host>]
or
D{MTAHost}<domain-name-of-mail-host>
Neither of these methods should require a restart of sendmail. At least this was the case on my machine.
July 16, 2009 at 4:05 pm |
Thanks for the quick reference