Hi Nigel,
> That is very very very odd .... I cannot see how that query can fail.
>
>
> Forgive me for asking, but did you modify anything in that file?
I edited it only to take out the @TP@ from the table names
> from my best guess it should look like this on those lines ...
>
> # Update whitelisting to the new details $sth = DBDo(' INSERT INTO
> greylisting_autowhitelist (TrackKey,Added,LastSeen,Comment) VALUES
> (?,?,?,?) ',
>
>
$key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist
> );
} else {
# Update
whitelisting to the new details
$sth =
DBDo('
INSERT INTO greylisting_autowhitelist
(TrackKey,Added,LastSeen,Comment)
VALUES
(?,?,?,?)
',
$key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist
);
if (!$sth) {
$server->log(LOG_ERR,"[GREYLISTING] Database insert failed:
".cbp::dblayer::Error());
return $server->protocol_response(PROTO_DB_ERROR);
}
}
--
Regards,
Peter Kiem
Zordah IT - IT Consultancy and Internet Services
Ph: (0414) 724-766 Fax: (07) 3112-4237
Web: www.zordah.net Email: [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users