Hi all,

Yesterday we released v2 of a Dutch community site called zaanzone.nl
As some of you might know, we run a punbb forum at forum.zaanzone.nl

Since  v2 of the site is running on a brand new server we ran into some problems with the smtp-server (exim4) and punbb.
Everytime punBB wants to send a message, I get an error in my mail log like this (changed .nl to invalid...)

2005-02-06 10:36:48 1CxiqW-0006bR-Pm H=localhost [127.0.0.1] F=<beheer@zaanzone.invalid> rejected after DATA: syntax error in 'From:' header when scanning for send
er: malformed address: Date: Sun may not follow ZaanZone Mailer <beheer@zaanzone.invalid>
Envelope-from: <beheer@zaanzone.nl>
Envelope-to: <xxxx@crazyplace.invalid>
P Received: from localhost ([127.0.0.1])
        by klinkhamer.zaanzone.nl with smtp (Exim 4.34)
        id 1CxiqW-0006bR-Pm
        for xavier@crazyplace.nl; Sun, 06 Feb 2005 10:36:48 +0100
  Subject: p: Antwoord op bericht: 'MSN-naam'
T To: <xxxx@crazyplace.invalid>,
F From: ZaanZone Mailer <beheer@zaanzone.nl>
Date: Sun,  6 Feb 2005 10:36:43 +0100
MIME-Version: 1.0
Content-transfer-encoding: 8bit
Content-type: text/plain; charset=iso-8859-1
X-Mailer: PunBB Mailer
  Message-ID: <E1CxiqW-0006bR-Pm@klinkhamer.zaanzone.nl>

So there is some syntax error I gues. I checked the mailscript but that looks ok:

$headers = 'From: '.$from."\n".'Date: '.date('r')."\n".'MIM

Anyone else experienced this and maybe know a fix?

Greetings,

Klaas Schaafsma