DNS config preventing mail delivery


 
Thread Tools Search this Thread
Special Forums IP Networking DNS config preventing mail delivery
# 1  
Old 06-18-2015
DNS config preventing mail delivery

Hi

Please can you help on this: the Net Admins decided to use DNS to resolve names, so this is preventing mail being delivered when using commands like
Code:
date | mailx -s "test" abc.xyz@asdf.xx.yy

.
What we were asked was to edit
Code:
/etc/resolv.conf

and add 3 entries, in all servers
# 2  
Old 06-18-2015
Normally a network admin task, however not a terribly complex one...
simply add a nameserver entry for the DNS hosts in use (or a search pragma for local domains )
eg.
Code:
search asdf.xx.yy xx.yy
nameserver 10.0.0.59
nameserver 192.168.1.59

or you can indicate a local domain by setting the env variable LOCALDAOMAIN, eg...
Code:
export LOCALDOMAIN="$LOCALDOMAIN asdf.xx.yy"

# 3  
Old 06-18-2015
May be I did not express myself correctly. what is happening is ever since the net Admin decided to use DNS to resolve names, the
Code:
mailx

command is not working anymore, so the servers are not sending email alerts to administrators
# 4  
Old 06-18-2015
You are absolutely right, you did not express yourself correctly. Even after the second attempt, I'm not sure what you want/need.
When net admins decide to modify essential services, they also should take care of the ramifications, i.e. set up the entire system / domain so it works correctly after their m...aintenance. But even if they introduced DNS, you still could use the hosts (i.e. files) name resolution option. Or, just for test purposes, you could mail to the user@numericalIP.
# 5  
Old 06-18-2015
Ok, before I was asked to edit
Code:
/etc/resolv.conf

and add some entries, I was able to use the
Code:
mailx

command from any server to send email from servers to myself and other people. But now I am not able to send emails from any server
# 6  
Old 06-18-2015
So your MTP (probably sendmail if you don't know which transfer program your using) cannot resolve the asdf.xx.yy domain.
Can you do the following
Code:
telnet asdf.xx.yy 25
ehlo
MAIL FROM:<fretagi@this.host>
RCPT TO:<abc.xyz@asdf.xx.yy>
DATA

This is a test mail, did I get it.
.
quit

If not, at what point does it fail?
# 7  
Old 06-18-2015
this is it:
Code:
? mail from: fretagi@this.host
Subject: test
rcpt to : abc.xyz@asdf.xx.yy
test3, test 4
.
EOT
? from:... List:; syntax illegal for recipient addresses
/dead.letter... Saved message in /dead.letter

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Qmail mail delivery problem

Dear Concern, As per below article, we have configured qmail in our system. THE LINUX STUFF: qmail Installation Steps on Linux But when we try to send any mail in own domain, got below error message. Please advise. Apr 17 17:01:20 BLAUDITSCPTEST sendmail: alias database /etc/aliases... (0 Replies)
Discussion started by: makauser
0 Replies

2. UNIX for Dummies Questions & Answers

DNS mail server configuration

Hello fellow unix dudes, I have a question on DNS. Basically the error is my domain.com server can not send email to my mail.domain.com server. I have a virtual server with one IP say 192.10.11.12 and a mail server with iP 172.4.5.6 When the virutal server on ip 192.10.11.12 was setup,... (0 Replies)
Discussion started by: photon
0 Replies

3. IP Networking

DNS Cache-Only Config Advice

Hi Chaps and Chappettes, I've had a short period of time recently to learn and implement DNS cache-only in our organisation. Trouble is, according to my tcpdumps, the amount of traffic on port 53 has increased. This is of course the exact opposit of the desired effect. Would y'all mind looking... (2 Replies)
Discussion started by: danny.hudson
2 Replies

4. Ubuntu

Linux Redhat ES 4.0 - DNS Config Issues

Hello all, I've a very strange thing hapenning in my Sys, I've configured the IP, DNS eveything for my internat connection, but Im only able to browse Redhat.com websites. I cant open anyother site!!! :eek: Im sure the internet is configured 'coz it displays the list of avail updates for... (11 Replies)
Discussion started by: AbhijithS
11 Replies

5. UNIX for Advanced & Expert Users

Mail/DNS problem and questions

It seems that mail from our servers are going through a third party security mail scanner (offsite), due the the mx records specified on our internal and external DNS servers. However, our internal user to user email does not go through the third party security mail scanner. I discovered... (2 Replies)
Discussion started by: xnightcrawl
2 Replies

6. UNIX for Dummies Questions & Answers

Mail delivery confirmation

If I am sending mail with this command: mail .......@whatever.com < filename, is it possible to get delivery confirmation? Thanks (3 Replies)
Discussion started by: CSGUY
3 Replies

7. Solaris

DHCP DNS Config

I'm running Solaris 9 and I need my box to request it's DNS servers off a DHCP server - can I do this? (1 Reply)
Discussion started by: Jdogg
1 Replies

8. UNIX for Dummies Questions & Answers

553 config error: mail loops back to me (MX problem)

I recieve 553 5.3.4 mail.xxxx.com config error: mail loops back to me (MX problem?) when I try to send email from client . The message reaches the server and dies there I'm using sendmail 8.12.9 on OpenBSD 3.3. I can check mail on client with no problem Thanks for any help (5 Replies)
Discussion started by: bluehell
5 Replies

9. UNIX for Advanced & Expert Users

how to send mail from aix to lotus with dns

hi , before installing dns on my server, all was ok I was able to send message from aix to my lotus notes server thanks to this command: mail -v aaaaaaaaaa@bbbbbbb.fr in my /etc/hosts , there was xx.xx.xx.xx lotus xx.xx.xx.xx server name in my... (3 Replies)
Discussion started by: hubert
3 Replies

10. UNIX for Advanced & Expert Users

Mail Server config

Hi all, We've an application that is for recording our daily services to clients, and it has mailing option for sending email to any account to inform them about client requests ,but at this time the mailing part doesn't work. So i want to know that this WS should be assigned as mail server for... (2 Replies)
Discussion started by: nikk
2 Replies
Login or Register to Ask a Question