<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.20591" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2>nginx can solve this problem very
well.</FONT></DIV>
<DIV><FONT color=#000080>you can run nginx on </FONT><FONT
color=#000000>Guest01, who have a external IP</FONT></DIV>
<DIV>and all the other servers are in your local network, with local IP.</DIV>
<DIV> </DIV>
<DIV>when Guest01 received requests from Internet, nginx which are runing on
Guest01 can forword all the </DIV>
<DIV>request to your local servers, and local servers can send the requested
data to Internet via nginx who</DIV>
<DIV>is running on Guest01.</DIV>
<DIV> </DIV>
<DIV>come on, boy</DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2008-12-01 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>fl_cn_web</SPAN>
</FONT></DIV><FONT face=Verdana color=#000080 size=2>
<HR>
</FONT>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Stephen Liu </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2008-11-30 23:38:47
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> nginx@sysoev.ru
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> My first question on nginx -
can nginx find the mail server based on domain </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi folks,</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>nginx is completely new to me. I'm searching around for a solution to</DIV>
<DIV>solve my problem as mentioned hereinbelow;</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>I have a Xen box (a virtualizaion box) with following setup</DIV>
<DIV> </DIV>
<DIV>Host - Debian Etch Workstation</DIV>
<DIV>Guest01 - mail server for routing</DIV>
<DIV>Guest02 - mail server, hostname01. localIP_01, domain01</DIV>
<DIV>Guest03 - mail server, hostname02, localIP_02, domain02</DIV>
<DIV>Guest04 - mail server, hostname03, localIP_03, domain03</DIV>
<DIV>etc.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>MTA - Postfix</DIV>
<DIV>Database - MySQL</DIV>
<DIV>Couier IMAP</DIV>
<DIV>etc.</DIV>
<DIV> </DIV>
<DIV>all mail servers running postfix on Debian Etch.</DIV>
<DIV> </DIV>
<DIV>single (one) external IP with all ports forwarded to Guest01 except</DIV>
<DIV>port 53 which is forwarded to the DNS server, also running on a guest</DIV>
<DIV>of the Xen box.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Guest01 routes all incoming mails according to their domains to</DIV>
<DIV>respective mail servers. All outgoing mails are sent via the routing</DIV>
<DIV>mail server, Guest01, to Internet.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>The system is working nicely on Intranet. Mail client, Evolution, on</DIV>
<DIV>workstations connected to local network, the Intranet, can send/receive</DIV>
<DIV>mails on mail servers. Server settings on mail client work on</DIV>
<DIV>either local IP or on hostname. </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>My problem is if the workstation is on remote site, not on local</DIV>
<DIV>network, with one external IP how can the remote mail client find the</DIV>
<DIV>mail server which it needs to connect. </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Can nginx help me out? If YES Please shed me some light where can I</DIV>
<DIV>find relevant document on its setup to solve my problem. TIA</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>B.R.</DIV>
<DIV>Stephen L</DIV>
<DIV> </DIV>
<DIV>Send instant messages to your online friends <A
href="http://uk.messenger.yahoo.com ">http://uk.messenger.yahoo.com </A></DIV>
<DIV> </DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>