Post Installation Steps

  1. Home
  2. Knowledge Base
  3. Installation
  4. Post Installation Steps

1. Creating a user

  • To create users, select Accounts/Lookup from the admin interface (https://yourserver:7025)
  • Enter a username and password and click on Create.

2. Test locally

  • Use the builting surgeweb to send/receive local emails  https://your.server/surgeweb
  • Use any IMAP/POP email client/app to send/receive local messages.

3. Incoming mail

  • You will need to add your MX dns entries correctly to receive email.
    • MX 10 –>
    • A –> (your ip address)
  • Turn off any firewall or enable ports 25,110,143,80,443 at least.

4. Outgoing mail

  • It should work immediately, if it doesn’t check the logs for the reason, your ISP may be blocking port 25, in which case you can send via their system using a g_gateway rule, or move your server to an unrestricted place (we recommend a hosting provider like

5. Basic tests you can do

tellmail test_port25

tellmail test_spf_dkim

tellmail test_dns

tellmail pingall

6. How to disable firewalls on linux

Linux has an plethora of annoying firewalls, in general, the thing to do is to turn them off as they don’t do anything useful :-), it’s also a good way to figure out that the firewall is the problem. Then later if you want a firewall for some reason, you can enable it and apply a set of sensible rules.

nft flush ruleset
systemctl mask nftables.service

systemctl stop firewalld
systemctl disable firewalld

service iptables stop
service iptables disable

service ipchains disable
service ipchains stop

Was this article helpful?

Related Articles