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 /* Header for the redirect router */
10 /* Private structure for the private options. */
13 transport_instance *directory_transport;
14 transport_instance *file_transport;
15 transport_instance *pipe_transport;
16 transport_instance *reply_transport;
19 uschar *directory_transport_name;
22 uschar *file_transport_name;
23 uschar *include_directory;
24 uschar *pipe_transport_name;
25 uschar *reply_transport_name;
26 uschar *sieve_subaddress;
27 uschar *sieve_useraddress;
28 uschar *sieve_vacation_directory;
29 uschar *sieve_enotify_mailto_owner;
30 uschar *syntax_errors_text;
31 uschar *syntax_errors_to;
32 uschar *qualify_domain;
37 #ifdef EXPERIMENTAL_SRS
40 uschar *srs_condition;
51 BOOL forbid_filter_reply;
53 BOOL forbid_smtp_code;
54 BOOL hide_child_in_errmsg;
56 BOOL qualify_preserve_domain;
57 BOOL skip_syntax_errors;
58 } redirect_router_options_block;
60 /* Data for reading the private options. */
62 extern optionlist redirect_router_options[];
63 extern int redirect_router_options_count;
65 /* Block containing default values. */
67 extern redirect_router_options_block redirect_router_option_defaults;
69 /* The main and initialization entry points for the router */
71 extern int redirect_router_entry(router_instance *, address_item *,
72 struct passwd *, int, address_item **, address_item **,
73 address_item **, address_item **);
75 extern void redirect_router_init(router_instance *);
77 /* End of routers/redirect.h */