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