Microsoft
Software
Hardware
Network
Question : Sending email alerts
Hello,
I have writen a script to check filesystem usage on the Solaris 2.6 system.
This server resides in my Company's internal network. I am able to send email
alerts to my work email address from this server(solaris 2.6) But i am not able to send email to
my yahoo or hotmail account.
If I run same script on another server (also in internal network but running solaris 9) I am able to send email to
both my office email address and to my yahoo and hotmail accounts.
Can someone please suggest something so that i am able to send email from Solaris2.6 server also.
I am sure some settings are not correct to send outside of company. Please advise.
Regards
OraCop
Answer : Sending email alerts
Please check for the "DS" entry in the /etc/mail/sendmail.cf file. If your Solaris server is not directly on the internet and/or does not have mailing capability it uses Relay host to send mails into the internet. The Relay host would have the capabilities
of sending e-mails into the internet. Depending on the version of "sendmail" on your server, you may try to look for an entry like the one mentioned below,
# "Smart" relay host (may be null)
#DSmailhost.$m
Add an entry as follows to your /etc/mail/sendmail.cf,
DSyour-mail-host@your-comp
any.com
Next, bounce your sendmail daemon.
To stop the sendmail daemon,
/etc/init.d/sendmail stop
To start the sendmail daemon,
/usr/lib/sendmail -bd -q15m
It would also be good to compare the sendmail.cf files on both your servers.
Random Solutions
IIS7 and DNS on Server 2008
WSUS headaches - accidentally picked too many updates and now cannot remove; also some duplicates appear to be showing?
var dump not working correctly
Problem printing addresses on envelopes withWord 2003, XP Home
Keyboard assign at Windows Login
How to image server with multiple disks/partitions with Ghost?
The recipient was unavailable to take delivery of the message
can't open Access database from explorer or shortcut
Crystal Reports, ver 8.5, extract portion of text field as number
Server: Msg 137, Level 15, State 2, Line 9: Must declare the variable '@vriable'.