solaris 10 mail configuration

Posted on 2011-05-02
Medium Priority
Last Modified: 2013-12-27
I can successfully send email from my solaris 10 system to internal email addresses. no problems. However I want to change the ip that the mail server is relaying off of, from to but I can't find where this is setup?

My /etc/mail/sendmail.cf file doesn't have any reference to the current IP address.
# "Smart" relay host (may be null)

Any help would be appreciated.

Question by:IT_Telephonics
LVL 81

Accepted Solution

arnold earned 2000 total points
ID: 35510040
Check /etc/hosts to see if you have a record with mailhost entry.
Look at the mail log /var/log/maillog to see whether it is using a smart host i.e. all external are routed out.

NOt enough info on what the setup is and how to alter depends on the current configuration.
is mailhost.yourdomain.com to the IP that you referenced?

Expert Comment

ID: 35514300
check these lines in sendmail.cf

define(`SMART_HOST', 'relay.mydomain.com')dnl

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month13 days, 14 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question