I wrote a little script adding the header "X-Sophos-SPX-Encrypt" = Yes to outgoing mails from a mac.
This happens obviously if the message is not UTF-8 but iso 8859-1 encoded.
However, on OSX 10.9 there is no way to force a message to be UTF-8 encoded.
Why does the SPX safe reply fail when a message from a MAC is iso 8859-1 encoded?
PS: there is a workaround, just add a signature containing a UTF-8 character
Here's the script!
Attention, if you already have user defined headers you have to
modify this script!!!
Copy EncryptSpx (On/Off).scpt to ~/Library/Scripts/Applications/Mail
Turn on SPX Encryption before sending an encrypted message and do not forget to turn it off after sending the message!
You can turn on Scripts in your Menu by opening the AppleScript Editor and then check the box that says "Show Script menu in menu bar."
---- cut here ---
### Activate Sophos UZM 9.2 SPX Encryption V 0.1
### 2014 Thomas Gumpinger thomas@gumpinger.com
### Attention, if you already have user defined headers you have to modify this script!!!
### Copy this script to ~/Library/Scripts/Applications/Mail/
property ans : quote & "Yes" & quote
display alert "-- Sophos UTM SPX Encryption V0.1 ---- 2014 Thomas Gumpinger --" message "This script will set a preference for turning on Sophos UTM 9.2 SPX Encryption in the Mail application (com.apple.mail UserHeaders)." buttons {"Cancel", "On", "Off"} cancel button "Cancel" default button "Cancel"
if button returned of the result is "On" then
### modify here to add your existing user defined headers
do shell script "defaults write com.apple.mail UserHeaders '{\"X-Sophos-SPX-Encrypt\" = " & ans & "; }'"
else
### modify here to reset to your previous user defined headers
do shell script "defaults delete com.apple.mail UserHeaders"
end if
--- cut here----
This thread was automatically locked due to age.