Re: SMTP relay properties
From: -D- (noone_at_nospam.com)
Date: 09/20/04
- Next message: Devapriya De Silva: "Re: Error Sending mail using IIS6 SMTP"
- Previous message: Kristofer Gafvert: "Re: Email Domain Alias"
- In reply to: -D-: "Re: SMTP relay properties"
- Next in thread: -D-: "Re: SMTP relay properties"
- Reply: -D-: "Re: SMTP relay properties"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Sep 2004 03:25:32 -0500
I was researching how to setup a static IP behind a linksys router and found
a thread on linksys support page that explained to configure TCP/IP as
follows:
IP: 192.168.1.20 (multiple static IP's on other PC's would be .25, .30, etc.
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Preferred DNS: 192.168.1.1
I tried the following configuration and still cannot get internet access?
Any ideas?
I also read a thread about setting up port forwarding which indicated the
following configuration for SMTP:
25~25
IP: 192.168.1.3
Does that seem correct?
Either way, I'm just trying to get the configuration right so I can get
internet access. Then I can see if the SMTP Server works with my mail
scripts.
Any suggestions would be helpful.
Thanks,
-D-
"-D-" <noone@nospam.com> wrote in message
news:OhZfpGunEHA.1160@tk2msftngp13.phx.gbl...
> I tried all the settings you provided, but I'm unable to access the
internet
> on the server, and I can't ping the server from the other PC's? I'm not
> sure where the problem is in the configuration? Any suggestions on what I
> need to troubleshoot?
>
> Thanks,
> -D-
>
> "m.marien" <mm AT RiverCityCanada DOT com> wrote in message
> news:10kslhoj6l5r8e4@corp.supernews.com...
> >
> > "-D-" <noone@nospam.com> wrote in message
> > news:uKBg$ArnEHA.2052@TK2MSFTNGP10.phx.gbl...
> > > Thank you for replying to my post. I appreciate the information.
> > >
> > > When I setup the static IP for the server, what DNS IP addresses do I
> use?
> > > I wasn't sure about this? I noticed in the router settings in the
> status
> > > tab for WAN there were two DNS IP addresses listed:
> > > 209.206.199.16
> > > 209.142.136.85
> > > Are those the DNS addresses I use?
> > >
> >
> > Yes, use the same ones that the router specifies. These are probably the
> DNS
> > servers that your ISP supplies and would be the same ones that the DHCP
> > server uses.
> >
> > > When setting up the grant access for relaying do I only grant access
to
> > > the
> > > IP address: 192.168.1.0? Or do I need to include the IP address
> 127.0.0.1
> > > too? I assumed only the 192.168.1.0 IP address, but wasn't certain.
> > >
> >
> > You can just grant access for just 192.168.1.2 or both 192.168.1.2 and
> > 127.0.0.1. They both refer to the same computer so it wouldn't matter.
You
> > can also grant access to the entire subnet 192.168.1.0/255.255.255.0 so
> that
> > all the computers on your subnet can send mail through your SMTP server.
> >
> > > Finally, is the only setting I need to change in the router the PORT
> > > FORWARDING address for the range of:
> > > 25~25
> > > IP Address: 192.168.1.2
> > >
> >
> > Yes. Any SMTP traffic from the Internet will then be routed to your SMTP
> > server.
> >
> > > Thank you for your help. If there is anything I'm missing, please let
> me
> > > know. Thanks again!
> > > -D-
> > >
> > >
> > > "m.marien" <mm AT RiverCityCanada DOT com> wrote in message
> > > news:10ks1chh49er042@corp.supernews.com...
> > >>
> > >> "-D-" <noone@nospam.com> wrote in message
> > >> news:%23ogBf4mnEHA.3628@TK2MSFTNGP09.phx.gbl...
> > >> > I've made several attempts to setup the default SMTP Virtual Server
> on
> > > my
> > >> > home testing server. The sole purpose is to test mail scripts
using
> > >> > CDO...nothing else.
> > >> >
> > >> > I've read several articles and tutorials to no avail. I think the
> > > problem
> > >> > is related to my linksys router, the port forwarding setup and the
> SMTP
> > >> > relay properties. But, I'm not sure?
> > >> >
> > >> > Here is what I've configured:
> > >> >
> > >> > I setup the Email Settings under Server Extensions as follows:
> > >> > Web server's mail address: @localhost
> > >> > Contact address: @localhost
> > >> > SMTP Mail server: local host
> > >> > Mail encoding: use default encoding
> > >> > Character set: use default encoding
> > >> >
> > >> > I setup the Default SMTP Virtual Server Properties under the
general
> > >> > tab
> > >> > as
> > >> > follows:
> > >> > Name: Default SMTP Virtual Server
> > >> > IP address: (All unassigned)
> > >> >
> > >> > I setup the Default SMTP Virtual Server Properties under the relay
> tab
> > > as
> > >> > follows:
> > >> > Access: grant
> > >> > IP address (Mask)/Domain Name: 127.0.0.1
> > >> >
> > >> > I'm using a linksys router, which has the default IP of 192.168.1.1
> > >> > I have three pc's connected to the router including the server.
> > >> > Each machine is set to obtain IP address automatically and DNS
server
> > >> > address automatically with DHCP enabled.
> > >> > I checked the IP address for each machine using ipconfig and the
> > >> > results
> > >> > show
> > >> > IP address: 192.168.1.100
> > >> > Subnet Mask: 255.255.255.0
> > >> > Default Gateway: 192.168.1.1
> > >> > The results are the same for the other machines except the IP
> addresses
> > >> > are
> > >> > 192.168.1.101 & 192.168.102
> > >> >
> > >> > If I reboot the PC,s the IP address can switch between the PC's,
but
> > > still
> > >> > remain 192.168.1.100, 192.168.1.101 & 192.168.1.102
> > >> >
> > >> > Finally, I setup the PORT Forwarding for the linksys router as
> follows:
> > >> > service port range: 25 ~ 25
> > >> > IP address: 192.168.1.102
> > >> > This was the IP for the server, but if I reboot all the PC,s then
the
> > >> > IP
> > >> > can
> > >> > change to one of the other IP's listed above. Do, I need to add
the
> IP
> > >> > for
> > >> > the other two IP address: 192.168.1.100 & 192.168.1.101
> > >> >
> > >> > What about the relay IP address as described above? Does that need
> to
> > > be
> > >> > changed?
> > >> >
> > >> > I have no idea where the problem is and what I configured
> incorrectly?
> > > I
> > >> > know the mail scripts work, because I've tried them on the remote
web
> > > host
> > >> > and they work fine. I just want to setup my testing server so I
can
> do
> > >> > all
> > >> > the testing locally, make sure the scripts work smoothly with AOL,
> > >> > Hotmail,
> > >> > Yahoo, etc.
> > >> >
> > >> > If anyone can lend some help, it would be greatly appreciated.
Thank
> > > you.
> > >> > -D-
> > >> >
> > >>
> > >> Servers normally have a static IP address. Your port forwarding won't
> > >> work
> > >> if the server IP address changes. Since the DHCP server seems to
assign
> > >> addresses above 192.168.1.100, configure your SMTP server with a
static
> > >> address of say 192.168.1.2. The port forwarding for port 25 can then
> > >> point
> > >> to 192.168.1.2 which you know is always your SMTP server. Don't
forget
> to
> > >> fill in the default gateway and DNS IP addresses for the SMTP server
in
> > > the
> > >> TCP/IP properties.
> > >>
> > >> If you want your other PC's to send mail through the SMTP server,
> you'll
> > >> have to add their addresses to grant access for relaying. Since the
> > >> 192.168.1 subnet is a private address range behind your gateway, you
> can
> > >> grant access to a Group of computers using a subnet address of
> > >> 192.168.1.0
> > >> and mask of 255.255.255.0.
> > >>
> > >>
> > >>
> > >
> > >
> >
> >
>
>
- Next message: Devapriya De Silva: "Re: Error Sending mail using IIS6 SMTP"
- Previous message: Kristofer Gafvert: "Re: Email Domain Alias"
- In reply to: -D-: "Re: SMTP relay properties"
- Next in thread: -D-: "Re: SMTP relay properties"
- Reply: -D-: "Re: SMTP relay properties"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|