Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Windows Server Networking

Relay SMTP traffic

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2008, 06:36 PM
Default Relay SMTP traffic



I have a requirement to "route" SMTP traffic from a VLAN to a production
Exchange server. The VLAN is simply made up of 4 XP workstations that run an
application that talks to a SQL Server via ODBC. The SQL Serveris
dual-homed, NIC1 on the VLAN side and NIC2 on the prodution side, essentially
it sits between the VLAN and Production networks.

Besides hitting the SQL Svr the workstations application also generates an
email msg and attempts to send it via SMTP (defined by IP address). The
problem is it can't point direct to the Exchange Svr since it's on the
production side, it can only see the dual-homed SQL Svr.

Is there something that can be done on the SQL Svr which will "relay" SMTP
traffic it rcv's fm the VLAN NIC out the Production NIC and eventually to the
Exchange Svr?

Thanks in advance,
steve


sjs
Reply With Quote
  #2  
Old 04-01-2008, 07:09 PM
Anthony [MVP]
Guest
 
Posts: n/a
Default Re: Relay SMTP traffic

Steve,
What do you mean by "it can't point to the exchange server"? Do you mean
there is no route to it, or that it does not accept your mail? What answer
do you get if you run the command "telnet [exchange server IP address] 25"
or "telnet [domain external MX address] 25"?
Anthony,
http://www.airdesk.co.uk




"sjs" <(E-Mail Removed)> wrote in message
news:1957D854-C5DF-4F63-B18D-(E-Mail Removed)...
>I have a requirement to "route" SMTP traffic from a VLAN to a production
> Exchange server. The VLAN is simply made up of 4 XP workstations that run
> an
> application that talks to a SQL Server via ODBC. The SQL Serveris
> dual-homed, NIC1 on the VLAN side and NIC2 on the prodution side,
> essentially
> it sits between the VLAN and Production networks.
>
> Besides hitting the SQL Svr the workstations application also generates an
> email msg and attempts to send it via SMTP (defined by IP address). The
> problem is it can't point direct to the Exchange Svr since it's on the
> production side, it can only see the dual-homed SQL Svr.
>
> Is there something that can be done on the SQL Svr which will "relay" SMTP
> traffic it rcv's fm the VLAN NIC out the Production NIC and eventually to
> the
> Exchange Svr?
>
> Thanks in advance,
> steve



Reply With Quote
  #3  
Old 04-01-2008, 07:55 PM
sjs
Guest
 
Posts: n/a
Default Re: Relay SMTP traffic

Hi Anthony,

What I mean by "it can't point to the Exchange Svr" is that the workstations
that generate the SMTP msg is on a different subnet (VLAN) than the Exchange
Svr. That said I need a way for the SQL Svr to "relay" the SMTP traffic it
rcv's on it VLAN NIC out it's Production NIC to the Exchange Svr.

I don't know much about routing on an MS Server, could there be something
that simply says "SMTP (port 25) traffic rcv'd fm 10.1.1.x (VLAN subnet)
forward to 192.168.1.10 (Exchange Svr)"?

tks,
steve

"Anthony [MVP]" wrote:

> Steve,
> What do you mean by "it can't point to the exchange server"? Do you mean
> there is no route to it, or that it does not accept your mail? What answer
> do you get if you run the command "telnet [exchange server IP address] 25"
> or "telnet [domain external MX address] 25"?
> Anthony,
> http://www.airdesk.co.uk
>
>
>
>
> "sjs" <(E-Mail Removed)> wrote in message
> news:1957D854-C5DF-4F63-B18D-(E-Mail Removed)...
> >I have a requirement to "route" SMTP traffic from a VLAN to a production
> > Exchange server. The VLAN is simply made up of 4 XP workstations that run
> > an
> > application that talks to a SQL Server via ODBC. The SQL Serveris
> > dual-homed, NIC1 on the VLAN side and NIC2 on the prodution side,
> > essentially
> > it sits between the VLAN and Production networks.
> >
> > Besides hitting the SQL Svr the workstations application also generates an
> > email msg and attempts to send it via SMTP (defined by IP address). The
> > problem is it can't point direct to the Exchange Svr since it's on the
> > production side, it can only see the dual-homed SQL Svr.
> >
> > Is there something that can be done on the SQL Svr which will "relay" SMTP
> > traffic it rcv's fm the VLAN NIC out the Production NIC and eventually to
> > the
> > Exchange Svr?
> >
> > Thanks in advance,
> > steve

>
>
>

Reply With Quote
  #4  
Old 04-01-2008, 08:44 PM
Phillip Windell
Guest
 
Posts: n/a
Default Re: Relay SMTP traffic

