ArticlesArticles Most Popular ArticlesMost Popular Articles
RSS Feeds
DrillDown Icon Table of Contents
DrillDown Icon 2017 Official Holidays & Support Schedule
DrillDown Icon IMPORTANT: End of Life of SHA1 on Windows Server 2003
DrillDown Icon IMPORTANT: Supported Operating Systems
DrillDown Icon PLEASE READ: Our Update Server IPs Have Changed
DrillDown Icon Support
DrillDown Icon modusGate for Microsoft Azure
DrillDown Icon modusCloud
DrillDown Icon Alleviating Spam – Best Practices
DrillDown Icon directQuarantine Technical Information
DrillDown Icon modusMail & modusGate Technical Information
DrillDown Icon Documentation & Release Information
DrillDown Icon Configuration Information
DrillDown Icon modusGate & modusMail
DrillDown Icon modusGate Only
DrillDown Icon modusMail Only
DrillDown Icon SQL Server Information
DrillDown Icon MySQL Information
DrillDown Icon Security
DrillDown Icon Sieve
DrillDown Icon How-to: Conditionally Encrypt Outbound Traffic
DrillDown Icon How-To: Block Outbound Filenames Going to the Outside World
DrillDown Icon How-To: Copy all Incoming/Outgoing Messages for a User
DrillDown Icon How-To: Write Simple Sieve Scripts
DrillDown Icon Spam and False-Positives
DrillDown Icon Statistics and Monitoring Section
DrillDown Icon Web Components
DrillDown Icon Troubleshooting
DrillDown Icon Hardware & OS System Requirements
DrillDown Icon Tools
DrillDown Icon Other Product Technical Information
DrillDown Icon Professional Services
DrillDown Icon Newsletters
  Email This ArticlePrint PreviewPrint Current Article/Category and All Sub-Articles/Categories
 
How-to: Conditionally Encrypt Outbound Traffic
 

Product: All

Version & Build: All

 

 

Use a sieve script to conditionally send encrypted messages.  The script would insert a header element, called X-Requires-SSL, prompting SMTPDS (the Delivery Service) to attempt to connect to the destination using STARTTLS.  If the destination does not support this, the sender receives a bounce to this effect ("destination does not support STARTTLS").

The form of the script is as follows:


require ["editheader","variables"];

if <condition> {

addheader "X-Requires-SSL" "true";

keep;

}

 

 

E.g. force encryption if the word encrypt appears in the subject line:

 

if header :contains "subject" "encrypt" {

   addheader "X-Requires-SSL" "true";

   keep;

   }

 

 

Requirements for this to work:

  • Your server requires an SSL certificate
  • This certificate must be configured in the Modus Console
    • Go to Security – Properties – Encryption and Certificates, Use Certificate
  • SMTP Encryption must be enabled
    • Go to Security – Properties – Encryption and Certificates and select Enable SMTP Encryption

 

Modified 1/9/2007
Keywords: SMTPDS STARTTLS SSL
Article ID: 1576