Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mail/DNS problem and questions Post 101982 by RTM on Tuesday 14th of March 2006 06:35:15 PM
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.
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Mail::Milter::Module::MailDomainDotMX(3pm)		User Contributed Perl Documentation		Mail::Milter::Module::MailDomainDotMX(3pm)

NAME
Mail::Milter::Module::MailDomainDotMX - milter to reject mail whose sender domain publishes a null MX record SYNOPSIS
use Mail::Milter::Module::MailDomainDotMX; my $milter = new Mail::Milter::Module::MailDomainDotMX; my $milter2 = &MailDomainDotMX; # convenience $milter2->set_message('Mail from %M domain invalid (has dot-MX record)'); DESCRIPTION
This milter module rejects any mail from a sender's domain (in the MAIL FROM part of the SMTP transaction, not in the From: header) if that domain publishes a "null", or "dot" MX record. Such a record looks like the following in DNS: example.com. IN MX 0 . This lookup requires the Net::DNS module to be installed in order to fetch the MX record. An extra check as to whether the MX is valid is not (yet) done here. It is currently assumed that the MTA does rudimentary checking for the presence of a valid MX or A record on the sending domain. METHODS
new() Creates a MailDomainDotMX object. There are no arguments to configure this module, as it is a fixed check. ignore_tempfail(FLAG) If FLAG is 0 (the default), a DNS lookup which fails the underlying DNS query will cause the milter to return a temporary failure result (SMFIS_TEMPFAIL). If FLAG is 1, a temporary DNS failure will be treated as if the lookup resulted in an empty record set (SMFIS_CONTINUE). This method returns a reference to the object itself, allowing this method call to be chained. set_message(MESSAGE) Sets the message used when rejecting messages. This string may contain the substring %M, which will be replaced by the matching e-mail address. This method returns a reference to the object itself, allowing this method call to be chained. AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com> SEE ALSO
Mail::Milter::Object perl v5.8.8 2004-02-26 Mail::Milter::Module::MailDomainDotMX(3pm)
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy