update Received headers to use UTC timestamps

This commit is contained in:
Adam Cooke
2018-01-13 19:28:31 +00:00
parent 5f88ee85bf
commit ce68d9eacd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class IncomingMessagePrototype
:content => attachment[:data]
}
end
mail.header['Received'] = "from #{@source_type} (#{@ip} [#{@ip}]) by Postal with HTTP; #{Time.now.rfc2822.to_s}"
mail.header['Received'] = "from #{@source_type} (#{@ip} [#{@ip}]) by Postal with HTTP; #{Time.now.utc.rfc2822.to_s}"
mail.to_s
end
end