received_protocol
[exim.git] / src / src / spam.h
... / ...
CommitLineData
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
5/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003-???? */
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 */
16#define MAX_SPAM_BAR_CHARS 50
17
18/* SHUT_WR seems to be undefined on Unixware ? */
19#ifndef SHUT_WR
20# define SHUT_WR 1
21#endif
22
23/* default weight */
24#define SPAMD_WEIGHT 1
25
26typedef struct spamd_address_container
27{
28 uschar * hostspec;
29 int is_rspamd:1;
30 int is_failed:1;
31 unsigned int weight;
32 unsigned int timeout;
33 unsigned int retry;
34 unsigned int priority;
35} spamd_address_container;
36
37#endif