Koozali.org: home of the SME Server

disable email server and use another server on the lan - version 9

Offline nogero

  • *
  • 8
  • +0/-0
I am having one of those emergency setups and I am going in for surgery next Tues. I have a SME 9 installed. I would like to disable the email server completely and then use port forwarding to direct traffic to appropriate server on the LAN. My questions I had trouble finding in docs are:

1) how can I completely disable the sme email server?

2) There is a new field in port forward named "Allow hosts". I need to accept and forward internet traffic to the other email server. Should I use "0.0.0.0/0" in Allow hosts or leave it blank?

My plan is to use port forward to direct smtp, ssmtp, etc to the existing email server on the LAN.

I see that version 9 has a setting to specify another email server IP address. Maybe I don't need to do the port forwarding?


Thanks
« Last Edit: January 24, 2015, 04:06:02 AM by nogero »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: disable email server and use another server on the lan - version 9
« Reply #1 on: January 24, 2015, 06:38:11 AM »
nogero

Quote
1) how can I completely disable the sme email server?

That is not a good idea as you will stop system mail etc.


2) ............ Maybe I don't need to do the port forwarding?

There are better ways than port forwarding.
Instead see
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section04#Internal_Mail_Servers

Please have a good read of the FAQ
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline nogero

  • *
  • 8
  • +0/-0
Re: disable email server and use another server on the lan - version 9
« Reply #2 on: January 24, 2015, 08:10:41 AM »
Thanks much for the tip. I am desperate to get it up before I get a knee job.

Offline nogero

  • *
  • 8
  • +0/-0
Re: disable email server and use another server on the lan - version 9
« Reply #3 on: January 25, 2015, 02:19:10 AM »
Thanks for the tip it worked very well. One thing though is I would like https to go to that other mail server instead of Horde. I can't just port forward 443 because I need it for server manager. Is there a way to run server manager on a different port and forward port 443 to the other mail server?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: disable email server and use another server on the lan - version 9
« Reply #4 on: January 25, 2015, 04:21:08 AM »
nogero

Re port 443
I suggest you do a search of the Forums (link at top of page) & search on
forward port 443 to other server

Here is one result
http://forums.contribs.org/index.php/topic,50235.msg252366.html#msg252366
which suggest to access server manager via the text based screen using
elinks

You may have issues with certificates so think carefully about forwarding port 443

You may also have security issues as https will no longer be secure if it is passing through another server.

Read some of the other search result posts

You might want to consider a more "menu" featured firewall, although sme server can do anything you can create a custom template firewall iptables rule for, if you know how.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline MSmith

  • *
  • 675
  • +0/-0
Re: disable email server and use another server on the lan - version 9
« Reply #5 on: February 24, 2015, 01:34:32 PM »
One way to get around using 443 to access Server Manager would be to enable PPTP VPN (not actually secure anymore,  I believe?). Then you can establish a VPN connection to your server and access Server Manager via its LAN IP. If you enable local network SSH you can then use PuTTY or a similar program to get command line access as well.
...