Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail "Smart-Host" config

Status
Not open for further replies.

barfoo99

Technical User
Aug 17, 2003
3
NZ
Hi There,

I have an internal linux box(redhat7.3), and I simply wish to configure sendmail using "smart_host" so any email generated by the box is delivered via SMTP to our main mail server.

I have entered the IP of our mail server into /etc/mail/sendmail.mc, and built sendmail.cf with "m4 sendmail.mc /etc/sendmail.cf", and restarted sendmail, with no joy.

I have been tinkering for days now, can anybody offer advice?
Sendmail is a new world to me.

Thankyou,

Julz.
 
I have managed to solve this, if anyone has the same problem:

Had to:
a) change define(`SMART_HOST',`host.domain') to define(`SMART_HOST',`[host.domain]')
(the square brackets mean dont do an MX lookup on s-mail.macraes.co.nz)

b) ADD
FEATURE(`nocanonify')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top