1 /* $Cambridge: exim/src/src/routers/redirect.h,v 1.5 2005/05/24 08:15:02 tom Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 1995 - 2005 */
8 /* See the file NOTICE for conditions of use and distribution. */
10 /* Header for the redirect router */
12 /* Private structure for the private options. */
15 transport_instance *directory_transport;
16 transport_instance *file_transport;
17 transport_instance *pipe_transport;
18 transport_instance *reply_transport;
21 uschar *directory_transport_name;
24 uschar *file_transport_name;
25 uschar *include_directory;
26 uschar *pipe_transport_name;
27 uschar *reply_transport_name;
28 uschar *sieve_subaddress;
29 uschar *sieve_useraddress;
30 uschar *sieve_vacation_directory;
31 uschar *syntax_errors_text;
32 uschar *syntax_errors_to;
33 uschar *qualify_domain;
38 #ifdef EXPERIMENTAL_SRS
41 uschar *srs_condition;
52 BOOL forbid_filter_reply;
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 *, BOOL, address_item **, address_item **,
73 address_item **, address_item **);
75 extern void redirect_router_init(router_instance *);
77 /* End of routers/redirect.h */