For Raspberry Glaze: Melt butter in a saucepan. Add everything else and stir well. Let it come to a boil then turn off heat. I made this ahead of time and refrigerated it until serving time. I just heated it up right before serving.
Combine marinade ingredients, set a small amount aside for basting, and dump remainder in large ziploc bag. Add tenderloin, and let marinate for at least 30 minutes, up to overnight.
Set up your grill for indirect cooking or use your smoker.
Smoke at 200-225 using fruit wood for about an hour, basting with reserve marinade every 15-20 minutes. Internal temperature needs to be at least 145.
Remove, cover, and let rest for 15 minutes before slicing.