Oct 22, 2020 
Support Center » Knowledgebase » Reject non-English email
 Reject non-English email
Solution
VisNetic MailServer
 
From the VisNetic MailServer Admin window:

Select Security - Content Filter (version 6 - 7) and in version 8 select Security, Filters, Content filtering tab.
 
Add the following filter
 
Conditions:
Where any message header matches some words
Description:
String Condition:
RegEx (Regular Expression)
String: ^(subject|from)\s*:.*[^\x00-\x7f]{5,}
Actions: Reject/Accept/Delete message: Reject
 
The example above would be satisfied only if the Subject: or From: header contained non-ASCII text (byte values > 127). You could test the body, to header or whatever by modifying the Conditions and Description.
 


Article Details
Article ID: 66
Created On: Aug 11, 2004 03:11 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | News | Downloads
Language: