Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-21 Thread Roman Ovchinnikov
quick fix - regexp instead of pcre: -header_checks = pcre:/etc/postfix/header_checks +header_checks = regexp:/etc/postfix/header_checks Ovchinnikov Roman, Paymantix Cell +7 (926) 262-40-05 | Email: r.ovchinni...@paymantix.com| Skype: rovchinnikov.mm On 13.05.2015 12:34, Roman Ovchinnikov wrote:

Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-13 Thread Roman Ovchinnikov
Hello! For now i've fixed this from sysadmins' side - i.e. rewriting email "Date" header on local Postfix. Short recipe: 1) add headers check in main.cf like header_checks = pcre:/etc/postfix/header_checks 2) add filtering rule root@otrs:~# cat /etc/postfix/header_checks # header_checks for date re

Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-07 Thread Gerald Young
This is only for reference. Perhaps it might help. Kernel/System/Email.pm sends mail. https://github.com/OTRS/otrs/blob/rel-4_0/Kernel/System/Email.pm#L308 # add date header $Header{Date} = 'Date: ' . $Kernel::OM->Get(' Kernel::System::Time')->MailTimeStamp(); MailTimeStamp is defined here: https

Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-07 Thread Roman Ovchinnikov
Thank you Gerald! I've just checked several hours ago this idea about SMTP MTA is doing weird things, so I captured traffic (tcpdump on localhost, port 25) and I see that MTA is not problem here, see below cut of the dump in text viewable format by tcpflow, highlighted Date with red: 127.000.000.0

Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-07 Thread Gerald Young
This is more about your MTA/SMTP server than it is about OTRS. OTRS doesn't really do anything more than use mailing APIs to adjust offset. But yes, offset on "Date" is wrong, but 9:30 UTC= 12:30 UTC+3. https://www.google.com/search?q=smtp+header+utc+offset+date On Thu, May 7, 2015 at 4:40 AM, R

Re: [otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-05-07 Thread Roman Ovchinnikov
Hello! Any ideas about this? Ovchinnikov Roman, Paymantix Cell +7 (926) 262-40-05 | Email: r.ovchinni...@paymantix.com| Skype: rovchinnikov.mm On 30.04.2015 13:13, Roman Ovchinnikov wrote: > Hello! > Recently we have installed otrs 4.0.7 and found that emails being sent > from system has wrong t

[otrs] wrong timezone in DATE email header, OTRS 4.0.7

2015-04-30 Thread Roman Ovchinnikov
Hello! Recently we have installed otrs 4.0.7 and found that emails being sent from system has wrong timezone settings in Date field, for example: Received: from mail.paymantix.com (LHLO mail.paymantix.com) (78.140.183.180) by mail.paymantix.com with LMTP; Thu, 30 Apr 2015 09:30:28 + (UTC) Rec