Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Graham on April 26, 2002, 05:00:44 PM

Title: recieving email from the external net
Post by: Graham on April 26, 2002, 05:00:44 PM
I have e-smith 5.1.2 set up as private server and gateway.

When I have it set up as a public server with gateway I can recieve email from my dynamic dns domain.

Is there anyway I can run e-smith as a private server, but open the required port to recieve email?
and how many security issues would this raise?

Thank you
Title: Re: recieving email from the external net
Post by: Leroy on April 27, 2002, 01:02:23 AM
A related question.

I would like to run E-Smith as a private server. And retain the ability to use it as the email server, w/ webmail, and as a public ftp.

It seems it would be better to add on or enable these services on a private server rather than try to disable the extraneous bits on a default install. If something had to give it could be webmail. But that is not ideal.

Is this thinking a good approach?
In general how would it be acomplished?
Title: Re: recieving email from the external net
Post by: chris meredith on April 27, 2002, 10:40:35 PM
The server recieves mail on port 25, so you would just need to forward 25 from your external interface/firewall to the internal server's port 25.  You might also want to forward port 110 if you want to use pop to check your mail from outside.

I think the main problem you would run into is the server being used as a mail relay.  As long as you setup your server not to relay (or to only relay from safe hosts) you should be ok.  There are plenty of posts here on setting up your server not to relay.

As for the person asking about Webmail, you would also need to forward the port for your webserver, the default is 80 for http and 443 for secure (https).  You could change that if you wanted and connect to another port, for example "http://somedomain.com:82" .