Try checking to ensure that there is no trailing space or other garbage at the end of $efrom. More likely, however, is that the server has sendmail configured that way. This is not unusual in virtual hosting situations, among others.
HTH, -traveler
Comment on Re: domain getting tacked onto email address??