TEST SIGNED
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
- Should Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG DOMAIN
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG PUBKEY
${result} = Scan Message With Rspamc ${MESSAGE_FAIL} -u bob@invalid.za.org
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
*** Keywords ***
DKIM Signing Setup
TEST SIGNED
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@cacophony.za.org
Check Rspamc ${result} DKIM-Signature:
- Should Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Contain ${result.stdout} DKIM_SIGNED
TEST NOT SIGNED - USERNAME WRONG DOMAIN
${result} = Scan Message With Rspamc ${MESSAGE} -u bob@example.tk
Check Rspamc ${result} DKIM-Signature: inverse=1
- Should Not Contain ${result.stdout} DKIM_SIGNED (1.00)
+ Should Not Contain ${result.stdout} DKIM_SIGNED
*** Keywords ***
DKIM Signing Setup