1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2012 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 /* Private structure for the private options and other private data. */
12 uschar *fallback_hosts;
14 host_item *fallback_hostlist;
15 uschar *authenticated_sender;
21 uschar *serialize_hosts;
22 uschar *hosts_try_auth;
23 uschar *hosts_require_auth;
24 #ifdef EXPERIMENTAL_PRDR
25 uschar *hosts_try_prdr;
27 #ifdef EXPERIMENTAL_OCSP
28 uschar *hosts_require_ocsp;
30 uschar *hosts_require_tls;
31 uschar *hosts_avoid_tls;
32 uschar *hosts_verify_avoid_tls;
33 uschar *hosts_avoid_pipelining;
34 uschar *hosts_avoid_esmtp;
35 uschar *hosts_nopass_tls;
42 int hosts_max_try_hardlimit;
43 BOOL address_retry_include_sender;
45 BOOL authenticated_sender_force;
47 BOOL dns_qualify_single;
48 BOOL dns_search_parents;
49 BOOL delay_after_cutoff;
53 BOOL lmtp_ignore_quota;
54 BOOL retry_include_ip_address;
56 uschar *tls_certificate;
58 uschar *tls_privatekey;
59 uschar *tls_require_ciphers;
60 uschar *gnutls_require_kx;
61 uschar *gnutls_require_mac;
62 uschar *gnutls_require_proto;
64 uschar *tls_verify_certificates;
66 BOOL tls_tempfail_tryclear;
70 uschar *dkim_private_key;
71 uschar *dkim_selector;
73 uschar *dkim_sign_headers;
76 #ifdef EXPERIMENTAL_DBL
77 uschar *dbl_host_defer_query;
79 } smtp_transport_options_block;
81 /* Data for reading the private options. */
83 extern optionlist smtp_transport_options[];
84 extern int smtp_transport_options_count;
86 /* Block containing default values. */
88 extern smtp_transport_options_block smtp_transport_option_defaults;
90 /* The main, init, and closedown entry points for the transport */
92 extern BOOL smtp_transport_entry(transport_instance *, address_item *);
93 extern void smtp_transport_init(transport_instance *);
94 extern void smtp_transport_closedown(transport_instance *);
98 extern int smtp_auth(uschar *, unsigned, address_item *, host_item *,
99 smtp_transport_options_block *, BOOL,
100 smtp_inblock *, smtp_outblock *);
101 extern BOOL smtp_mail_auth_str(uschar *, unsigned,
102 address_item *, smtp_transport_options_block *);
104 /* End of transports/smtp.h */