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 > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

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
Can not send mail in solaris 5.9 irasela UNIX for Dummies Questions & Answers 1 07-04-2006 10:29 PM
I am not able to send mail form unix to other mail accounts. chinnigd UNIX for Dummies Questions & Answers 1 04-06-2006 08:31 AM
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 Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1 (permalink)  
Old 03-14-2006
amon amon is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 71
mail problems - how to send mail on solaris

Hello I am new user on solaris...

I need to configure my solaris to be able to send mails...

I know mailx command

mailx -s hello address@address.com

but I get an error...

you have mail in /var/mail/root
# hello... User unknown
/dead.letter... Saved message in /dead.letter


what should I do next...

Please help...
Thanks in advance..
  #2 (permalink)  
Old 03-15-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
mailx -s hello address@address.com
Are you sending to a username? This makes it look like you aren't.
Try some-user@address.com versus address@address.com (you have to use a valid user name on that server (address.com))
  #3 (permalink)  
Old 03-16-2006
amon amon is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 71
of course bigboy@hotmail.com how to be able to send e mail there what do I need to configure mailbox or what??

thaks for answers...
  #4 (permalink)  
Old 03-16-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try this test - see if the email goes through with this - type on the command line what's in bold - I'm using the email address you posted - change as needed.

mailx -s "test from `hostname`" bigboy@hotmail.com < /dev/null

Post the output if any or confirm if the email did get received or not.
  #5 (permalink)  
Old 03-17-2006
amon amon is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 71
I tried that trick send from file...that is emptyy...still something is wrong with conf.
  #6 (permalink)  
Old 03-17-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Please answer this question: Was the email delivered to bigboy@hotmail.com?

Yes, it would be empty - but it was only to test if the email was sent and received, not a test to check content.

If it was received, you can do the following to see a non-blank email:

echo "quick message" > /tmp/bigboy-junk-from-amon
mailx -s"test from amon" bigboy@hotmail.com < /tmp/bigboy-junk-from-amon

Please report if bigboy gets this message or not.
  #7 (permalink)  
Old 03-21-2006
amon amon is offline
Registered User
  
 

Join Date: Jan 2006
Posts: 71
no mail has not been delivered
I was wondering do I need to configure MTA or something with DNS...

OK I get this error when I check in mail..

----- The following addresses had permanent fatal errors -----
myaddress@domain.com

----- Transcript of session follows -----
550 5.1.2 myaddress@domain.com... Host unknown (Name server: mailhost: host not found)

--k2L7IoI22312.1142925530/x3commbrsrv.
Content-Type: message/delivery-status

Reporting-MTA: dns; x3commbrsrv.
Arrival-Date: Tue, 21 Mar 2006 08:18:50 +0100 (MET)

Final-Recipient: RFC822; myaddress@domain.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; mailhost
Last-Attempt-Date: Tue, 21 Mar 2006 08:18:50 +0100 (MET)

--k2L7IoI22312.1142925530/x3commbrsrv.
Content-Type: message/rfc822

Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by x3commbrsrv. (8.11.6+Sun/8.11.6) id k2L7IoH22312;
Tue, 21 Mar 2006 08:18:50 +0100 (MET)
Date: Tue, 21 Mar 2006 08:18:50 +0100 (MET)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200603210718.k2L7IoH22312@x3commbrsrv.>
To: myaddress@domain.com
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="k2L7IoH22312.1142925530/x3commbrsrv."
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--k2L7IoH22312.1142925530/x3commbrsrv.

The original message was received at Tue, 21 Mar 2006 08:18:49 +0100 (MET)
from root@localhost

----- The following addresses had permanent fatal errors -----
myaddress@domain.com

----- Transcript of session follows -----
550 5.1.2 myaddress@domain.com... Host unknown (Name server: mailhost: host not found)

--k2L7IoH22312.1142925530/x3commbrsrv.
Content-Type: message/delivery-status

Reporting-MTA: dns; x3commbrsrv.
Arrival-Date: Tue, 21 Mar 2006 08:18:49 +0100 (MET)

Final-Recipient: RFC822; myaddress@domain.com
Action: failed
Status: 5.1.2
Remote-MTA: DNS; mailhost
Last-Attempt-Date: Tue, 21 Mar 2006 08:18:50 +0100 (MET)

--k2L7IoH22312.1142925530/x3commbrsrv.
Content-Type: message/rfc822

Return-Path: <myaddress@domain.com>
Received: (from root@localhost)
by x3commbrsrv. (8.11.6+Sun/8.11.6) id k2L7InI22310
for myaddress@domain.com; Tue, 21 Mar 2006 08:18:49 +0100 (MET)
Date: Tue, 21 Mar 2006 08:18:49 +0100 (MET)
From: myaddress@domain.com
Message-Id: <200603210718.k2L7InI22310@x3commbrsrv.>
To: myaddress@domain.com
Subject: hi


--k2L7IoH22312.1142925530/x3commbrsrv.--


--k2L7IoI22312.1142925530/x3commbrsrv.--









so I have to say that I send mail with this command:

/bin/mailx -s "hi" -r myaddress@domain.com myaddress@domain.com < t ,


where myaddress@domain.com is my address and I did not put my real address here..
I also set IP of mail server in etc/hosts:

123.123.123.123 domain.com


so what could be a problem??


thanks friends...
Sponsored Links
Closed Thread

Bookmarks

Tags
sendmail

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 08:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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