ze-filter  (ze-filter-0.8.0-develop-180218)
All Classes Files Functions Variables Typedefs Macros Modules
ze-rcpt.h File Reference

Go to the source code of this file.

Macros

#define RCPT_OK   0
 
#define RCPT_REJECT   1
 
#define RCPT_TEMPFAIL   2
 
#define RCPT_ACCESS_DENIED   3
 
#define RCPT_BAD_NETWORK   4
 
#define RCPT_USER_UNKNOWN   5
 
#define RCPT_SPAMTRAP   6
 
#define RCPT_IGNORE   7
 
#define __ZE_RCPT_H
 

Functions

int check_rcpt (char *rcpt, char *ip, char *name, int netclass)
 
bool rcpt_init ()
 
bool rcpt_close ()
 
bool rcpt_reopen ()
 
int rcpt_decode (char *)
 
char * rcpt_code_string (int)
 

Macro Definition Documentation

◆ __ZE_RCPT_H

#define __ZE_RCPT_H

Definition at line 48 of file ze-rcpt.h.

◆ RCPT_ACCESS_DENIED

#define RCPT_ACCESS_DENIED   3

Definition at line 41 of file ze-rcpt.h.

◆ RCPT_BAD_NETWORK

#define RCPT_BAD_NETWORK   4

Definition at line 42 of file ze-rcpt.h.

◆ RCPT_IGNORE

#define RCPT_IGNORE   7

Definition at line 45 of file ze-rcpt.h.

◆ RCPT_OK

#define RCPT_OK   0

Definition at line 38 of file ze-rcpt.h.

◆ RCPT_REJECT

#define RCPT_REJECT   1

Definition at line 39 of file ze-rcpt.h.

◆ RCPT_SPAMTRAP

#define RCPT_SPAMTRAP   6

Definition at line 44 of file ze-rcpt.h.

◆ RCPT_TEMPFAIL

#define RCPT_TEMPFAIL   2

Definition at line 40 of file ze-rcpt.h.

◆ RCPT_USER_UNKNOWN

#define RCPT_USER_UNKNOWN   5

Definition at line 43 of file ze-rcpt.h.

Function Documentation

◆ check_rcpt()

int check_rcpt ( char *  rcpt,
char *  ip,
char *  name,
int  netclass 
)

Definition at line 89 of file ze-rcpt.c.

◆ rcpt_close()

bool rcpt_close ( )

Definition at line 562 of file ze-rcpt.c.

◆ rcpt_code_string()

char* rcpt_code_string ( int  )

Definition at line 530 of file ze-rcpt.c.

◆ rcpt_decode()

int rcpt_decode ( char *  )

◆ rcpt_init()

bool rcpt_init ( )

Definition at line 552 of file ze-rcpt.c.

◆ rcpt_reopen()

bool rcpt_reopen ( )

Definition at line 572 of file ze-rcpt.c.