1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge 1995 - 2009 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 /* Private structure for the private options. */
14 uschar *message_prefix;
15 uschar *message_suffix;
16 uschar *create_file_string;
18 uschar *quota_directory;
19 uschar *quota_filecount;
20 uschar *quota_size_regex;
21 uschar *quota_warn_threshold;
22 uschar *mailbox_size_string;
23 uschar *mailbox_filecount_string;
24 uschar *expand_maildir_use_size_file;
25 uschar *maildir_dir_regex;
27 uschar *maildirfolder_create_regex;
28 uschar *mailstore_prefix;
29 uschar *mailstore_suffix;
31 uschar *escape_string;
34 off_t quota_warn_threshold_value;
35 off_t mailbox_size_value;
36 int mailbox_filecount_value;
37 int quota_filecount_value;
42 int lock_fcntl_timeout;
43 int lock_flock_timeout;
53 BOOL create_directory;
56 BOOL set_use_lockfile;
62 BOOL set_use_mbx_lock;
66 BOOL mode_fail_narrower;
68 BOOL maildir_use_size_file;
69 BOOL mailstore_format;
71 BOOL quota_warn_threshold_is_percent;
72 BOOL quota_is_inclusive;
74 BOOL quota_filecount_no_check;
75 } appendfile_transport_options_block;
77 /* Restricted creation options */
79 enum { create_anywhere, create_belowhome, create_inhome };
81 /* Data for reading the private options. */
83 extern optionlist appendfile_transport_options[];
84 extern int appendfile_transport_options_count;
86 /* Block containing default values. */
88 extern appendfile_transport_options_block appendfile_transport_option_defaults;
90 /* The main and init entry points for the transport */
92 extern BOOL appendfile_transport_entry(transport_instance *, address_item *);
93 extern void appendfile_transport_init(transport_instance *);
95 /* Function that is shared with tf_maildir.c */
97 extern off_t check_dir_size(uschar *, int *, const pcre *);
99 /* End of transports/appendfile.h */