Hexamail Guard Configuration Reference [Blocker]

[Blocker]

The following settings can be used in this section:

Enable
You can turn off blocking entirely using this switch
bool
On/Off, True/False, Yes/No, 1/0
On
Enable=On
Action
this sets what you wish to do with email that is blocked. You can: Return - return it to the sender, Block - block the email Store - store a copy of the email AdminAlert - alert the administrator Forward - forward it to a nominated email address Notify - notify the original recipient(s) that it was blocked
flags
Block+Store
Action=Block
BlockForward
The address to forward email to if they have been blocked and the Forward action is selected.
text
BlockForward=admin@yourdomain.com
Alert
Alert administrator via email if the store contains more than the configured number of blocked email
bool
On/Off, True/False, Yes/No, 1/0
on
Alert=on
AlertAfter
Alert administrator via email if the store contains more than this number of blocked email
number
1 - 500 Email
10 Email
AlertAfter=50
AdviseUser
Include the reason why the email was blocked in email returned to the user. Enable this if you wish the sender to know why they could not send the email through the application
bool
On/Off, True/False, Yes/No, 1/0
off
AdviseUser=off
AdviseRecip
Include the reason why the email was blocked in email to the recipient. Enable this if you wish the recipient to know why they could not send the email through the application
bool
On/Off, True/False, Yes/No, 1/0
off
AdviseRecip=off
AttachOriginal
This setting allows the original email to be attached to any non-delivery reports generated by the system or the administrator
bool
On/Off, True/False, Yes/No, 1/0
off
AttachOriginal=off
CheckSenderAddressValid
The sender address must be valid
select
Off, Block
Off
CheckSenderAddressValid=Off
CheckSenderAddressDisclosed
The sender address must not be undisclosed
select
Off, Block
Off
CheckSenderAddressDisclosed=Off
AutoAllowOutBoundRecipients
Any recipients of email from users within your company can automatically be added to the list of users whose email will never be blocked.
bool
On/Off, True/False, Yes/No, 1/0
on
AutoAllowOutBoundRecipients=on
See Also:AlwaysAllowSenders, BlockedSenders
DisallowSenders
This is the list of email addresses that are blocked by Blocker. You can use wildcards (e.g. *@customername.com, myname@*.*). The email will appear to the sender to be sent correctly.
text
DisallowSenders=*@acustomer.com
See Also:AlwaysAllowSenders, BlockedSenders
AlwaysAllowSenders
This is the list of email addresses that are never blocked. You can use wildcards (e.g. *@customername.com, myname@*.*). Remember that SPAM blocking is only performed on inbound or relayed mail, so there is no need to add your own domains to this list. Note that the Disallowed Senders configured in the SMTP Server or the SPAM blocker Blocked Senders override this list. Email addresses are checked by the SMTP server module first for efficiency, and hence any email from blocked senders will not be processed by the SPAM blocker and this whitelist.
text
AlwaysAllowSenders=*@acustomer.com
See Also:AlwaysAllowSenders, BlockedSenders
AlwaysAllowRecipients
This is the list of email recipient addresses that are never blocked. You can use wildcards (e.g. *@customername.com, myname@*.*).
text
AlwaysAllowRecipients=*@acustomer.com
See Also:DisallowRecipients
DisallowRecipients
This is the list of email addresses that are disallowed. You can use wildcards (e.g. *competitor.com, myname@*.*).
text
DisallowRecipients=*@competitor.com
See Also:AlwaysAllowRecipients
CheckMailers
If you wish to enforce use of specific email clients, specify that list here to enable blocking by Mailer
select
Off, Block
Off
CheckMailers=Off
DisallowedMailers
This is the list of email clients/mass-mailers that are blocked. You can use wildcards (e.g. *MIME::Lite*)
text
AllowedMailers
This is the list of email clients/mass-mailers that are allowed. You can use wildcards (e.g. *Outlook*)
text
BlockImages
NOTE: use SPAM image blocking to block only images used to track receipt or full screen embedded promotional images typical of SPAM
select
Off, Block
Off
BlockImages=Off
BlockAttachments
Attachments to the email that match the extensions defined
select
Off+Block+Detach
Off
BlockAttachments=Off
AttachmentMatches
Wild cards for identifying attachments to be blocked, by blocking attachments with the default extensions you can help slow the spread of virus and worms
text
*.scr,*.bat,*.com,*.js,*.vbs,*.pif,*.exe,*.jar,*.adp,*.app,*.asp,*.bas,*.bat,*.ce,*.cmd,*.cnt,*.com,*.cpl,*.crt,*.csh,*.de,*.exe,*.fxp,*.gadget,*.hlp,*.hpj,*.hta,*.inf,*.ins,*.isp,*.its,*.js,*.jse,*.ksh,*.lnk,*.mad,*.maf,*.mag,*.mam,*.maq,*.ma,*.mas,*.mat,*.mau,*.mav,*.maw,*.mda,*.mdb,*.mde,*.mdt,*.mdw,*.mdz,*.msc,*.msh,*.msh1,*.msh2,*.mshxml,*.msh1xml,*.msh2xml,*.msi,*.msp,*.mst,*.ops,*.osd,*.pcd,*.pif,*.plg,*.prf,*.prg,*.pst,*.reg,*.scf,*.sc,*.sct,*.shb,*.shs,*.ps1,*.ps1xml,*.ps2,*.ps2xml,*.psc1,*.psc2,*.tmp,*.url,*.vb,*.vbe,*.vbp,*.vbs,*.vsmacros,*.vsw,*.ws,*.wsc,*.wsf,*.wsh,*.xnk,*.ade,*.cla,*.class,*.grp,*.ja,*.mcf,*.ocx,*.pl,*.xbap,
AttachmentMatches=*.scr,*.bat,*.com,*.js,*.vbs,*.pif,*.exe,*.jar,*.adp,*.app,*.asp,*.bas,*.bat,*.ce,*.cmd,*.cnt,*.com,*.cpl,*.crt,*.csh,*.de,*.exe,*.fxp,*.gadget,*.hlp,*.hpj,*.hta,*.inf,*.ins,*.isp,*.its,*.js,*.jse,*.ksh,*.lnk,*.mad,*.maf,*.mag,*.mam,*.maq,*.ma,*.mas,*.mat,*.mau,*.mav,*.maw,*.mda,*.mdb,*.mde,*.mdt,*.mdw,*.mdz,*.msc,*.msh,*.msh1,*.msh2,*.mshxml,*.msh1xml,*.msh2xml,*.msi,*.msp,*.mst,*.ops,*.osd,*.pcd,*.pif,*.plg,*.prf,*.prg,*.pst,*.reg,*.scf,*.sc,*.sct,*.shb,*.shs,*.ps1,*.ps1xml,*.ps2,*.ps2xml,*.psc1,*.psc2,*.tmp,*.url,*.vb,*.vbe,*.vbp,*.vbs,*.vsmacros,*.vsw,*.ws,*.wsc,*.wsf,*.wsh,*.xnk,*.ade,*.cla,*.class,*.grp,*.ja,*.mcf,*.ocx,*.pl,*.xbap,
AttachmentNameMatches
Wild cards for identifying attachment names to be blocked
text
AttachmentNameMatches=malware*.doc,IMG_*.pdf
AttachmentMatchCompressed
Also block the matched types if in a compressed format
text
false
AttachmentMatchCompressed=true
BlockInvalidRecipients
Email with no displayed recipients (MIME To: or CC: fields) will be blocked
select
Off, Block
Off
BlockInvalidRecipients=Off
BlockUndisclosedRecipients
Email with undisclosed recipients will be blocked
select
Off, Block
Off
BlockUndisclosedRecipients=Off
BlockMultipleRecipients
Email with too many recipients will be blocked
select
Off, Block
Off
BlockMultipleRecipients=Off
BlockMaxMultipleRecipients
Email with more than this number of recipients will be blocked
number
10 - 5000 Recipients
50 Recipients
BlockMaxMultipleRecipients=50
BlockMessageSize
Email over the specified size will be blocked
select
Off, Block
Off
BlockMessageSize=Off
BlockMaxMessageSize
The blocker will block any email greater than this size. The size includes any attachments.
number
1 - 256000 Kbytes
1024 Kbytes
BlockMaxMessageSize=1024
CheckMaxMessageSize
The blocker can be set to only check email less than a certain size. This setting can be used to make processing more efficient. Larger email are allowed through the blocker unchecked.
number
10000 Kbytes
CheckMaxMessageSize=10000
CheckMessageUpTo
The blocker can be set to only check up to this amount of an email. This setting can be used to make processing more efficient. Any content phrases matches must appear within this amount of content from the start of the email to be found.
number
32 Kbytes
CheckMessageUpTo=32
DisallowPhrasesContent
Any email found to contain any of these phrases will be blocked completely
text
DisallowPhrasesContent=Company secret project name
MustHavePhrasesContent
Any email NOT containing one of these phrases will be blocked
text
MustHavePhrasesContent=Authorization codes
AllowPhrasesContent
Any email found to contain any of these phrases will not be blocked
text
AllowPhrasesContent=Blocker bypass codes
DisallowPhrasesSubject
Any email found to contain any of these phrases in the subject will be marked blocked completely
text
DisallowPhrasesSubject=Offensive joke
MustHavePhrasesSubject
Any email NOT containing one of these phrases in the subject will be blocked
text
MustHavePhrasesSubject=Authorization codes
AllowPhrasesSubject
Any email found to contain any of these phrases in the subject will not be blocked
text
AllowPhrasesSubject=Blocker bypass codes
DisallowPhrasesSender
if the sender or from field contains any of these wildcards the email will be blocked
text
DisallowPhrasesSender=ExEmployee@mydomain.com
NDRFrom
Enter the display name you wish to use for the NDR Sender. ex: Administrator
text
Postmaster
NDRFrom=Administrator
NDRSender
Enter the email address you wish to use for for the NDR Sender. ex: postmaster@domain.com
text
NDRSender=postmaster@domain.com
NDRSubject
Enter the NDR subject you would like to use.
text
Undeliverable: <subject>
NDRSubject=Undeliverable: <subject>
NDRContent
Enter the NDR message you would like to use.
text
This is the email gateway at EXAMPLE.COM. The message '<subject>' from <from> to <to> was blocked. <reason>
NDRContent=This is the email gateway at EXAMPLE.COM. The message '<subject>' from <from> to <to> was blocked. <reason>
StoreMax
This setting allows automatic removal of old email when the maximum number to store is exceeded.
number
250 - 250000 email
75000 email
StoreMax=75000
StoreCache
This sets the maximum amount of memory used to cache email in the quarantine, sent and error stores. NOTE if you change this setting you will need to press APPLY and then stop and start the service.
number
1 - 1024 mbytes
132 mbytes
StoreCache=132
StoreReap
This setting allows automatic deletion of email when it has been in the store for longer than the specified number of days
bool
On/Off, True/False, Yes/No, 1/0
off
StoreReap=off
StoreReapAgeDays
Automatically delete email older than the specified number of days
number
1 - 365 Days
30 Days
StoreReapAgeDays=4
StorePurgeAgeDays
Automatically purge deleted email older than the specified number of days
number
1 - 120 Days
15 Days
StorePurgeAgeDays=4
StoreNormalizedSubjects
Show automatically normalized subject lines. Only applies to the spam email store
bool
On/Off, True/False, Yes/No, 1/0
On
StoreNormalizedSubjects=On
ErrorStoreMax
This setting allows automatic removal of old email when the maximum number to store is exceeded.
number
250 - 100000 email
20000 email
ErrorStoreMax=20000
ErrorStoreReap
This setting allows automatic deletion of email when it has been in the store for longer than the specified number of days
bool
On/Off, True/False, Yes/No, 1/0
on
ErrorStoreReap=on
ErrorStoreReapAgeDays
Automatically delete email older than the specified number of days
number
1 - 200 Days
30 Days
ErrorStoreReapAgeDays=4
ErrorStorePurgeAgeDays
Automatically purge deleted email older than the specified number of days
number
1 - 120 Days
15 Days
ErrorStorePurgeAgeDays=4