function (session, features)
-- This hook is possibly called once per host (at least if the
-- remote server does not specify a to/from.
function (session, features)
-- This hook is possibly called once per host (at least if the
-- remote server does not specify a to/from.
features:tag("starttls", starttls_attr):up();
-- TODO: Make this optional :P
--features:tag("required"):up():up();
features:tag("starttls", starttls_attr):up();
-- TODO: Make this optional :P
--features:tag("required"):up():up();