X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/2aad5761b59a709d98a7d278d83e978ac4e83c2b..dbad5895097fab8bee7ebe53e98a959c336b735d:/src/src/spam.h diff --git a/src/src/spam.h b/src/src/spam.h index 7ab6d2a58..312dce8de 100644 --- a/src/src/spam.h +++ b/src/src/spam.h @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) Tom Kistner 2003-???? */ +/* Copyright (c) Tom Kistner 2003 - 2015 */ /* License: GPL */ /* spam defines */ @@ -12,7 +12,8 @@ /* timeout for reading and writing spamd */ #define SPAMD_TIMEOUT 120 -/* maximum length of the spam bar */ +/* maximum length of the spam bar, please update the + * spec, the max length is mentioned there */ #define MAX_SPAM_BAR_CHARS 50 /* SHUT_WR seems to be undefined on Unixware ? */ @@ -20,16 +21,19 @@ # define SHUT_WR 1 #endif -/* default weight */ +/* Defaults */ #define SPAMD_WEIGHT 1 +#define SPAMD_PRIORITY 1 typedef struct spamd_address_container { uschar * hostspec; int is_rspamd:1; int is_failed:1; - int is_backup:1; unsigned int weight; + unsigned int timeout; + unsigned int retry; + unsigned int priority; } spamd_address_container; #endif