ze-filter  (ze-filter-0.8.0-develop-180218)
ze-callbackchecks.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 : Mon Nov 15 23:04:23 CET 2004
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 
25 #ifndef __ZE_CALLBACKCHECKS_H
26 
27 #ifndef MAX_MSG_SCORE
28 # define MAX_MSG_SCORE 15
29 #endif
30 
31 
32 uint32_t check_ehlo_value(SMFICTX *);
33 
34 bool compatible_domains(char *, char *);
35 
36 sfsistat check_msg_contents(SMFICTX *);
37 sfsistat evaluate_message_score(SMFICTX *ctx, bool *);
38 
39 bool check_spamtrap_rcpt(char *, char *, char *, char *, int);
40 
42 
43 bool shall_check_content(SMFICTX *);
44 bool shall_check_xfiles(SMFICTX *);
45 bool shall_check_virus(SMFICTX *);
46 
47 bool shall_designated_quarantine(SMFICTX *, char *);
48 
49 bool check_intranet_user(char *, char *, char *);
50 
51 bool shall_notify_user(char *, bool);
52 
53 
54 # define __ZE_CALLBACKCHECKS_H 1
55 #endif /* __ZE_CALLBACKCHECKS_H */
56 
uint32_t check_ehlo_value(SMFICTX *)
bool check_recipient_quarantine(rcpt_addr_T *, int)
Definition: ze-filter.c:407
bool shall_check_xfiles(SMFICTX *)
bool shall_notify_user(char *, bool)
Definition: policy-test.c:209
bool shall_check_content(SMFICTX *)
bool shall_check_virus(SMFICTX *)
sfsistat check_msg_contents(SMFICTX *)
bool compatible_domains(char *, char *)
bool shall_designated_quarantine(SMFICTX *, char *)
bool check_intranet_user(char *, char *, char *)
sfsistat evaluate_message_score(SMFICTX *ctx, bool *)
bool check_spamtrap_rcpt(char *, char *, char *, char *, int)
long uint32_t
Definition: ze-sys.h:489