Re: dns for qmail only??

2001-07-27 Thread Jeff_D_Sweeten

You avoid a second machine for internal/external DNS bu using BIND 9.1.x which
supports multiply view.

Jeff Sweeten
Sr. Internet Engineer
Aon
200 E Randolph
Chicago, Il 60601





Kourosh Ghassemieh [EMAIL PROTECTED] on 07/26/2001 02:21:43 PM

To:   Gary MacKay [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:(bcc: Jeff D Sweeten/ASC/US/AON)

Subject:  Re: dns for qmail only??




You need to run a separate DNS server for internal queries, that's how I
have my DNS set up.  We use a separate DNS server for the internal
addresses and we don't have any problems.  qmail ignores /etc/hosts,
it needs a DNS server.

At 12:22 PM 7/26/2001 -0400, you wrote:
bind-9.1.0-10

Ricardo SIGNES wrote:
 
  In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay
 wrote:
   I moved qmail off of a 'do it all' box to it's own box. It's running
   great. My problem is that the old machine is still the DNS for my
   domain. When it sends status messages to me, it, I'm guessing, checks
   DNS and gets the public IP of the new box, can't connect to it from
   behind the firewall (both boxes are 192. ), so it sends it to the
   secondary MX record, which is my old ISP. I then get it via getmail cron
   job, but I'd like for it to deliver internally. I've changed the
   /etc/hosts to point to the 192. address, but qmail must not look at
   that. How can I have DNS giving out the public IP for the world, yet
   tell qmail the 192. addr??
 
  What DNS server are you running?
 
  --
  rjbs
 

 Part 1.2Type: application/pgp-signature

-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business









Re: dns for qmail only??

2001-07-27 Thread Gary S MacKay

Thanks Jeff. I'll check into it. For now I was able to solve the problem,
with help from another user, by putting the ip addr of the new qmail server
in the /var/qmail/control/smtproutes file. Now the old machine just dumps
all mail to the new machine and lets it sort it out. Works great!

- Gary

 You avoid a second machine for internal/external DNS bu using BIND
 9.1.x which supports multiply view.

 Jeff Sweeten
 Sr. Internet Engineer
 Aon
 200 E Randolph
 Chicago, Il 60601





 Kourosh Ghassemieh [EMAIL PROTECTED] on 07/26/2001 02:21:43 PM

 To:   Gary MacKay [EMAIL PROTECTED], [EMAIL PROTECTED]
 cc:(bcc: Jeff D Sweeten/ASC/US/AON)

 Subject:  Re: dns for qmail only??




 You need to run a separate DNS server for internal queries, that's how
 I have my DNS set up.  We use a separate DNS server for the internal
 addresses and we don't have any problems.  qmail ignores /etc/hosts, it
 needs a DNS server.

 At 12:22 PM 7/26/2001 -0400, you wrote:
bind-9.1.0-10

Ricardo SIGNES wrote:
 
  In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary
  MacKay
 wrote:
   I moved qmail off of a 'do it all' box to it's own box. It's
   running great. My problem is that the old machine is still the DNS
   for my domain. When it sends status messages to me, it, I'm
   guessing, checks DNS and gets the public IP of the new box, can't
   connect to it from behind the firewall (both boxes are 192. ), so
   it sends it to the secondary MX record, which is my old ISP. I
   then get it via getmail cron job, but I'd like for it to deliver
   internally. I've changed the /etc/hosts to point to the 192.
   address, but qmail must not look at that. How can I have DNS
   giving out the public IP for the world, yet tell qmail the 192.
   addr??
 
  What DNS server are you running?
 
  --
  rjbs
 
-
---
 Part 1.2Type: application/pgp-signature

 -
 
 Kourosh Ghassemieh
 MindWare Information Systems  Technologies
 9255 Sunset Blvd, Penthouse
 West Hollywood CA 90069
 (310) 729-1784
 [EMAIL PROTECTED]

 Networking Solutions for Your Business






dns for qmail only??

2001-07-26 Thread Gary MacKay

I moved qmail off of a 'do it all' box to it's own box. It's running
great. My problem is that the old machine is still the DNS for my
domain. When it sends status messages to me, it, I'm guessing, checks
DNS and gets the public IP of the new box, can't connect to it from
behind the firewall (both boxes are 192. ), so it sends it to the
secondary MX record, which is my old ISP. I then get it via getmail cron
job, but I'd like for it to deliver internally. I've changed the
/etc/hosts to point to the 192. address, but qmail must not look at
that. How can I have DNS giving out the public IP for the world, yet
tell qmail the 192. addr??



qmail box --  hub  OpenBSD firewall  DSL
   ^
dns box ---|



- Gary



Re: dns for qmail only??

2001-07-26 Thread Ricardo SIGNES

In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay wrote:
 I moved qmail off of a 'do it all' box to it's own box. It's running
 great. My problem is that the old machine is still the DNS for my
 domain. When it sends status messages to me, it, I'm guessing, checks
 DNS and gets the public IP of the new box, can't connect to it from
 behind the firewall (both boxes are 192. ), so it sends it to the
 secondary MX record, which is my old ISP. I then get it via getmail cron
 job, but I'd like for it to deliver internally. I've changed the
 /etc/hosts to point to the 192. address, but qmail must not look at
 that. How can I have DNS giving out the public IP for the world, yet
 tell qmail the 192. addr??

What DNS server are you running?

-- 
rjbs

 PGP signature


Re: dns for qmail only??

2001-07-26 Thread Gary MacKay

bind-9.1.0-10

Ricardo SIGNES wrote:
 
 In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay wrote:
  I moved qmail off of a 'do it all' box to it's own box. It's running
  great. My problem is that the old machine is still the DNS for my
  domain. When it sends status messages to me, it, I'm guessing, checks
  DNS and gets the public IP of the new box, can't connect to it from
  behind the firewall (both boxes are 192. ), so it sends it to the
  secondary MX record, which is my old ISP. I then get it via getmail cron
  job, but I'd like for it to deliver internally. I've changed the
  /etc/hosts to point to the 192. address, but qmail must not look at
  that. How can I have DNS giving out the public IP for the world, yet
  tell qmail the 192. addr??
 
 What DNS server are you running?
 
 --
 rjbs
 
   
Part 1.2Type: application/pgp-signature



Re: dns for qmail only??

2001-07-26 Thread Kourosh Ghassemieh


You need to run a separate DNS server for internal queries, that's how I
have my DNS set up.  We use a separate DNS server for the internal
addresses and we don't have any problems.  qmail ignores /etc/hosts,
it needs a DNS server.

At 12:22 PM 7/26/2001 -0400, you wrote:
bind-9.1.0-10

Ricardo SIGNES wrote:
 
  In a message dated Thu, Jul 26, 2001 at 08:53:57AM -0400, Gary MacKay 
 wrote:
   I moved qmail off of a 'do it all' box to it's own box. It's running
   great. My problem is that the old machine is still the DNS for my
   domain. When it sends status messages to me, it, I'm guessing, checks
   DNS and gets the public IP of the new box, can't connect to it from
   behind the firewall (both boxes are 192. ), so it sends it to the
   secondary MX record, which is my old ISP. I then get it via getmail cron
   job, but I'd like for it to deliver internally. I've changed the
   /etc/hosts to point to the 192. address, but qmail must not look at
   that. How can I have DNS giving out the public IP for the world, yet
   tell qmail the 192. addr??
 
  What DNS server are you running?
 
  --
  rjbs
 

 Part 1.2Type: application/pgp-signature

-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business





Re: dns for qmail only??

2001-07-26 Thread Ricardo SIGNES

In a message dated Thu, Jul 26, 2001 at 12:22:33PM -0400, Gary MacKay wrote:
 bind-9.1.0-10

I that case, I have no advice.  I only grok djbdns. :-(

-- 
rjbs

 PGP signature


Re: dns for qmail only??

2001-07-26 Thread Mahlon Smith


man 8 qmail-remote

Add your domain and 192 address to smtproutes and hup qmail.

% cat /var/qmail/control/smtproutes
your.domain.com:192.168.x.x
.your.domain.com:192.168.x.x


--
Mahlon Smith
InternetCDS
http://www.internetcds.com



On Thu, Jul 26, 2001, Gary MacKay wrote:
 DNS and gets the public IP of the new box, can't connect to it from
 behind the firewall (both boxes are 192. ), 
 How can I have DNS giving out the public IP for the world, yet
 tell qmail the 192. addr??
 
 qmail box --  hub  OpenBSD firewall  DSL
^
 dns box ---|



Re: dns for qmail only??

2001-07-26 Thread Gary MacKay

Bingo Thanks that was a whole lot easier than setting up two dns
server, which is what I was in the process of doing when I got your
reply.

Thanks again,
Gary


Mahlon Smith wrote:
 
 man 8 qmail-remote
 
 Add your domain and 192 address to smtproutes and hup qmail.
 
 % cat /var/qmail/control/smtproutes
 your.domain.com:192.168.x.x
 .your.domain.com:192.168.x.x
 
 --
 Mahlon Smith
 InternetCDS
 http://www.internetcds.com
 
 On Thu, Jul 26, 2001, Gary MacKay wrote:
  DNS and gets the public IP of the new box, can't connect to it from
  behind the firewall (both boxes are 192. ),
  How can I have DNS giving out the public IP for the world, yet
  tell qmail the 192. addr??
 
  qmail box --  hub  OpenBSD firewall  DSL
 ^
  dns box ---|