KBA-02049

MDaemon 10.x: Setting up Relay Control in MDaemon

Use the Security Settings... | Relay Control menu selection to define how your server reacts to mail relaying. When a message arrives at your mail server that is neither from nor to a local address, your server is being asked to relay (or deliver) the message on behalf of another user. If you do not want your server to relay mail for unknown users you can use the settings provided.

    1. Open the MDaemon console.
    2. Click Security.
    3. Click Security Settings...
    4. Select Relay Control on the left.
    5. Click the box Do not allow message relaying. When this switch is selected, MDaemon will refuse to accept messages for delivery that are both FROM and TO a non-local user.
    6. Click OK.
  1. The following options will allow you to fine tune the controls of Relays/Trusts/Reverse lookups.

    ...unless addressed to a known alias

    Click this control if you want MDaemon to relay mail for Address Aliases regardless of your Relay Control settings.



    ...unless sent via authenticated SMTP session

    When this checkbox is enabled, MDaemon will always relay mail when it is sent via an authenticated SMTP session.



    ...unless sent from a trusted host or IP

    When this control is enabled, MDaemon will always relay mail when it is sent from a trusted host or IP.



    ...unless sent from a gateway user

    Enable this checkbox if you want MDaemon to permit mail relaying through domain gateways regardless of your Relay Control settings. This feature is disabled by default and isn’t recommended.



    SMTP MAIL address must exist if it uses a local domain

    When a message claims to be from a local domain MDaemon will verify the sending account with the accounts in record to make sure it is valid.



    SMTP RCPT address must exist if it uses a local domain

    When this checkbox is enabled, MDaemon will refuse to accept mail that is for a local domain but addressed to a nonexistent user. 'Local' includes both LAN and Domain Gateways.



    ...unless sent via authenticated SMTP session

    Each of the above options can have an exclusion for mail that is sent via Authenticated SMTP.



    ...unless sent from a trusted IP

    Each of the above options for MAIL and RCPT can have an exclusion for mail that is sent from a trusted IP.

     

Additional Comments

Configuring MDaemon to be an open relay may cause your server to be listed on Real-Time Blacklists and some servers may refuse mail from you.

This article refers to MDaemon 10.x and above. For information on how to resolve this in previous versions, please see the link below.