Koozali.org: home of the SME Server

First time user question about mailserver.

Offline neggard

  • **
  • 29
  • +0/-0
First time user question about mailserver.
« on: October 12, 2006, 10:33:12 AM »
I want to use SME just like an mailserver with webmail function.
The server is behind a firewall so I need some help to set up the mailserver.
What should I start checking and what about DNS and so?

Offline mmccarn

  • *
  • 2,656
  • +10/-0
First time user question about mailserver.
« Reply #1 on: October 12, 2006, 01:16:34 PM »
Here's a summary of the settings for a straightforward mail server.  SME supports some other options (ETRN and Fetchmail) that I've never used.

DNS:
yourdomain.net in MX 10 firewall.yourdomain.net
firewall.yourdomain.net in A  a.b.c.d (the public IP of your firewall)

note: you could use a dynamic ip registered with any of several dynamic ip address services like "dyndns.org".  If you do, you'll need to use your router's "DDNS" option to register the address, or find another DDNS update package to load on some system on the network behind your firewall.  SME supports DDNS in server-gateway mode, but with your setup you'll be using "server-only" mode.  There's a DDNS contrib for SME that I know nothing about that may allow DDNS from the SME in server-only mode.

Firewall:
Foward ports to the SME server as follows:
    80, 443 for webmail
    25 if using  "standard (smtp)" mail retrieval
    465 for "secure smtp" if you need to allow relay from off-site clients using Outlook, Thunderbird, etc
    995 if you will have off-site users using pop3 clients
    993 if you will have off-site users using imap clients


SME:
Setup as "server-only"
Check "E-Mail settings":
    - Webmail access: "Allow https (secure)"
    - email reception settings: "Standard (SMTP)"
Configure "SPAM Filtering" (read the howto by sonoracomm in this post: http://forums.contribs.org/index.php?topic=32158.0)
Checkout the other Horde modules provided by mrjhb3 in this thread: http://forums.contribs.org/index.php?topic=31018.0

Extras
Personally, I also like to load (search the forums for more info):
    sme7admin
    qmHandle
    mailstats