1. Knowledge Base
  2. MDaemon® Email Server

What are the recommended Host Screen settings for MDaemon?

What entries can I use in MDaemon's Host Screen settings to block spammers and/or other malicious senders?

In the \MDaemon\App directory, locate the HostScreen.dat file and edit it with a text editor. Add the following entries:

  • all localhost refuse

  • all friend refuse

  • all user refuse

  • all ylmf-pc refuse

  • all -* refuse
  • all *_* refuse
  • all #.#.#.# refuse
  • all *.invalid refuse
  • all *# refuse
  • all */* refuse
  • all *|* refuse
Save the file, and either restart MDaemon or create an empty text file named hostscreen.sem in the MDaemon\App directory to reload the contents of the HostScreen.dat file.


If you would rather enter the entries in the MDaemon Configuration session, see the steps below.
  1. Click Security
  2. Click Security Manager/Settings
  3. In the left hand pane, locate the Screening section
  4. Click on Host Screen
  5. Click New
  6. In the Local IP drop down box, select All IPs
  7. In the Remote host box, enter one of the recommended values between 'all' and 'refuse' from the above list
  8. Select the Refuse EHLO/PTR value radio button
  9. Click Add
    mdaemon email server recommended host screen security settings
  10. Repeat the steps for each recommended value.
  11. Click Ok


Additional Comments

Note that there may be a chance of false positive hits, but it is minimal.