What is DomainPOP and how to configure it to collect mail from a external POP account

DomainPOP is an MDaemon feature used to collect mail from an external email account via POP3.  These accounts are often called "catch-all" accounts and contain mail addressed (in various headers) to users of a particular domain.  MDaemon can download these messages, parse the headers for local users, and distribute mail to the correct accounts.

Listed below are the steps to enable DomainPOP and a brief description of the various DomainPOP features and settings.
Open the MDaemon GUI

  • Select Setup
  • Select Server Settings
  • Select DomainPOP

Host & Options

  • To enable DomainPOP, check the Enable DomainPOP mail cullection engine box.
  • Enter the Host name/IP address, logon name, and password to the mail source.
  • Select Use APOP if you wish to authenticate without sending clear text passwords.
  • Check Leave messages on the DomainPOP host(s) if you wish to keep messages.
  • Enter a number of days to keep messages on the remote host (0 = never delete).
  • Enter a maxiumum size (in KB) if you would like to set a limit (enter 0 for no limit).
    **NOTE**When a maximum size is chosen, the options to delete these messages from the host(s) and warn the postmaster on large messages will become available.
  • Check Download small messages before large ones to give DomainPOP the ability to prioritize smaller messages before downloading larger ones.
  • Select which option you would prefer if Quotas are enabled for accounts parsed by DomainPOP.


  • In this window, MDaemon will display default headers to be parsed for potential email addresses. These can be customized as needed.
  • Check the Detect duplicate messages using this header check box to have MDaemon remember a header value and not process messages that match this value.
  • Select which header you would like MDaemon to use to check values (Message-ID is default).
  • If messages in the source host have email address inside of the subject header and parentheses, check this box.
  • Check Parse 'Received:' headers for email addresses to check this header for parsable email addresses (enabled by default).
  • Enter the number of Received headers you wish to skip. Use this if there are Received headers at the beginning of the message you do not want parsed for email addresses.
  • If you would like MDaemon to cease parsing addresses after it finds a valid local address in a Received header, check Stop parsing if 'Received' yields a valid local address.


  • Check Enable domain name replacement engine if you would like domain names parsed by MDaemon to be converted to the domain name specified in the next text box.
  • Enter the domain you would like parsed domain names converted to here.
  • Use Address Filtering to strip the designated text from parsed address.
  • Check the applicable boxes to strip text from the left/right side or anywhere in the parsed address.
  • Check Ignore unknown local addresses parsed from message to avoid a large number of 'No Such User' postmaster notifications (enabled by default).


  • Existing routing rules are listed in the top of this window.
  • New rules can be created using the options that fullow the values listed below;
    • Trigger if the parsed address is equal to, is not equal to, contains, or does not contain.
    • Enter the text string MDeamon will search for.
    • Choose to not deliver to the parsed address or select the option to send the message to the user or a group of users.
    If Send to user or group or users is selected the fullowing window will display and allow you to choose from a list of available local users or add an new address.

Foreign Mail

  • Here you can decided what should be done with non-local addresses parsed from cullected messages (...be ignored completely is checked by default).
  • Exclude and Unless buttons will allow you to configure exceptions.

Name Matching

  • Select Activate real name matchine engine if you would like MDaemon to attempt to determine the recipient based on non-address informaiton (such as a real name attached to a TO: header).
  • Select Only apply this feature if the address portion matches this value allows you to specify if a particular address is present before using the name matching engine.
    For example, if you enter user01@example.com in the text box, then 'TO: 'Michael Mason' ' would be a candidate for Name Matching while TO: 'Michael Mason' would not.


  • Select Place a copy of each downloaded message into this fulder and specifiy a directory to archive DomainPOP mail