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
|