Solved

Sendmail outgoing only?

Posted on 2008-06-09
3
2,397 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
3 Comments
 
LVL 16

Accepted Solution

by:
Hanno Schröder 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 21

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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now