Koozali.org: home of the SME Server

Using the SMTP outside my LAN

matoa

Using the SMTP outside my LAN
« on: March 06, 2001, 07:19:18 AM »
Hi all

How can I allow the users to use the smtp server on my e-smith server outside my lan (ie: connected to the internet elsewhere...).

Thanks for your answers.

Mathieu
;o)

Dan Brown

Re: Using the SMTP outside my LAN
« Reply #1 on: March 06, 2001, 08:53:59 AM »
Very bad idea, as it'd make you an open relay, the friend of spammers and enemy of the rest of the net.  If it's a particular address or range of addresses you want to allow, though, you should be able to specify it through the "local networks" panel in the manager.

Rick

Re: Using the SMTP outside my LAN
« Reply #2 on: March 06, 2001, 09:58:57 AM »
How can I add one IP address from the outside to the local network? I tried to do that in the local network page in the e-smith-manager, but I ended up in adding a whole range of addresses (255)

Jason Miller

Re: Using the SMTP outside my LAN
« Reply #3 on: March 06, 2001, 06:56:03 PM »
Its all about the subnet mask.

If you want machine 209.217.125.238 to be able to connect and only it, then fill in

Network Address: 209.217.125.238
Subnet Mask:    255.255.255.255

In your case, your subnet mask would have been 255.255.255.0 (providing the 255 additional addresses).

Regards,

Jason

Rick

Re: Using the SMTP outside my LAN
« Reply #4 on: March 06, 2001, 07:29:50 PM »
It works. Thanks for the info. The only thing left is that I am not sure what the router-field in the form does.

Jason Miller

Re: Using the SMTP outside my LAN
« Reply #5 on: March 06, 2001, 08:03:57 PM »
The router is the machine that knows where that additional network/machine is.

For example, if I run my e-smith server as 192.168.45.1 (and the rest of the network as 192.168.45.65 - 192.168.45.250) and I have another machine on a different e-smith network (machine 192.168.83.3 behind a router of 192.168.83.1) then I can specify 192.168.83.1 as the router connection for that machine because it is the one that knows where to find it.  It provides the e-smith server with an additional information for finding the machine which is to have the same special privileges as regular network machines.

And just an additional warning to matoa and Rick - this is still not recommended.  Even changing it to allow one external address to have 'local' network ability can be a security risk.  You are trusting a machine not on your network to have full network access.  

Regards,

Jason

Rick

Re: Using the SMTP outside my LAN
« Reply #6 on: March 07, 2001, 12:44:26 AM »
Ok, thanks for the answer and the warnings.

Does adding a machine to the e-smith local network also mean that this machine can access windows shares and log in on my PDC?

matoa

Re: Using the SMTP outside my LAN
« Reply #7 on: March 07, 2001, 08:37:04 AM »
But all I want to do is to allow user having an email @mydomain.com to be able to send email. If they don't have email from my domain, then they won't be able to send them.
I know that it is possible to do that using webmin so it should be possible with the e-smith. May be what I can do is to enable sending email only to registered users by adding an authentication process but I don't know how to do it with the e-smith :o(

Thanks for eveything .

Mathieu
;o)

Richard

Re: Using the SMTP outside my LAN
« Reply #8 on: March 07, 2001, 10:33:40 AM »
It depends on a number of things.

First, do you want it to?
If yes, great, it will, provided it is set up correctly, ie workgroup name in identification.

If you don't, just give it a bogus workgroup name.  Of course, this assumes that the user doesn't know the name of the workgroup, or how to correct the bogud name.  

If all you want them to be able to do is browse the internet, that's not a problem.
If you want them to use the email service provided by e-smith, you'll have to experiment with that one.  I don't see why it wouldn't work.