ze-filter
(ze-filter-0.8.0-develop-180218)
|
Go to the source code of this file.
Macros | |
#define | USE_SMTPRATE 1 |
#define | RATE_CONN 0 |
#define | RATE_RCPT 1 |
#define | RATE_BOUNCE 2 |
#define | RATE_MSGS 3 |
#define | RATE_HAM 4 |
#define | RATE_SPAM 5 |
#define | RATE_SCORE 6 |
#define | RATE_XFILES 7 |
#define | RATE_VOLUME 8 |
#define | RATE_SVCTIME 9 |
#define | RATE_FROM_CONN 10 |
#define | RATE_FROM_MSGS 11 |
#define | RATE_FROM_RCPT 12 |
#define | RATE_AUTH_CONN 13 |
#define | RATE_AUTH_MSGS 14 |
#define | RATE_AUTH_RCPT 15 |
#define | RATE_DIM 20 |
#define | DEFAULT_WINDOW -1 |
#define | __ZE_SMTPRATE_H |
Functions | |
bool | smtprate_init (size_t, size_t) |
void | smtprate_free () |
bool | smtprate_resize (size_t, size_t) |
bool | smtprate_cleanup_table (time_t now, time_t win) |
int | smtprate_update_table (time_t) |
void | smtprate_log_table () |
void | smtprate_print_table (int, int, int, int, time_t, uint32_t, int) |
void | smtprate_save_table (char *) |
int | smtprate_read_table (char *) |
uint32_t | smtprate_str2flags (char *) |
int | smtprate_add_entry (int, char *, char *, int, time_t) |
int | smtprate_check (int, char *, time_t) |
Variables | |
unsigned int | smtprate_interval |
unsigned int | smtprate_window |
#define __ZE_SMTPRATE_H |
Definition at line 83 of file ze-smtprate.h.