The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Axigen, A Fresh Approach for Mail Server Admins - Server Watch iBot UNIX and Linux RSS News 0 07-12-2007 02:20 PM
mail server vetrivel UNIX for Dummies Questions & Answers 1 04-22-2006 07:18 AM
Mail Server ravneet UNIX for Dummies Questions & Answers 4 07-07-2004 05:10 AM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 06:24 PM
Help on mail server irwan UNIX for Dummies Questions & Answers 1 07-11-2001 06:14 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-27-2007
Registered User
 

Join Date: Nov 2007
Posts: 22
Not able to get mail from sun server

Dear All

I am using mailx -s commnad in one of my unix script. But i am not able to get that mail on mail id that i had mention in commnad.

Kindly suggest me possible check where i can check for problem.

Thanks
Jaydeep
Reply With Quote
Forum Sponsor
  #2  
Old 12-27-2007
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
You could check sendmail with the following:
/usr/lib/sendmail -bt -d0.1 < /dev/null

Check that DNS is working (sendmail uses DNS normally)

Check if you are logging mail commands (look at your /etc/syslog.conf file to see where they may be going). Check the file to see what errors you are getting (/var/adm/messages or possibly /var/*/sendmail).

Post any error you may get by testing mailx command from command line.
Reply With Quote
  #3  
Old 12-27-2007
Registered User
 

Join Date: Nov 2007
Posts: 22
Not able to get mail from sun server

there is no message in var/adm.

Aslo there is not any error while execution mailx -s command.

Pleaese suggest.....
Reply With Quote
  #4  
Old 12-28-2007
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
1. Post output of following when run on your server

cat /etc/syslog.conf

/usr/lib/sendmail -bt -d0.1 < /dev/null

/usr/lib/sendmail -v neverfindit@hotmail.com
test from jaydeep
Ctrl-D
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




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


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

Content Relevant URLs by vBSEO 3.2.0