new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / config / mail-config.h
1 /* Copyright (C) 2009 Trend Micro Inc.
2  * All right reserved.
3  *
4  * This program is a free software; you can redistribute it
5  * and/or modify it under the terms of the GNU General Public
6  * License (version 2) as published by the FSF - Free Software
7  * Foundation
8  */
9
10 #ifndef _MCCONFIG__H
11 #define _MCCONFIG__H
12
13 #include "shared.h"
14
15 /* Mail config structure */
16 typedef struct _MailConfig {
17     int mn;
18     int maxperhour;
19     int strict_checking;
20     int groupping;
21     int subject_full;
22     int priority;
23     char **to;
24     char *reply_to;
25     char *from;
26     char *idsname;
27     char *smtpserver;
28     char *heloserver;
29
30     /* Granular e-mail options */
31     unsigned int *gran_level;
32     unsigned int **gran_id;
33     int *gran_set;
34     int *gran_format;
35     char **gran_to;
36
37 #ifdef LIBGEOIP_ENABLED
38     /* Use GeoIP */
39     int geoip;
40 #endif
41
42     OSMatch **gran_location;
43     OSMatch **gran_group;
44 } MailConfig;
45
46 /* Email message formats */
47 #define FULL_FORMAT     2
48 #define SMS_FORMAT      3
49 #define FORWARD_NOW     4
50 #define DONOTGROUP      5
51
52 #endif /* _MCCONFIG__H */
53