The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable to send mail, on sun solaris saisivakumar Shell Programming and Scripting 3 05-28-2008 12:08 AM
Pull E-mail address from file, send e-mail DC Heard Shell Programming and Scripting 1 01-28-2008 10:23 PM
mail problems - how to send mail on solaris amon SUN Solaris 10 04-06-2006 06:31 AM
Send mail to any user (@hotmail,@yahoo etc) from Solaris zing UNIX for Dummies Questions & Answers 2 02-17-2004 04:53 PM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 05:24 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2006
Registered User
 

Join Date: Jan 2006
Posts: 9
Can not send mail in solaris 5.9

Hi !!

I'm trying to send myself a mail from my Solaris server, i had tryed with this commands:

mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt

mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt

sendmail -F "test" address "irasela.yahoo.com" -t </monitoring/space/bitacora.txt

No error appear but never the yahoo account never get the mail.

Is there some special service i have to enable to run the mail/mailx/sendmail commands???

What can i do? Thks in advance!!

Best regards
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-04-2006
dsbeerf's Avatar
Registered User
 

Join Date: Dec 2005
Location: Chicago, IL USA
Posts: 58
Quote:
Originally Posted by irasela
Hi !!

I'm trying to send myself a mail from my Solaris server, i had tryed with this commands:

mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt

mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt

sendmail -F "test" address "irasela.yahoo.com" -t </monitoring/space/bitacora.txt

No error appear but never the yahoo account never get the mail.

Is there some special service i have to enable to run the mail/mailx/sendmail commands???

What can i do? Thks in advance!!

Best regards
This depends on how your mail is "set up". Do you have an ISP ? Does your "normal" email client connect to a remote server to send and recieve email ? Do you run your own mail server (it doesn't sound like it.)

The easiest way to "band-aid" this would be to get the IP address of the remote machine (at your ISP) you normally use to send email and place it in your /etc/hosts file with the name "mailhost".

The "standard" Sun sendmail.cf (subsidiary.cf) file still contains a "SmartHost" reference to "mailhost" as either the "Smart Relay Host" (Up to Solaris 9), OR as the "FallbackSmartHost" in Solaris 10.

So defining the "mailhost" in /etc/hosts as your REAL mail hub should work.

As an added thought, if you have a "mail hub" (like if you are at work), setting THAT machine to have a CNAME (in DNS) or an alias (in /etc/hosts ) of "mailhost" will direct your Solaris 9 server to send any email to THAT machine. The "mail hub", if it is already setup (properly) will handle any email you send to it, and (barring any SPAM filters) will send out your email as it should be sent.

The BEST answer is to buy the latest "Bat" book, and study the configuration of sendmail by yourself.

Last edited by dsbeerf; 07-04-2006 at 07:34 PM.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0