Mail/DNS problem and questions


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Mail/DNS problem and questions
# 1  
Old 03-14-2006
Data 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 that our internal user to user email does not go through the third party security scanner because,
it does not need to. Email clients (outlook, eudora, and etc...) are automatically directed to our
email server, which does not require them to go through DNS and look for an
email server through the MX records.

Our Servers in the other hand, go through the third party security mail scanner.
Our servers still needs to look for an email server through DNS (MX).

I have this error messages every time I try to mailx to myself:

# mailx -v -s 'test mail from server' xnightcrawl@mydomain.com < /tmp/testmail.xnightcrawl.log
# mydomain.com: Name server timeout
xnightcrawl@mydomain.com... Transient parse error -- message queued for future delivery
xnightcrawl@mydomain.com... queued

I think this error is telling me that sendmail is having problems resolving with our DNS setup.
However, I quadruple checked our DNS configuration on the server and it looks okay. nslookup is able
to resolve our mail server, dns server, its own name and IP.

The only discrepancy I found was our external DNS. It does not have the server in question entered in
the database file or an "A" record (zone file), but the internal DNS does.

Please forgive me. I'm new to sendmail and email administration. Any suggestions or ideas will truly be appreciated.
# 2  
Old 03-14-2006
Quote:
mydomain.com: Name server timeout
This is telling you that there is a problem with DNS.

Check your /etc/resolv.conf on the server that this error happened on. If the server is on your internal network, then it should be resolving to the internal DNS. If it's on an external network, then it could be going to the external DNS or internal DNS (it matters where the server is in relation to the firewalls and the internal network)

You need to verify the following on that server:
You can use nslookup - once you get into nslookup, get the output of the following commands:
Put in the IP of the MX server
>xxx.xxx.xxx.xxx
Check that it comes back with the correct info
Put in the name of the MX server
> my-mx-host
Check that it comes back with the correct info
Put in the following to check PTR record (where xxx.xxx.xxx.xxx is the IP of the MX server
> set type=ptr
> xxx.xxx.xxx.xxx
Check that it comes back with the correct info
Put in the following to check MX record (where mydomain.com is the actual domain of the MX server
> set type=mx
> mydomain.com
Check that it comes back with the correct info

You can also check Sendmail with the following tests
$ /usr/lib/sendmail -d0.1 -bt < /dev/null
Make sure there are no errors in the output
It should look something like this:
Quote:
Version 8.13.4
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = localhost.localdomain
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
Another question - is the email you are sending going to the same domain (mydomain.com)? Or is it being sent to a different domain (and out of your network - yahoo.com)?

And post the OS and version - and the version of Sendmail (especially if it is compiled by you/your company versus the one that came with the system). Same with your DNS.
# 3  
Old 05-02-2006
If the mail is to be sent out to another domain... then what all has to be checked to insure that the mail is sent??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Home Questions Tags Users Unanswered Windows 2016 DNS server returns SERVFAIL for non-existing doma

I have two DNS resolvers in /etc/resolv.conf file. The top one is Windows DNS server, and the bottom one is my wi-fi router. Please see below. nameserver 192.168.1.126 nameserver 192.168.1.1 In Windows DNS server, the sole "Forward Lookup Zone" is biman.net When I query for host in the zone... (6 Replies)
Discussion started by: broy32000
6 Replies

2. IP Networking

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 date | mailx -s "test" abc.xyz@asdf.xx.yy. What we were asked was to edit /etc/resolv.confand add 3 entries, in all servers (10 Replies)
Discussion started by: fretagi
10 Replies

3. 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

4. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

5. UNIX for Dummies Questions & Answers

I have a questions about mail command

Any possibility to send a mail to internal mail using mail command? i am using fedora7. Example: username@192.168.1.1 (1 Reply)
Discussion started by: btech_raju
1 Replies

6. UNIX for Dummies Questions & Answers

unix mail questions

Hi All, Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this? Thanks! UPDATE: I used the following command which didnt work mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip (3 Replies)
Discussion started by: lewisoco
3 Replies

7. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

8. IP Networking

E-Mail questions

Hi, guys ! I have two questions... and it will be great if someone could give me some clues or a point to start... 1. I have a Linux server (at work) and I'd like to replace it with a FreeBSD. The server is working as a mail server (and a lot of other things) using qmail and vpopmail. I'd like... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

9. IP Networking

DNS questions.

We're running Bind version 8.1.2 on Solaris. How do you flush the DNS cache? Also, I see the files named.boot and named.conf in /etc. Do I need both of these files? I've read that named.boot is for Bind version 4x, and that named.conf is for Bind version 8.x and greater. Our resolv.conf file... (2 Replies)
Discussion started by: Westy564
2 Replies

10. 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
Login or Register to Ask a Question