djbdns
[Top] [All Lists]

Re: How to setup DNS for 2nd Instance of SMTP?

To: Kirti Bajwa <kirtibajwa@yahoo.com>
Subject: Re: How to setup DNS for 2nd Instance of SMTP?
From: Maurice Lucas <mslucas@taos-it.nl>
Date: Thu, 18 Jan 2007 19:37:52 +0100
Cc: dns@list.cr.yp.to
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-djbdns@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list dns@list.cr.yp.to
In-reply-to: <20070118165555.726.qmail@web58909.mail.re1.yahoo.com>
Mailing-list: contact dns-help@list.cr.yp.to; run by ezmlm
Organization: TAOS-IT
References: <20070118165555.726.qmail@web58909.mail.re1.yahoo.com>
Reply-to: mslucas@taos-it.nl
On Thu, 2007-01-18 at 08:55 -0800, Kirti Bajwa wrote:
> Hello List:
> 
> Recently our SMTP server was flodded with double bounces. The SMTP
> server was so busy that our local clients could not sent any ougoing
> emails.
> 
> Once person on qmail list suggested that we set up a 2nd instance of
> SMTPD and use it to send outgoing emails. We setup the 2nd instance of
> SMTPD as follows:
> 
> SMTPD  IP: 12.21.237.6   Port 25 (all incoming mail)
> SMTPD2  IP: 12.21.237.7   Port 587 (all outgoinging mail
> fromlocaldial-in clients)
> 
> Then it was suggested that we have to tell all our local dial-in
> clients to use the new port 587 to send outgoing email.It is not
> possible tocontact 300+ users to change their port in Outlook Express
> to 587.
> 
> Now another technician has suggested that we change our ZONE data to
> route the outgoing email. The poster said that it could be
> accompolished by adding one line to ZONE data!! We are working on
> alive machine and previous attemts have been unsuccessful. Following
> is a list of our ZONE data. I appreciate if someone can add one line
> toshow what change is needed:

This is not prossible with DNS but why don't you use your firewall

eg
iptables -t nat -A PREROUTING -p tcp -i ${SMTPD2 network card name eg.
eth0} --dport 25 -j DNAT --to-destination 127.0.0.1:587

and don't forget to first read your man iptables

-- 
With kind regards,

Maurice Lucas
TAOS-IT


<Prev in Thread] Current Thread [Next in Thread>