~ubuntu-branches/ubuntu/vivid/exim4/vivid

« back to all changes in this revision

Viewing changes to src/structs.h

  • Committer: Package Import Robot
  • Author(s): Corey Bryant
  • Date: 2014-08-04 11:48:39 UTC
  • mfrom: (56.1.2 utopic)
  • Revision ID: package-import@ubuntu.com-20140804114839-xoulpcx9nxi5m72u
Tags: 4.84~RC1-3ubuntu1
* Merge from Debian unstable (LP: #1351470). Remaining changes:
  - Show Ubuntu distribution on smtp:
    + debian/patches/fix_smtp_banner.patch: updated SMTP banner
      with Ubuntu distribution
    + debian/control: added lsb-release build dependency
  - Don't provide default-mta; in Ubuntu, we want postfix to be the
    default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
*     Exim - an Internet mail transport agent    *
3
3
*************************************************/
4
4
 
5
 
/* Copyright (c) University of Cambridge 1995 - 2012 */
 
5
/* Copyright (c) University of Cambridge 1995 - 2014 */
6
6
/* See the file NOTICE for conditions of use and distribution. */
7
7
 
8
8
 
55
55
but also used when checking lists of hosts and when transporting. Looking up
56
56
host addresses is done using this structure. */
57
57
 
 
58
typedef enum {DS_UNK=-1, DS_NO, DS_YES} dnssec_status_t;
 
59
 
58
60
typedef struct host_item {
59
61
  struct host_item *next;
60
62
  uschar *name;                   /* Host name */
65
67
  int     status;                 /* Usable, unusable, or unknown */
66
68
  int     why;                    /* Why host is unusable */
67
69
  int     last_try;               /* Time of last try if known */
 
70
  dnssec_status_t dnssec;
68
71
} host_item;
69
72
 
70
73
/* Chain of rewrite rules, read from the rewrite config, or parsed from the
282
285
  BOOL    verify_sender;          /* Use this router when verifying a sender */
283
286
  BOOL    uid_set;                /* Flag to indicate uid is set */
284
287
  BOOL    unseen;                 /* If TRUE carry on, even after success */
 
288
#ifdef EXPERIMENTAL_DSN
 
289
  BOOL    dsn_lasthop;            /* If TRUE, this router is a DSN endpoint */
 
290
#endif
285
291
 
286
292
  int     self_code;              /* Encoded version of "self" */
287
293
  uid_t   uid;                    /* Fixed uid value */
485
491
#define af_cert_verified       0x01000000 /* delivered with verified TLS cert */
486
492
#define af_pass_message        0x02000000 /* pass message in bounces */
487
493
#define af_bad_reply           0x04000000 /* filter could not generate autoreply */
488
 
#ifdef EXPERIMENTAL_PRDR
 
494
#ifndef DISABLE_PRDR
489
495
# define af_prdr_used          0x08000000 /* delivery used SMTP PRDR */
490
496
#endif
491
497
#define af_force_command       0x10000000 /* force_command in pipe transport */
540
546
 
541
547
  #ifdef SUPPORT_TLS
542
548
  uschar *cipher;                 /* Cipher used for transport */
 
549
  void   *ourcert;                /* Certificate offered to peer, binary */
 
550
  void   *peercert;               /* Certificate from peer, binary */
543
551
  uschar *peerdn;                 /* DN of server's certificate */
 
552
  int    ocsp;                    /* OCSP status of peer cert */
544
553
  #endif
545
554
 
546
555
  uschar *authenticator;          /* auth driver name used by transport */
547
556
  uschar *auth_id;                /* auth "login" name used by transport */
548
557
  uschar *auth_sndr;              /* AUTH arg to SMTP MAIL, used by transport */
549
558
 
 
559
  #ifdef EXPERIMENTAL_DSN
 
560
  uschar *dsn_orcpt;              /* DSN orcpt value */
 
561
  int     dsn_flags;              /* DSN flags */
 
562
  int     dsn_aware;              /* DSN aware flag */
 
563
  #endif
 
564
 
550
565
  uid_t   uid;                    /* uid for transporting */
551
566
  gid_t   gid;                    /* gid for transporting */
552
567