projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
config
/
mail-config.h
diff --git
a/src/config/mail-config.h
b/src/config/mail-config.h
old mode 100755
(executable)
new mode 100644
(file)
index
45276dc
..
f6864dc
--- a/
src/config/mail-config.h
+++ b/
src/config/mail-config.h
@@
-1,5
+1,3
@@
-/* $OSSEC, mail-config.h, v0.1, 2006/04/06, Daniel B. Cid$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-9,16
+7,13
@@
* Foundation
*/
* Foundation
*/
-
-
#ifndef _MCCONFIG__H
#define _MCCONFIG__H
#ifndef _MCCONFIG__H
#define _MCCONFIG__H
-#include "shared.h"
+#include "shared.h"
/* Mail config structure */
/* Mail config structure */
-typedef struct _MailConfig
-{
+typedef struct _MailConfig {
int mn;
int maxperhour;
int strict_checking;
int mn;
int maxperhour;
int strict_checking;
@@
-26,24
+21,33
@@
typedef struct _MailConfig
int subject_full;
int priority;
char **to;
int subject_full;
int priority;
char **to;
+ char *reply_to;
char *from;
char *from;
+ char *idsname;
char *smtpserver;
char *smtpserver;
+ char *heloserver;
/* Granular e-mail options */
/* Granular e-mail options */
- int *gran_level;
- int **gran_id;
+ unsigned int *gran_level;
+ unsigned int **gran_id;
int *gran_set;
int *gran_format;
char **gran_to;
int *gran_set;
int *gran_format;
char **gran_to;
+
+#ifdef LIBGEOIP_ENABLED
+ /* Use GeoIP */
+ int geoip;
+#endif
+
OSMatch **gran_location;
OSMatch **gran_group;
OSMatch **gran_location;
OSMatch **gran_group;
-}MailConfig;
-
+} MailConfig;
-/** Email message formats **/
+/* Email message formats */
#define FULL_FORMAT 2
#define SMS_FORMAT 3
#define FORWARD_NOW 4
#define DONOTGROUP 5
#define FULL_FORMAT 2
#define SMS_FORMAT 3
#define FORWARD_NOW 4
#define DONOTGROUP 5
-#endif
+#endif /* _MCCONFIG__H */
+