If you define "HaveSetenv" in the .cf file, telnetd won't define its own version. BSD has setenv, some other systems don't.