
20 Oct
2003
20 Oct
'03
5:57 p.m.
Hello, I have OTRS installed on a server that uses qmail as SMTP relay. OTRS does not include a "Date: " header when sending messages maybe because it expects the MTA to do it instead. Unfortunately qmail does not add the missing header and if the e-mail message passes only through qmail servers then it arrives at destination "date-less". This is very annoying so I tried to modify the following section from the SMTP.pm file: $Param{Header} .= "Subject: $Param{Subject}\n"; $Param{Header} .= "X-Mailer: OTRS Mail Service ($VERSION)\n"; by adding $Param{Header} .= "Date: " . strftime "%a, %d %b %Y %T %z", localtime ; Unfortunately this doesn't seem to solve the issue... Do you have another suggestion ? Thanx Mihai