Rob, This is covered in the faq - it's even called something like "using stunnel, all hosts are logged as localhost". Use this: options{ keep_hostname(yes); }; -- Nate Campi