When subtituting a whole line like:
subst('/^To:.*$/To: fred/');
It appears that the line gets terminated using only a "\n" rather than a "\r\n". This causes problems with some clients.
Jeff
Hello,
On 05/05/2006 10:09 AM, Jeff Williams wrote:
When subtituting a whole line like:
subst('/^To:.*$/To: fred/');
It appears that the line gets terminated using only a "\n" rather than a "\r\n". This causes problems with some clients.
in unix/linux, only \n marks the end if the line, so specify the \r in the replacement.
Cheers, Daniel
Jeff
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users