On Fri, 2001-10-19 at 14:07, Daniel Drown wrote:
> vpopmail.c, function tcprules_open, line 2067 copies the uninitialized
> variable template to bin2:
> strncat( bin2, template, BUFF_SIZE);
> 
> That line should probably be removed.
> 
> Also, the relay_template variable seems to no longer be used in that file.
> 

Nice one Daniel,

I found that exact bug yesterday and fixed it. It should read

strncat( bind2, relay_template, BUFF_SIZE);

I also changed how relay_template was initiallized.

What we were seeing, for some wacky reason, was the uninitialized
template variable contained "tcp.smtp". Which resulted in tcp.smtp
being unlinked.

It's fixed. I'll post the change later today.

One last thing is the valias/mysql issue. I thought I knew what
it was, but I don't. Anyone who can produce the problem: care
to let me debug it on thier machine?

Ken Jones

Reply via email to