How to Troubleshoot the mail sending problem?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to Troubleshoot the mail sending problem?
# 8  
Old 09-19-2014
I am saying your box is living a happy life as a standalone box... he knows nothing about your network or others...
Almost the same as if he was not connected at all...

Without knowing the IP address of the mail server there isnt much we can do...
But try to configure missing stuff if you have some help from your IT network team
You will need to configure 2 files:
Code:
/etc/resolv.conf
/etc/nsswitch.conf

Can you see if they exist and what they contain?
# 9  
Old 09-19-2014
Please Find the attachment files that you require,

nsswitch.conf and resolv.conf

Please tell me how to configure this ,

Last edited by kannansoft1985; 09-19-2014 at 09:34 AM..
# 10  
Old 09-19-2014
Quote:
I don't know how to configure the 2 files are /etc/resolv.conf and /etc/nsswitch.conf,

Please Guide and support me to help me out of this problem.
# 11  
Old 09-19-2014
So your nsswitch file says:
Code:
hosts:      files dns

In other words look for host in /etc/hosts if not try the DNS

And for your resolv.conf
the first line I dont know (I dont use that syntax...)
You have the line nameserver <IP> , You usually have 2...
And what about Domain name line?
Code:
domain   <yourDomain.whatever>

Now
Quote:
nslookup edms032
returns a not known that make us seriously doubt on the DNS...
What happens when you ping the name server?

Sample of working nslookup output:
Code:
n12:/home/vbe $ nslookup www.unix.com
Server:         XXX.YY.ZZZ.60
Address:        XXX.YY.ZZZ.60#53

Non-authoritative answer:
Name:   www.unix.com
Address: 4.59.125.171


Last edited by vbe; 09-19-2014 at 10:12 AM.. Reason: added nslookup sample
# 12  
Old 09-19-2014
Please check this,
Code:
[root@edms032~]# nslookup edms032
;;  connection timed out ; no servers could be reached

# 13  
Old 09-19-2014
Yes thats the point...
I wanted you to ping your given name server: 10.66.62.30
Because at this stage we have to get your server out of his isolation...Unless its the will of your IT services...
# 14  
Old 09-19-2014
10.66.62.30 ip not pings,what will I do the next step.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem in sending mail with attachment

Hi Team, I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB. Not sure what is wrong in the command. MSG_BODY1="hi" LOG_FILE="a/b/c/log1.log"... (2 Replies)
Discussion started by: kmanivan82
2 Replies

2. Shell Programming and Scripting

Problem in Sending mail as an attachment

Hi, I need to send a email as a txt file and i used the commands, (echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID" I received email with a attachment with all data but i get all of them in one row. For example: If file.txt contains value... (1 Reply)
Discussion started by: skcvasanth
1 Replies

3. UNIX for Advanced & Expert Users

problem in sending mail to a group

I am calling a unix script in oracle to send a mail to outlook group using mailx. The cmd looks like this: mailx -s "AA_BBB_" APPostServices@xyz.com APPostServices@xyz.com isa group but the mail is not sent but when i send mail to another group it works fine. What are the things that i... (1 Reply)
Discussion started by: petervuksich
1 Replies

4. Shell Programming and Scripting

problem in sending mail to a group

I am calling a unix script in oracle to send a mail to outlook group using mailx. The cmd looks like this: mailx -s "AA_BBB_" APPostServices@xyz.com APPostServices@xyz.com isa group but the mail is not sent but when i send mail to another group it works fine. What are the things that i... (1 Reply)
Discussion started by: petervuksich
1 Replies

5. UNIX for Dummies Questions & Answers

Problem with sending E-Mail

Im having trouble with sending a file with attachment. The attach file wasn't sent to to the recepient. We tested this manually and it works but with the script it doesn't work. I'm thinking there is a problem with the script. Here is the code: mailto=`/dir/dir2/dir3/GET_EMAIL_ADDR.sh... (9 Replies)
Discussion started by: Iq_zero
9 Replies

6. AIX

Problem sending mail

Everytime i try sending mails using the command line have a reply form the daemon saying : ? 1 Message 1: From MAILER-DAEMON Wed Apr 25 10:42:36 2007 Date: Wed, 25 Apr 2007 10:42:36 -0500 From: Mail Delivery Subsystem <MAILER-DAEMON> To: malarie MIME-Version: 1.0 Content-Type:... (0 Replies)
Discussion started by: Netghost
0 Replies

7. UNIX for Advanced & Expert Users

Problem while sending mail with attachements

Hi All, I am using mailx command in shell script to send mail with output files as attachment to my email id. When my colleague is running the shell script (script code mentioned below), he is getting the mail but without attachment. Attachment is appeared as junk characters in mail... (4 Replies)
Discussion started by: nishant_pathak_
4 Replies

8. Shell Programming and Scripting

problem sending mail to outlook

i'm a avid fan of making the output of my scripts look pretty. so as a result i put in my scripts a lot of lines that are formed by either ****** or ======= now, outlook seems to have a problem with that. it always removes something that it calls "line breakers" from the emails my scripts send... (5 Replies)
Discussion started by: Terrible
5 Replies

9. UNIX for Advanced & Expert Users

I have a problem in sending mail

Hi, I have a problem in sending mail ...... #!/usr/bin/perl -w $file_length = `cat file.txt | wc -l`; if ( $file_length == 0) {} else { `mail -s "Tool" <mymailid> < file.txt`; } Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (2 Replies)
Discussion started by: vijaysabari
2 Replies

10. Shell Programming and Scripting

I have a problem in sending mail

Hi, I have a problem in sending mail ...... #!/usr/bin/perl -w $file_length = `cat file.txt | wc -l`; if ( $file_length == 0) {} else { `mail -s "Tool" <mymailid> < file.txt`; } Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (1 Reply)
Discussion started by: vijaysabari
1 Replies
Login or Register to Ask a Question