On Tue, Oct 21, 2003 at 01:11:26PM +0300, Mihai Maties wrote:
> On Tuesday 21 October 2003 12:20, Wiktor Wodecki wrote:
> > On Tue, Oct 21, 2003 at 10:15:29AM +0100, Jim Wight wrote:
> > > On Mon, 2003-10-20 at 18:57, Mihai Maties wrote:
> > > > 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".
> > >
> > > That's not what's supposed to happen, and it's not what, in my
> > > experience, does happen. The behaviour I see is that described in the
> > > qmail-header man page:
> >
> > that's also RFC behaviour. I noticed this several months ago and fixed
> > it in cvs. What version are you using?
>
> I'm using OTRS 1.1.1. So, this issue was fixed in CVS ? If yes, please tell me
> in what file did you changed/added the code because I looked into SMTP.pm and
> that header is not present.
hmm, you're right, it's not in cvs try this:
$Param{Header} .= "X-Powered-By: OTRS - Open Ticket Request System
(http://otrs.org/)\n";
$Param{Header} .= "Message-ID: <".time().".".rand(999999)."[EMAIL
PROTECTED]>{FQDN}>\n";
}
$Param{Header} .= "Date: ".strftime("%a,%e %b %Y %H:%M:%S %z", localtime(time))."\n";
in Email/Sendmail.pm
if you use something different, patch SMTP, should be similar
--
Regards,
Wiktor Wodecki
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/