1 /************************************************* 2 * Exim - an Internet mail transport agent * 3 *************************************************/ 4 5 /* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003 - 2015 */ 6 /* License: GPL */ 7 8 /* spam defines */ 9 10 #ifdef WITH_CONTENT_SCAN 11 12 /* timeout for reading and writing spamd */ 13 #define SPAMD_TIMEOUT 120 14 15 /* maximum length of the spam bar, please update the 16 * spec, the max length is mentioned there */ 17 #define MAX_SPAM_BAR_CHARS 50 18 19 /* SHUT_WR seems to be undefined on Unixware ? */ 20 #ifndef SHUT_WR 21 # define SHUT_WR 1 22 #endif 23 24 /* Defaults */ 25 #define SPAMD_WEIGHT 1 26 #define SPAMD_PRIORITY 1 27 28 typedef struct spamd_address_container 29 { 30 uschar * hostspec; 31 int is_rspamd:1; 32 int is_failed:1; 33 unsigned int weight; 34 unsigned int timeout; 35 unsigned int retry; 36 unsigned int priority; 37 } spamd_address_container; 38 39 #endif 40