ze-filter
(ze-filter-0.8.0-develop-180218)
ze-rcpt.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_RCPT_H
25
26
int
check_rcpt
(
char
*rcpt,
char
*ip,
char
*name,
27
int
netclass);
28
29
bool
rcpt_init
();
30
bool
rcpt_close
();
31
bool
rcpt_reopen
();
32
33
34
int
rcpt_decode
(
char
*);
35
36
char
*
rcpt_code_string
(
int
);
37
38
#define RCPT_OK 0
39
#define RCPT_REJECT 1
40
#define RCPT_TEMPFAIL 2
41
#define RCPT_ACCESS_DENIED 3
42
#define RCPT_BAD_NETWORK 4
43
#define RCPT_USER_UNKNOWN 5
44
#define RCPT_SPAMTRAP 6
45
#define RCPT_IGNORE 7
46
47
48
#define __ZE_RCPT_H
49
#endif
rcpt_close
bool rcpt_close()
Definition:
ze-rcpt.c:562
rcpt_reopen
bool rcpt_reopen()
Definition:
ze-rcpt.c:572
rcpt_init
bool rcpt_init()
Definition:
ze-rcpt.c:552
check_rcpt
int check_rcpt(char *rcpt, char *ip, char *name, int netclass)
Definition:
ze-rcpt.c:89
rcpt_code_string
char * rcpt_code_string(int)
Definition:
ze-rcpt.c:530
rcpt_decode
int rcpt_decode(char *)
include
ze-rcpt.h
Generated by
1.8.13