I am running Solaris 10 (sparc). All I want to do is to forward all outgoing mail to an existing enterprise SMTP server. I have been searching and I cannot figure out what steps I need to take to do this. Any help is appreciated.
Assuming you are running sendmail, you need to specify the SMARTHOST directive (and the address of your mail server) in your sendmail.mc then use that to rebuild your sendmail.ca
When I went to make the change that you reccomended I found that the SMARTHOST already pointed to a variable of mailhost. I noticed that the mailhost was already in the /etc/hosts file so I modified it to point to the SMTP server. It worked.
Now my only other question is this:
Should I (or do I need to) block incoming SMTP so that my host does not become a relay for internal spam, DOS attacks etc...? If so what is the best method to do this?
and that it has been processed into the .cf file, you're done. Sendmail will be bound only to the loopback port and you won't be able to accept any mail that could be relay-ed out. That is about the sanest practice I have seen. Do you need to do this? No. Should you deny inbound SMTP connections to most hosts in your org? Better believe it.
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.