network problems

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: network problems
does the machine know itself?

hostname

cat /etc/hosts

is apache.the-arcanum.org listed in both?

Craig

On Thu, 2004-01-22 at 00:11, Nathan England wrote:
> root@apache:~# dig -t any the-arcanum.org
>
> ; <<>> DiG 9.2.2-P3 <<>> -t any the-arcanum.org
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51598
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
>
> ;; QUESTION SECTION:
> ;the-arcanum.org.               IN      ANY

>
> ;; ANSWER SECTION:
> the-arcanum.org.        38400   IN      MX      10
> apache.the-arcanum.org.
> the-arcanum.org.        38400   IN      A       192.168.0.1
> the-arcanum.org.        38400   IN      SOA     apache.
> webmaster.the-arcanum.or
> g. 1074412333 10800 3600 604800 38400
> the-arcanum.org.        38400   IN      NS      apache.

>
> ;; ADDITIONAL SECTION:
> apache.the-arcanum.org. 38400   IN      A       192.168.0.2

>
> ;; Query time: 25 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Thu Jan 22 00:16:02 2004
> ;; MSG SIZE rcvd: 154
>
>
> root@apache:~# sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter <ruleset> <address>
> > 3,0 
> canonify           input: nathan @ the-arcanum . org
> Canonify2          input: nathan < @ the-arcanum . org >
> Canonify2        returns: nathan < @ the-arcanum . org . >
> canonify         returns: nathan < @ the-arcanum . org . >
> parse              input: nathan < @ the-arcanum . org . >
> Parse0             input: nathan < @ the-arcanum . org . >
> Parse0           returns: nathan < @ the-arcanum . org . >
> ParseLocal         input: nathan < @ the-arcanum . org . >
> ParseLocal       returns: nathan < @ the-arcanum . org . >
> Parse1             input: nathan < @ the-arcanum . org . >
> Mailertable        input: < the-arcanum . org > nathan < @ the-arcanum .
> org . >
> Mailertable        input: the-arcanum . < org > nathan < @ the-arcanum .
> org . >
> Mailertable      returns: nathan < @ the-arcanum . org . >
> Mailertable      returns: nathan < @ the-arcanum . org . >
> MailerToTriple     input: < > nathan < @ the-arcanum . org . >
> MailerToTriple   returns: nathan < @ the-arcanum . org . >
> Parse1           returns: $# esmtp $@ the-arcanum . org . $: nathan < @
> the-arcanum . org . >
> parse            returns: $# esmtp $@ the-arcanum . org . $: nathan < @
> the-arcanum . org . >

>
>
> Any idea?
>
> On Wed, 2004-01-21 at 23:42, Robert Ambrose wrote:
> > What about sendmail.cw/local-host-names?
> >
> > Failing that, some information would be next.
> >
> > How about the output of:
> >
> > dig -t any the-arcanum.org
> >
> > and
> >
> > sendmail -bt
> > 3,0
> >
> > Let's see those commands have to say for themselfs...
> >
> > rna
> >
> > On Wed, 21 Jan 2004, Nathan England wrote:
> >
> > > This is what I got.
> > > If I don't have the A record for the-arcanum.org sendmail errors saying
> > > the domain doesn't exist.
> > > I created the MX record, the-arcanum.org points to apache (192.168.0.2)
> > > priority 10
> > > This is what is said...
> > >
> > > The original message was received at Wed, 21 Jan 2004 03:40:58 -0700
> > > from [192.168.0.5]
> > >
> > >    ----- The following addresses had permanent fatal errors -----
> > > <>

> > >
> > >    ----- Transcript of session follows -----
> > > 554 5.0.0 MX list for the-arcanum.org. points back to
> > > apache.the-arcanum.org
> > > 554 5.3.5 Local configuration error

> > >
> > >
> > >
> > > ``````````````````````
> > >
> > > On Wed, 2004-01-21 at 03:10, Robert Ambrose wrote:
> > > > Do you have the-arcanum.org listed in sendmail.cw/local-host-names (or
> > > > whatever the name de jour is)? The MX record for you internal DNS zone
> > > > should point to the system which will receive the email. Since the email
> > > > shouldn't be going outside your LAN, port blocking by Qwest should not be
> > > > an issue. Specifying an A record for the-arcanum.org is not necessary to
> > > > get email delivered to the-arcanum.org, the MX record does this.
> > > >
> > > > A very useful technique for debugging how an email address will be
> > > > delivered to is to use the -bt option with sendmail:
> > > >
> > > > sendmail -bt
> > > > 3,0
> > > >
> > > > Will show how sendmail thinks an email addressed to this recipient will
> > > > be delivered.
> > > >
> > > > rna
> > > >
> > > > On Wed, 21 Jan 2004, Nathan England wrote:
> > > >
> > > > >
> > > > > I am trying to setup internal e-mail on my systems and I'm having weird
> > > > > problems. My firewall is 192.168.0.1, my e-mail (sendmail and ipop3d)
> > > > > are on 192.168.0.2, .2 is also my internal dns that all my machines use.
> > > > >
> > > > > My firewall is setup for eth0 being my vdsl connection, eth1 is my
> > > > > internal nic. All machines connect to the outside via iptables nat.
> > > > >
> > > > > Qwest blocks port 25, I think that's my problem, coming from the
> > > > > internal nat.
> > > > >
> > > > > when 192.168.0.5 sends an e-mail, it goes to .2 which resolves
> > > > > the-arcanum.org as internal 192.168.0.1, when I watch sendmail on .2, it
> > > > > says it is deferred and stops. It won't send it.
> > > > >
> > > > > I tried changing my dns to resolve the-arcanum.org to be .2 , but that
> > > > > didn't work, it came back saying that the message loops back to itself,
> > > > > MX problem. So I added MX records for the-arcanum.org to point to .2 but
> > > > > then sendmail just times out trying to send a message.
> > > > >
> > > > > Is this all because qwest is blocking 25 and I'm internally nat'ing, or
> > > > > something else? I didn't have this problem when I had normal dsl without
> > > > > any ports being blocked, but maybe I'm missing the problem.
> > > > >
> > > > > Can anyone shed some light on this for me?
> > > > >
> > > > > nathan
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------
> > > > PLUG-discuss mailing list -
> > > > To subscribe, unsubscribe, or to change you mail settings:
> > > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss