Description
The AntiSpam object contains all server-wide settings related to anti-spam.
Methods
ClearGreyListingTriplets()
Clear greylisting triplets.
Properties
bool AddHeaderReason
Add header X-hMailServer-Reason when spam message is found.
bool AddHeaderSpam
Add header X-hMailServer-Spam when spam message is found.
bool CheckHostInHelo
Check host specified in HELO command.
long CheckHostInHeloScore
Check host specified in HELO command (SpamScore).
Antispam: DNS black lists collection.
(read-only)
bool GreyListingEnabled
Use grey listing.
long GreyListingFinalDelete
GreyListing - Delete used triplet after this time (hours).
long GreyListingInitialDelay
GreyListing - Delay before accepting messages (minutes).
long GreyListingInitialDelete
GreyListing - Delete unused triplet after this time (hours).
White list for greylisting.
(read-only)
long MaximumMessageSize
Maximum message size to run anti-spam on.
bool PrependSubject
Prepend message subject.
string PrependSubjectText
Text to prepend to message subject.
bool SpamAssassinEnabled
Antispam: Enable SpamAssassin integration
string SpamAssassinHost
Antispam: SpamAssassin host name
bool SpamAssassinMergeScore
Antispam: Merge score from SpamAssassin.
long SpamAssassinPort
Antispam: SpamAssassin port
long SpamAssassinScore
Antispam: SpamAssassin (score).
long SpamDeleteThreshold
Spam delete threshold
long SpamMarkThreshold
Spam mark threshold
SURBL servers collection.
(read-only)
long TarpitCount
Tarpit count.
long TarpitDelay
Tarpit delay.
bool UseMXChecks
Antispam: Use MX checks.
long UseMXChecksScore
Antispam: Use MX checks (score).
bool UseSPF
Antispam: Use SPF.
long UseSPFScore
Antispam: Use SPF (score).
Global white list.
(read-only)