IP range

General

Name

The name of the IP range. Any text between 1 and 40 characters. Give IP ranges names that describes the ranges, for example My computer, My LAN and so on.

Priority

The priority of the IP range. You can specify a value between 0 and 1000. A higher value means higher priority. If hMailServer matches two IP ranges, the IP range with the highest priority will be used. For example, if a client is matching one IP range with priority 5, and one IP range with priority 10, hMailServer will use the IP range with priority 10. If a client is matching two IP ranges with the same priority, the choice hMailServer will make is undefined.

Lower IP & Upper IP

All IP addresses between (and including) Lower IP and Upper IP will be effected by this IP range. For example, the IP address 127.0.0.4 matches an IP range where the Lower IP is 127.0.0.1 and the Upper IP is 127.0.0.5. The IP address 255.255.255.0 matches an IP range where both the Lower IP and Upper IP is 255.255.255.0.

Expires

If you want the IP range to be automatically removed, select Expire and specify what date and time you want it to be removed.

The expiry time is not exact to the second - the internal task which removes expired IP ranges runs once every minute. 

This functionality is used by the auto-ban functionality in hMailServer. If an IP address is auto-banned, an IP range matching that IP address will be created. The expiry date will be automatically set to a point in the future, as defined in the autoban settings.

Allow connections

These settings lets you define which protocols hMailServer will allow, from TCP/IP connections originating from this IP range.

Allow deliveries

These settings allow you to define whether hMailServer should allow SMTP deliveries for this IP range.
 
A person sending an email is considered local if the domain-part of his or her email address matches
  • a local domain or
  • a route in which you have selected "When recipient matches route, treat recipient domain as a local domain"

A person is considered external in all other cases.

All users with accounts on your server will typically be considered local. All other people will be considered external.

If you select "External to external", people will be able to send email via the server even if the sender address does not match an account on the server. If you select this option you should make sure that you select the corresponding setting under "Require SMTP authentication" as well. Not doing so will open up your server for spammers.

Require SMTP authentication

Using these settings you can select who is required to use SMTP authentication when sending through the server. SMTP authentication should normally be used by all people sending email from accounts on your server.
 
Also, External to external should normally always be selected. If you do not require authentication when external users sends messages through your server, your server will be abused by spammers.

Anti-spam

If this option is enabled, hMailServer will run spam protection (such as SPF, DNS blacklists and MX check) for SMTP deliveries originating from this IP range. You may want to disable this option for your local network.

Anti-virus

If this option is enabled, hMailServer will run virus protection on deliveries originating from this IP range. You may want to disable this option for your local network.

Require SSL/TLS for authentication

If this option is enabled, it will not be possible to log on hMailServer (via SMTP/POP3/IMAP) without using an encrypted channel. You can select this option if you want to force all your users to use SSL or TLS.

This option does not affect unauthenticated connections, such as normal delivery of inbound email messages from other servers. 

Recommendations

Run open relay tests

After you've changed or added an IP range, you should run at least one open relay test to ensure that no-one can use your server to send spam.

 

Search documentation