Solved

Sendmail outgoing only?

Posted on 2008-06-09
3
2,413 Views
Last Modified: 2013-12-21
Hi there gurus:

I have a solaris 10 server that doesn't have sendmail enabled as a service - when I installed i understood sendmail to have issues w/ security, so I made sure it's off (if it's even installed, dunno if solaris 10 by default includes it).

My problem is: I now need to be able to send stuff (like alerts, etc) from this solaris box to our MS exchange email server. The Solaris box doesn't need to listen for incoming email as we don't use those capabilities. So basically, all the solaris box needs to do is relay email originating on the box  to an exchange email server.  I would take sendmail alternatives, as long as they don't hose my system. It's a production environment and wouldn't want to take chances.

0
Comment
Question by:sdcox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
Hanno P.S. earned 250 total points
ID: 21749328
a) sendmail is part of Solaris 10 software
b) You don't have to enable sendmail to send mails. It is required
     to stay up and running (as a service) if you want your server
     receive mails, act as a mailserver
     If you have some mailserver, you may use that one instead to
     distribute system messages.
c) sendmail is pretty secure -- but can get very busy it it receives
    a lot of mails and you must make sure to configure it correctly
    to avoid receiving unwanted messages. Not to mention fighting
    SPAM and the like ...
d) To use the Solaris system for sending mails only, the configuration
    file /etc/mail/submit.cf is being used.
    Usually, you don't need to tweak anything in this file.
    The only thing: Your system will have to find your "real" mailserver
    (the exchange box in your case). If you have a host with name
    "mailserver" in DNS or local /etc/hosts (aka. /etc/inet/hosts) this
    server will be used and you don't have to change anything on
    submit.cf.
    An DNS alias "mailserver" works fine.
   If you cannot change DNS entries, simply add your mailserver's IP
   address with the name "mailserver" in /etc/hosts
0
 
LVL 22

Assisted Solution

by:robocat
robocat earned 250 total points
ID: 21749630

In Solaris 10, you can configure sendmail to accept e-mails only from the local system:

#svccfg -s svc:/network/smtp:sendmail setprop config/local_only = true
#svcadm refresh svc:/network/smtp:sendmail

(if you disabled sendmail, you need to enable it first)


0
 

Author Closing Comment

by:sdcox
ID: 31465496
Ya'll were both really helpful. Thanks so much!!
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

691 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