Processing a signed email

If a trailer is attached to an in-house email that has been digitally signed by a member of staff, the recipient of the email will receive a message to the effect that the email has been tampered with.


In order to ensure that this type of email arrives at the recipient with the digital signature intact, you should create the following rules and jobs:

Rule 1: (type: "signature rule") checks whether an email has been signed or not:


Action job 1:
Depending on outcome of Rule 1


The job sets a flag [“xsignature”] to indicate that the email has been signed, then removes the Lotus Notes signature


As text:
FIELD xsignature := "1";
FIELD xsignature := "1";
@Success


You can now run any job that modifies the email. In order to generate a digital signature again at the end, you will need

Rule 2: (type: "formular rule")
This checks whether the "xsignature" flag generated in the previous job exists or not.


As text: FIELD xsignature := "1";

If it does, the following action job is run:
[IMPORTANT: the rule MUST be queried immediately prior to the job being run]


The job signs the email with the ID of the executing Domino server:


As a result, the recipient receives a correct, digitally signed email.


The email has, however, been signed by the Domino server, not by the sender.