drewr/postal — pull request #29 by dlowe (2012-10-16 18:16:58+00:00)
Title: Message-ID: must be bracketed with <>

When we upgraded to postal 1.9.0, we found that our messages' Message-ID headers were being discarded by some recipient domains (e.g. google). After some thrashing, it turns out this is because they're non-standard, e.g.:

Message-ID: RjWMglgZsW4ZqfqcfkszNA.1350410745612@postal.woot.local

This causes DKIM signature problems for us. This patch fixes it by making the default Message-ID headers compliant again, e.g.:

Message-ID:

(See http://www.ietf.org/rfc/rfc5322.txt section 3.6.4 for the relevant standard.)