"sjs" <(E-Mail Removed)> wrote in message
news:0968AEC8-2316-4F32-9F78-(E-Mail Removed)...
> Hi Anthony,
>
> What I mean by "it can't point to the Exchange Svr" is that the
> workstations
> that generate the SMTP msg is on a different subnet (VLAN) than the
> Exchange
> Svr. That said I need a way for the SQL Svr to "relay" the SMTP traffic
> it
> rcv's on it VLAN NIC out it's Production NIC to the Exchange Svr.
>
> I don't know much about routing on an MS Server, could there be something
> that simply says "SMTP (port 25) traffic rcv'd fm 10.1.1.x (VLAN subnet)
> forward to 192.168.1.10 (Exchange Svr)"?


You don't do routing on an MS Server. You do routing on the Router that
makes the VLANS exist in the first place. Or did you create VLANs with a
Layer2 Switch with no router present? That is not a true usuable VLAN. You
really only have those settings on a Layer2 Switch when you need to "match"
the switch to existing VLANs from a Router when the switch needs to do a
little "double-duty" on more than one segment.

In reallity the SQL Server should never be multi-homed anyway. It should sit
on just one of the subnets (VLANs) that is the one most logical for it to be
on. You then use a Router (most likely a Layer3 Switch) to create the VLANs
and route between them. Running ACLs on the router will create the
separation between Production and the other segments,...it will also be a
more flexable and useful separation.

If you cannot fix your routing situation, then install the SMTP Service that
is part of IIS that already comes with the Server OS. Add it on the SQL box
and configure it as a Smart SMTP Host that forwards everything that comes to
it over to the Exchange SMTP Service. I don't have any specific details for
configuring the SMTP Service for this but there isn't much to it an it
should easy to find details. It may even have the details right in the IIS
Help.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


Reply With Quote
  #5  
Old 04-01-2008, 08:47 PM
Anthony [MVP]
Guest
 
Posts: n/a
Default Re: Relay SMTP traffic

You can set up the server to route between the two NICs. Have a look at
RRAS: http://technet.microsoft.com/en-us/n.../bb545655.aspx.
Otherwise just put a layer 3 switch between the subnets.
Hope that helps,
Anthony
http://www.airdesk.co.uk



"sjs" <(E-Mail Removed)> wrote in message
news:0968AEC8-2316-4F32-9F78-(E-Mail Removed)...
> Hi Anthony,
>
> What I mean by "it can't point to the Exchange Svr" is that the
> workstations
> that generate the SMTP msg is on a different subnet (VLAN) than the
> Exchange
> Svr. That said I need a way for the SQL Svr to "relay" the SMTP traffic
> it
> rcv's on it VLAN NIC out it's Production NIC to the Exchange Svr.
>
> I don't know much about routing on an MS Server, could there be something
> that simply says "SMTP (port 25) traffic rcv'd fm 10.1.1.x (VLAN subnet)
> forward to 192.168.1.10 (Exchange Svr)"?
>
> tks,
> steve
>
> "Anthony [MVP]" wrote:
>
>> Steve,
>> What do you mean by "it can't point to the exchange server"? Do you mean
>> there is no route to it, or that it does not accept your mail? What
>> answer
>> do you get if you run the command "telnet [exchange server IP address]
>> 25"
>> or "telnet [domain external MX address] 25"?
>> Anthony,
>> http://www.airdesk.co.uk
>>
>>
>>
>>
>> "sjs" <(E-Mail Removed)> wrote in message
>> news:1957D854-C5DF-4F63-B18D-(E-Mail Removed)...
>> >I have a requirement to "route" SMTP traffic from a VLAN to a production
>> > Exchange server. The VLAN is simply made up of 4 XP workstations that
>> > run
>> > an
>> > application that talks to a SQL Server via ODBC. The SQL Serveris
>> > dual-homed, NIC1 on the VLAN side and NIC2 on the prodution side,
>> > essentially
>> > it sits between the VLAN and Production networks.
>> >
>> > Besides hitting the SQL Svr the workstations application also generates
>> > an
>> > email msg and attempts to send it via SMTP (defined by IP address).
>> > The
>> > problem is it can't point direct to the Exchange Svr since it's on the
>> > production side, it can only see the dual-homed SQL Svr.
>> >
>> > Is there something that can be done on the SQL Svr which will "relay"
>> > SMTP
>> > traffic it rcv's fm the VLAN NIC out the Production NIC and eventually
>> > to
>> > the
>> > Exchange Svr?
>> >
>> > Thanks in advance,
>> > steve

>>
>>
>>



Reply With Quote
Reply

Tags
relay, smtp, traffic

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 03:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.