Quote:
Originally Posted by qwertz123456
I'm having trouble with the duplicate rule as that seems much more complex. Any ideas if that code is correct? Not sure how I would test it though.
|
My advice on the duplicates test is not to bother until you find you need to. Fastmail usually resolves the problem for you. If delivering both messages to the same folder, Fastmail recognises the duplication, and does duplicate message suppression automatically on your behalf.
If you do need the test, use fileinto "duplicates" (or similar) to verify a duplicate was received and the test worked. Generate the duplicate by sending a message to two recipients (your regular account, and another that simply forwards the message to your regular account)