Got it and see the error messages. Allow me to explain my thoughts.
From bounce.php:
while(!$done){
if($cchar == strlen($em)) $done = 1;
if($em[$cchar]<>"\n" && !$done){
$cchar++;
} else {
$line = substr($em,$schar,$cchar-$schar);
if($line) $lines[$cline] = $line;
$schar=$cchar+1;
$cline++;
$cchar++;
}
}
// find lines that start with To:
reset($lines);
The reset() call is failing because $lines is not set. This should only happen if line 1 is true:
if($cchar == strlen($em)) $done = 1;
Basically it's "done" before $lines, used in the reset() call, is built. Therefore I assume the email is not being forwarded properly.
Looking at bounce.cgi on the provided server I found some outdated code, previously used to try to detect which message bounced. e.g.:
$msgtype = '';
$userid = '';
$msgid = '';
# find flags
$searchstr = 'X-LM-Flags: ';
$strpos = index($email,$searchstr);
# build command
$sys_cmd = $http_program . "\\?";
$sys_cmd = $sys_cmd . "mt=" . $msgtype . "\\&";
$sys_cmd = $sys_cmd . "ui=" . $userid . "\\&";
$sys_cmd = $sys_cmd . "mi=" . $msgid;
In conclusion, you need an updated copy of bounce.cgi from the latest files available in the member area. I had thought you wouldn't need to upgrade this file when updating ListMail from even very old versions, but apparently you do. :shock:
Please let me know if the problem continues after updating bounce.cgi.
Regards