SecurityRange object

Description

The security range object represents one hMailServer IP range.

Methods

Delete()
 Deletes the object from the database.
 
Save()
 Saves the security range to the database.

Properties

bool AllowDeliveryFromLocalToLocal
 Allow deliveries from local to local.
 
bool AllowDeliveryFromLocalToRemote
 Allow deliveries from local users to external users.
 
bool AllowDeliveryFromRemoteToLocal
 Allow deliveries from external users to local users.
 
bool AllowDeliveryFromRemoteToRemote
 Allow deliveries from external users to external users.
 
bool AllowIMAPConnections
 AllowIMAPConnections
 
bool AllowPOP3Connections
 Allow POP3 connections.
 
bool AllowSMTPConnections
 Allow SMTP connections.
 
bool EnableAntiVirus
 Enable virus protection for this IP range.
 
bool EnableSpamProtection
 Enable spam protection for this IP range.
 
bool Expires
 If true then this IP range will expire. Used by Autoban.  
 
Date/Time ExpiresTime
 Gets or sets the time the IP range expires (if expiration is enabled).
 
long ID
 Database identifier
(read-only)
 
bool IsForwardingRelay
 True if this is a forwarding relay.
 
string LowerIP
 Lower IP
 
string Name
 The name of this object.
 
long Priority
 Priority of this security range
 
bool RequireSMTPAuthExternalToLocal
 Require SMTP Auth for deliveries to local users from external users.
 
bool RequireSMTPAuthExternalToExternal
 Require SMTP Auth for deliveries to external users from external users.
 
bool RequireSMTPAuthLocalToLocal
 Require SMTP Auth for deliveries to local users from local users.
 
bool RequireSMTPAuthLocalToExternal
 Require SMTP Auth for deliveries to external users from local users.
 
bool RequireSSLTLSForAuth
 Require users to use SSL/TLS when authenticating.
 
string UpperIP
 Upper IP
 
NOTE:
Local Users are considered by hMaislerver to be users that have an email account hosted locally on this hMailserver, or if a route is considered 'Local' then additionally users with an email address at the domain of the route will be considered to be local users.
Remote / External users are anyone else.
These definitions have nothing to with originiating IP, ie someone who connects from a LAN may well be an 'external' user, as much as a local user may connect and be required to authenticate from the internet IP range (think mobile phone user).

 

Search documentation