Visit Our UNIX and Linux User Community


Not able to get mail from sun server


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Not able to get mail from sun server
# 1  
Old 12-27-2007
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
# 2  
Old 12-27-2007
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.
# 3  
Old 12-28-2007
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.....
# 4  
Old 12-28-2007
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

Previous Thread | Next Thread
Test Your Knowledge in Computers #917
Difficulty: Easy
Unix time is also known as Epoch time.
True or False?

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

2. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

3. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

4. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

5. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

Featured Tech Videos