37 #define GREY_REJECT 500 38 #define GREY_ERROR 700 39 #define GREY_DUNNO 100 41 #define GREY_EMAIL_NONE 0 42 #define GREY_EMAIL_FULL 1 43 #define GREY_EMAIL_USER 2 44 #define GREY_EMAIL_HOST 3 46 #define GREY_ADDR_NONE 0 47 #define GREY_ADDR_FULL 1 48 #define GREY_ADDR_NET 2 50 #define GREY_STANDALONE 0 54 #define GREY_DW_NONE 0x00 55 #define GREY_DW_NULLSENDER 0x01 56 #define GREY_DW_BAD_RESOLVE 0x02 57 #define GREY_DW_DOMAIN_MISMATCH 0x04 58 #define GREY_DW_BAD_CLIENT 0x08 59 #define GREY_DW_SPAMTRAP 0x10 60 #define GREY_DW_BAD_RCPT 0x20 61 #define GREY_DW_BAD_MX 0x40 63 #define GREY_DW_ALL 0xFFFF 68 #define GDB_WHITELIST 3 69 #define GDB_BLACKLIST 4 73 #define ARG_DATE_INIT 0 74 #define ARG_DATE_UPDT 1 76 #define ARG_HOSTNAME 3 82 int grey_check(
char *,
char *,
char *,
char *,
bool *,
bool);
94 time_t tp_min_null, time_t tp_max_null);
108 int grey_dump(
int fd,
char *which, time_t dt);
120 #define __ZE_GREY_H 1 void grey_set_compat_domain_check(bool enable)
bool grey_set_cleanup_interval(time_t tclean)
bool grey_set_tuples(char *ip, char *from, char *to)
bool grey_set_delays(time_t tp_min_norm, time_t tp_max_norm, time_t tp_min_null, time_t tp_max_null)
bool grey_remove_entry(char *where, char *key)
int grey_check(char *, char *, char *, char *, bool *, bool)
Error dont have limits h nor values h typedef int bool
int grey_validate(char *, char *, char *, char *)
bool(* greycleanup_F)(char *)
bool grey_set_lifetime(time_t tv, time_t tw, time_t tb)
int grey_upload(char *fname, char *which)
bool grey_init(char *, bool, int)
void grey_set_dewhite_flags(char *, bool)
bool grey_set_max_pending(int normal, int bounce)
bool grey_remove_entries_from_file(char *where, char *fname)
int grey_dump(int fd, char *which, time_t dt)