tomsteele/smitty — pull request #1 by packetassailant (2014-05-30 21:37:31+00:00)
Title: Fixed TLS support and also enhancement for parsing of messageid

Tom, so I noticed that TLS was broken so I fixed the issue. I also noticed that the messageid header is populated by a split on @ which means that creating a sender from address using the format 'rat ' will result in a broken header. As a result the header will automagically get fixed up by the relay mail server, but also caught by spam filters. I added a regex to only parse the email format, and then split at @ based on that. The from_address value is preserved so we can support the alias sender value that I mentioned above.