🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72502

Re: Daily Usenet report

#72502
From: John F. Morse
Date: Tue, 25 Oct 2005 15:47
316 lines
11900 bytes

Marc Haber wrote:

>"John F. Morse" <xanadu.bbs@invalid.net> wrote:
>  
>
>>Please let me explain, and maybe you will have a clue. (I'll munge the 
>>real names and address due to spam.)
>>    
>>
>
>This keeps people from helping you since they cannot query DNS for the
>data configured and cannot see whether the MX for the domains is
>really up, running, and accepting messages.
>  
>


It also keeps the spam bots (or curious lurkers) from attacking me. This 
did happen just a couple of weeks ago when I posted some of my real FQDN 
info.

I did the querying for you, and posted the results into the message.

If you want the real output for study, then provide me your e-mail 
address and I'll gladly send it to you, but you won't see anything 
additional in the real FQDNs and IPs.


>>I have three domains, all homing in on the same WAN IP.
>>    
>>
>
>Please be more technical. Which DNS resource records are in the zone
>files?
>  
>


OK, I have three domain names, domain1, domain2 and domain3. All three 
of them are registered and maintained by three different registrars, 
tzo.com, registrar.com and godaddy.com. The tzo.com domain was 
registered several years ago, and the other two in the past two or three 
years.

Tzo.com is a DDNS provider. They track my real IP and make changes 
should it ever change. It hasn't changed in nearly three years. I used 
to use a tzo daemon on a Mac to watch my IP and report any change, but 
this is now built into the Linksys BEFSR41 v3 router, so it does the job.

The other two domains are not automatic. I would manually edit the IP on 
these registrar's sites should their be an IP change.

All three of the above domains point to one WAN IP, which is my main 
LAN. My DNS server is on this LAN, but does nothing to incoming traffic 
from the WAN. It is a local LAN DNS server only.

I have a fourth domain, from yet another registrar, that also has an 
automatic DDNS updating daemon. However it is entirely separate from the 
other three domains, and does not point to the same WAN IP. So let's 
forget it even exists.

Traffic enters this building on one IP, whether is is for domain1, 
domain2 or domain3. The only possible method for routing to a particular 
client is by using port assignments.

Therefore, if an e-mail message comes in for joe_blow@domain1, or 
joe_blow@domain2 or joe_blow@domain3, it is treated exactly the same, 
and I can mail myself using any of the domain names. It's all routed to 
the SIMS mail server on port 25, and the "sub"domain (client or host 
name) doesn't matter. A message to john@haber.domain1.us will arrive 
just fine.


>>I run QuickDNS 
>>on this main LAN, and it only has records for "domain1" in it.
>>    
>>
>
>Which records?
>  
>


Every client has an "A" record, as well as one or more CNAME (alias) 
records, and one HINFO record.

There is one NS record for the QuickDNS Pro Mac host, and one MX record, 
pointing to the SIMS MTA host.

There is one reverse record for each of the 45 clients.

There is only one domain name.


>>The other 
>>two domains are not known by the DNS server.
>>    
>>
>
>So you cannot deliver any mail for it.
>  
>


Mail is delivered fine, except from the Exim4 MTA, running on the main 
LAN. As I demonstrated by the two separate tests, to all three domains, 
mail coming in from the WAN is delivered fine. The DNS server doesn't 
even see it. All that is needed is for the SIMS mail server to be 
listening to port 25.


>>Here is what I get when I test three different e-mail addresses from 
>>Exim on any Debian box on the main LAN :
>>
>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain1.net
>>R: dnslookup for john@domain1.net
>>john@domain1.net is undeliverable
>>    
>>
>
>So your exim doesn't consider domain1.net a local domain, and it
>cannot find any A or MX records for domain1.net in the DNS. Thus, the
>mail is undeliverable.
>  
>

Is that your diagnosis or a question? If it is a question, I don't have 
the experience with Exim to be able to provide an answer. If you believe 
this is the problem, then maybe I should ask you why domain1.net is the 
only domain that is listed in the DNS records -- and it fails. The 
domain2.us is nowhere in the DNS records -- but it goes through.

I wonder, just what could Exim4 be remembering?


>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain2.us
>>R: dnslookup for john@domain2.us
>>john@domain2.us
>> router = dnslookup, transport = remote_smtp
>> host mail.domain2.us [123.45.67.89] MX=10
>>    
>>
>
>There seems to be an "domain2.us MX 10 mail.domain2.us" and a
>"mail.domain2.us A 123.45.67.89" record in the DNS. What happens to an
>actual mail being sent to john@domain2.us?
>  
>


It arrives at the SIMS mail server, whether from the main LAN or the WAN.


>>john@thishost:~$ /usr/sbin/exim4 -bt john@domain3.us
>>R: dnslookup for john@domain3.us
>>john@domain3.us is undeliverable
>>john@thishost:~$
>>    
>>
>
>Same as with domain1.us
>  
>


It fails from the LAN, but arrives fine from the WAN. This is the domain 
that has both the NS and MX records.


>>Now, moving over to another Debian box, which is on a different WAN IP, 
>>I get the following:
>>
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain1.net
>>R: dnslookup for john@domain1.net
>>john@domain1.net
>>router = dnslookup, transport = remote_smtp
>>host mail.domain1.net [123.45.67.89] MX=0
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain2.us
>>R: dnslookup for john@domain2.us
>>john@domain2.us
>>router = dnslookup, transport = remote_smtp
>>host mail.domain2.us [123.45.67.89] MX=10
>>john@thathost:~$ /usr/sbin/exim4 -bt john@domain3.us
>>R: dnslookup for john@domain3.us
>>    
>>
>
>Looks like you have youd DNS serverely misconfigured.
>  
>


