Can I install SecurityGateway and MDaemon on the same machine? Print

  • 0

Can I install SecurityGateway and MDaemon on the same machine?

It is possible to install SecurityGateway and MDaemon on the same machine. Since they use some of the same ports by default, there are some changes in the configuration that need to be made.

By default, MDaemon and SecurityGateway listens on ports 25, 465 (if SSL is enabled for SMTP), and 587 (the MSA port). You will need to change MDaemon's ports so SecurityGateway can listen on them. To do so, open the MDaemon console and follow these steps:

  1. Click Setup
  2. Click Server Settings
  3. Select Ports
  4. Change the SMTP ports that SecurityGateway will need to an unused port:
    1. SMTP inbound port
    2. SMTP outbound port
    3. MSA inbound port
    4. SMTP SSL port
  5. Click OK

If you want your local users to send outgoing mail through MDaemon rather than through SecurityGateway, then you will need to instruct them to configure the port their mail client will need to use in order to send mail.

This configuration would also allow you to disable MDaemon's spam filter (MDSpamD.exe), since SecurityPlus is doing the filtering for you. If you do not disable MDSpamD.exe, you will need to change the port that it listens on as well. SecurityGateway includes its own anti-spam daemon, SGSpamD.exe. While both MDSpamD and SGSpamD are based on SpamAssassin, there are differences in the rule sets that prevent them from being interchangeable, so they cannot both use the same configuration.

To disable SpamAssassin in MDaemon, open the console and follow these steps:

  1. Click Security
  2. Click Spam Filter from the Security menu
  3. Select Spam Filter in the Spam Filter window
  4. Uncheck Enable Spam Filter
  5. Click Bayesian Classification
  6. Uncheck Enable Bayesian classification
  7. Click OK

If you prefer to instead change the port on which MDaemon's spam filter is listening:

  1. Click Security
  2. Click Spam Filter
  3. Select Spam Daemon (MDSpamD)
  4. Under the MDSpamD Configuration there is a text box to enter the running port for MDSpamD.exe.
  5. Enter the new port number in Port at the top of that same screen.
  6. Click OK

Additional Comments

The use of MDaemon Antivirus may be disabled as incoming SMTP sessions will have been scanned in SecurityGateway.  If mailbox scanning is enabled in MDaemon, the feature can remain enabled even if Antivirus scanning is disabled.


Was this answer helpful?

« Back