Lines Matching defs:session
51 * passwords, TLS policy, cached SMTP connections, and cached TLS session
160 struct SMTP_SESSION *session; /* network connection */
182 VSTRING *endp_label; /* cached session physical endpoint */
188 * session all recipients should be marked one way or the other.
363 time_t expire_time; /* session reuse expiration time */
379 TLS_SESS_STATE *tls_context; /* TLS library session state */
416 * A connection is re-usable if session->expire_time is > 0 and the
459 (!THIS_SESSION_IS_FORBIDDEN && session->expire_time > 0)
463 && (session->expire_time < vstream_ftime(session->stream) \
465 && session->reuse_count >= var_smtp_reuse_count)))
468 (!THIS_SESSION_IS_FORBIDDEN && session->expire_time < 0)
471 (session->forbidden != 0)
476 (session->expire_time = 0)
479 (session->expire_time = -1)
482 (session->forbidden = 1)
487 (session->forbidden = 0)
490 (session->expire_time = (when))
500 && smtp_sasl_passwd_lookup(session))
506 (session->state->request->msg_stats.active_arrival.tv_sec - \
507 session->state->request->msg_stats.incoming_arrival.tv_sec)
512 (session->tls_context == 0 \
518 (session->tls_context != 0 \
530 session->tls_retry_plain = 1; \