Support AUTH for verify-callout and cutthrough-delivery.
[exim.git] / src / src / transports / smtp.h
CommitLineData
0756eb3c
PH
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
c4ceed07 5/* Copyright (c) University of Cambridge 1995 - 2012 */
0756eb3c
PH
6/* See the file NOTICE for conditions of use and distribution. */
7
8/* Private structure for the private options and other private data. */
9
10typedef struct {
11 uschar *hosts;
12 uschar *fallback_hosts;
13 host_item *hostlist;
14 host_item *fallback_hostlist;
15 uschar *authenticated_sender;
16 uschar *helo_data;
17 uschar *interface;
18 uschar *port;
19 uschar *protocol;
9e4f5962 20 uschar *dscp;
0756eb3c
PH
21 uschar *serialize_hosts;
22 uschar *hosts_try_auth;
23 uschar *hosts_require_auth;
fd98a5c6
JH
24#ifdef EXPERIMENTAL_PRDR
25 uschar *hosts_try_prdr;
26#endif
f5d78688
JH
27#ifdef EXPERIMENTAL_OCSP
28 uschar *hosts_require_ocsp;
29#endif
0756eb3c
PH
30 uschar *hosts_require_tls;
31 uschar *hosts_avoid_tls;
99400968 32 uschar *hosts_verify_avoid_tls;
c51b8e75 33 uschar *hosts_avoid_pipelining;
0756eb3c
PH
34 uschar *hosts_avoid_esmtp;
35 uschar *hosts_nopass_tls;
36 int command_timeout;
37 int connect_timeout;
38 int data_timeout;
39 int final_timeout;
40 int size_addition;
41 int hosts_max_try;
8e669ac1 42 int hosts_max_try_hardlimit;
48c7f9e2 43 BOOL address_retry_include_sender;
0756eb3c 44 BOOL allow_localhost;
382afc6b 45 BOOL authenticated_sender_force;
0756eb3c
PH
46 BOOL gethostbyname;
47 BOOL dns_qualify_single;
48 BOOL dns_search_parents;
49 BOOL delay_after_cutoff;
50 BOOL hosts_override;
51 BOOL hosts_randomize;
52 BOOL keepalive;
f1513293 53 BOOL lmtp_ignore_quota;
0756eb3c
PH
54 BOOL retry_include_ip_address;
55 #ifdef SUPPORT_TLS
56 uschar *tls_certificate;
57 uschar *tls_crl;
58 uschar *tls_privatekey;
59 uschar *tls_require_ciphers;
83da1223
PH
60 uschar *gnutls_require_kx;
61 uschar *gnutls_require_mac;
62 uschar *gnutls_require_proto;
54c90be1 63 uschar *tls_sni;
0756eb3c 64 uschar *tls_verify_certificates;
54c90be1 65 int tls_dh_min_bits;
0756eb3c
PH
66 BOOL tls_tempfail_tryclear;
67 #endif
80a47a2c 68 #ifndef DISABLE_DKIM
f7572e5a
TK
69 uschar *dkim_domain;
70 uschar *dkim_private_key;
71 uschar *dkim_selector;
72 uschar *dkim_canon;
73 uschar *dkim_sign_headers;
74 uschar *dkim_strict;
75 #endif
0756eb3c
PH
76} smtp_transport_options_block;
77
78/* Data for reading the private options. */
79
80extern optionlist smtp_transport_options[];
81extern int smtp_transport_options_count;
82
83/* Block containing default values. */
84
85extern smtp_transport_options_block smtp_transport_option_defaults;
86
87/* The main, init, and closedown entry points for the transport */
88
89extern BOOL smtp_transport_entry(transport_instance *, address_item *);
90extern void smtp_transport_init(transport_instance *);
91extern void smtp_transport_closedown(transport_instance *);
92
93/* End of transports/smtp.h */