ze-filter  (ze-filter-0.8.0-develop-180218)
ze-mailregex.h
Go to the documentation of this file.
1 /*
2  *
3  * ze-filter - Mail Server Filter for sendmail
4  *
5  * Copyright (c) 2001-2018 - Jose-Marcio Martins da Cruz
6  *
7  * Auteur : Jose Marcio Martins da Cruz
8  * jose.marcio.mc@gmail.org
9  *
10  * Historique :
11  * Creation : janvier 2002
12  *
13  * This program is free software, but with restricted license :
14  *
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19  *
20  * More details about ze-filter license can be found at ze-filter
21  * web site : http://foss.jose-marcio.org
22  */
23 
24 #ifndef __ZE_MAILREGEX_H
25 
31 #if 0
32 #define REGEX_OK 0
33 #define REGEX_REJECT 1
34 #endif
35 
36 #define MAIL_ANYWHERE 0xFFFF
37 #define MAIL_BODY 2
38 #define MAIL_SUBJECT 4
39 #define MAIL_HEADERS 8
40 #define MAIL_HELO 16
41 #define MAIL_FROM 32
42 #define MAIL_URLSTR 64
43 #define MAIL_URLEXPR 128
44 
45 
46 bool load_regex_table (char *, char *);
47 
48 int check_regex (char *, char *, char *, int);
49 
50 void dump_regex_table ();
51 
58 int check_rurlbl (char *, char *, char *);
61 
64 #define __ZE_MAILREGEX_H
65 #endif
int check_regex(char *, char *, char *, int)
Definition: ze-mailregex.c:295
void dump_regex_table()
Definition: ze-mailregex.c:103
int check_rurlbl(char *, char *, char *)
Definition: ze-mailregex.c:443
bool db_open_rurlbl_database()
Definition: ze-mailregex.c:794
bool load_regex_table(char *, char *)
Definition: ze-mailregex.c:258
bool db_reopen_rurlbl_database()
Definition: ze-mailregex.c:840