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')
Hi Samward,
Just confirming: you need to allow *incoming* connections on port 80?
If so you could create a NAT pinhole entry to your http server machine:
ip nat inside source static tcp <internal-IP-Address> 80 interface <enternal-interface> 80
You could then just throw an access list...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.