As I stated, traffic from outside the LAN work fine. I don't know how 
you deduce this idea. I can kill the DNS server and the above three 
tests will have identical results.


>>john@domain3.us
>>router = dnslookup, transport = remote_smtp
>>host mail.domain1.net [123.45.67.89] MX=0
>>john@thathost:~$
>>
>>All three of these appear to be able to be delivered, however the third 
>>one, for "domain3" shows the "domain1" as the host.
>>    
>>
>
>normal behavior for domain3.us having an MX record pointing to
>  
>


Domain3 has no record of anything in this DNS server.


>mail.domain1.net.
>
>  
>
>>Obviously Exim4 appears to be free from any problem, but the DNS 
>>differences seem to indicate something Exim4 cannot understand. I have 
>>no problems with DNS when using SSH, SMB, VNC, etc.
>>
>>Ideas?
>>    
>>
>
>No offense intended, but this is severely offtopic for
>news.software.nntp. Additionally, I _must_ recommend getting a basic
>clue about DNS before trying to run a MTA. There are severe
>misconfigurations present in your DNS setup (otherwise the -bt output
>would be the same across boxes), and you are not helping by
>obfuscating vital information.
>  
>


Well, offense is something I try to overlook, but lately I sense it more 
and more frequently in this group. Maybe it is because my level of 
frustration is growing, and maybe yours? Maybe it is because readers 
believe I'm a stupid newbie who has never read a manpage.

I'm more interested in fixing the problem than discussing who's the 
smartest, or who is a Linux master and who might be a newbie. I come 
here when I've read the manpages and Googled the problem to death, and 
still have a question. That is the purpose of these newsgroups -- not to 
diagnose someone's abilities or disabilities.

Let me just say that I have installed, configured and ran Mac DNS for 
several years. Then I installed, configured and switched over to 
QuickDNS Pro, over five years ago. Everything has ran fine here until 
INN was installed.

I ran another NNTP server for nearly six years (four are still going), 
so NNTP is not something I just dove into either. INN seems fairly 
simple, but the documentation needs considerable work. Driving a strange 
vehicle is not too difficult, but if you have no road map, you can spend 
an immense amount of time taking pot shots and guessing what will work, 
then trail and error.

I have installed, configured and ran the SIMS mail server for some eight 
years, and have absolutely no trouble with it, including a lot of spam 
filtering and RBL configuration.

My plans were to move the RumorMill NNTP totally to INN, and the 
QuickDNS Pro to BIND. But I see the ISC is the source of both, and am 
now rethinking my plans.

I was also planning to move the SIMS mail to Sendmail, not Postfix, and 
had not even heard of Exim.

So, after a painful learning curve for INN, then more fighting Exim, and 
now it is a DNS problem? Personally I feel INN is fine, just a big, 
under-documented suite of related applications, but Exim is not ready 
for prime time.

I wonder, since I've spent nearly a month of labor on all of this, if I 
probably would have been much farther out front financially if I would 
have just purchased a couple of new Mac G5s, and continued with what has 
work for me for over six years?


>If you only want to deliver to that SIMS box, configure it as
>smarthost in your exim setup.
>  
>


As I pointed out in an earlier message, there are several choices, with 
"smarthost" appearing in two:

internet site; mail is sent and received directly using SMTP
mail sent by smarthost; received via SMTP or fetchmail
mail sent by smarthost; no local mail

Which one would you suggest?

To make it perfectly clear, I don't want this INN box receiving any 
mail. I only want it to send mail out to my SIMS box, or later, a 
Sendmail box. Why would my SIMS box be considered a "smarthost" and not 
an Internet site?

The INN box will eventually wind up on a WAN different that the WAN my 
LAN is on, so the SIMS box would, IMHO, be an "Internet site."

As far as that goes, according to the second set of three tests I made, 
moving the INN box to another WAN (or LAN) will clear up any Exim4 troubles.

Agreed?

So, it's still on topic. ;-)

-- 
John
Technical Details
Message-ID: <%rs7f.177332$qY1.9946@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <1cf27$4354b465$4097152a$30987@EVERESTKC.NET> <dj2ict$11l1$1@news.germany.com> <9c7e7$4354f4b3$4097152a$19179@EVERESTKC.NET> <dj30ne$15r1$1@news.germany.com> <546aa$43564fef$4097152a$18721@EVERESTKC.NET> <dj5s3b$22dp$1@news.germany.com> <Cvv5f.462161$5N3.278787@bgtnsc05-news.ops.worldnet.att.net> <djiodl$1kn$1@news1.tnib.de> <hK77f.492716$5N3.153272@bgtnsc05-news.ops.worldnet.att.net> <djld56$24v$1@news1.tnib.de>

Show Full Headers
Complete Article Headers
Message-ID: <%rs7f.177332$qY1.9946@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: Daily Usenet report
Date: Tue, 25 Oct 2005 15:47:07 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <1cf27$4354b465$4097152a$30987@EVERESTKC.NET> <dj2ict$11l1$1@news.germany.com> <9c7e7$4354f4b3$4097152a$19179@EVERESTKC.NET> <dj30ne$15r1$1@news.germany.com> <546aa$43564fef$4097152a$18721@EVERESTKC.NET> <dj5s3b$22dp$1@news.germany.com> <Cvv5f.462161$5N3.278787@bgtnsc05-news.ops.worldnet.att.net> <djiodl$1kn$1@news1.tnib.de> <hK77f.492716$5N3.153272@bgtnsc05-news.ops.worldnet.att.net> <djld56$24v$1@news1.tnib.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <djld56$24v$1@news1.tnib.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 316
NNTP-Posting-Host: 0549b9fcf7a655bcc08492b06dd0f766
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1130255227
NNTP-Posting-Date: Tue, 25 Oct 2005 15:47:07 GMT