[LBBS-166] tests: Add DKIM-related tests
Using bogus DKIM keys created using the opendkim tools, we could test signing messages using DKIM:
- e.g. have a key for bbs.example.com
- Test a post sent to a local user and an "external" user using
mod_smtp_mailing_lists. Verify:- DKIM sigs are not added twice, sig present exactly once
- Return-Path and Delivered-To headers are present exactly once in the final message delivered in local mailboxes
Related:
- mod_paging: test that spam (spoofed mail) is rejected even though we don't run individual filters there
- esp. now that test_smtp_mailing_lists has precedence for DMARC, we should test rejection of mail for DMARC reasons for posts to mailing lists, etc.
Comments
You must be logged in to leave a comment.