The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03:08 AM
Pull E-mail address from file, send e-mail DC Heard Shell Programming and Scripting 1 01-29-2008 02:23 AM
mail problems - how to send mail on solaris amon SUN Solaris 10 04-06-2006 09:31 AM
Send mail to any user (@hotmail,@yahoo etc) from Solaris zing UNIX for Dummies Questions & Answers 2 02-17-2004 08:53 PM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 09:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-04-2006
irasela irasela is offline
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
  #2 (permalink)  
Old 07-04-2006
dsbeerf's Avatar
dsbeerf dsbeerf is offline
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 10:34 PM..
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:30 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0