(Please try your best to resist styled text. It really adds nothing to your msg and, in my case, is annoyingly rendered in Eurdora ) >I have a home network with 3 machines (NT/2000) behind a D-Link >DI704 router/gateway. My static DSL IP address is assigned to the >router, and the 3 machines are 192.168.0.10, 20, and 30. The .30 >machine has the web, ftp, pop, and smtp ports open to it on the >router. I have Apache set up and running with 4 virtual hosts on >the .30 machine with no problems. > >I now want to add e-mail to the 4 virtual domains. I have modified >the zone files & added MX records. So you have in DNS, for each virtual http and virtual smtp domain zone, in the zone file: ; @ A ip.ad.re.ss ; of your public ip www A ip.ad.re.ss ; of your public ip mail A ip.ad.re.ss ; of your public ip ; @ MX imail.yourImailbox.com mail MX imail.yourImailbox.com and then in the zone file for yourImailbox.com @ A ip.ad.re.ss ; of your public ip >IMail is installed with the 4 virtual hosts, however the default >"localhost" account is called "server" having a little trouble with the imagination today, are we? :))) >(the name of the comp which is the .30 machine) and the IP address >is 192.168.0.30. My virtual host accounts don't seem to work, even >though the DNS changes should have had time to propagate by now. What are these secret virtual domain names? If you publish them in a public DNS, can you public them here? Don't you trust your D-link thingy? :))) There's no propagation delay. Once your domain names' glue records (ie, the delegation data) are in the root-servers, all your domains' records are instantly available everywhere. >Are the virtual host mail servers not being seen on IMail server >because my IP is assigned to the router and not the box with IMail >running on it? The sending MTA's can only see port 25 on the outside ip of your router. They don't know what's going on in your router or Imail boxes. And Imail can only see the ip traffic that arrives on the port 25 of the Imail box. Imail doesn't know what's going on in your router or DNS. >This was not a problem with Apache, but it seems to be with >IMail. Has anyone tried a similar setup as what I am trying to do? Have you port mapped the outside ip.ad.re.ss:25 to your 192.168.0.30:25 the way you must have done with port:80? All you, your DNs settings, and your router have to do is get the SMTP traffic to arrive at 192.168.0.30:25 . From there, Imail will decide if and what to do with the traffic, such as accept it and deliver it to your mailboxes. btw, I wouldn't call your D-link box a gateway, but rather a NAT/packet filtering router (I assume it does (stateful) packet filtering. If not, get your money back). It is, secondarily, the default outbound gateway for your private network. Len http://BIND8NT.MEIway.com : Binary for ISC BIND 8.2.3 T9B for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-spam mail gateways Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
