diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:16:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:16:13 +0000 |
commit | e90fcc54809db2591dc083f43ef54c6ec8c60847 (patch) | |
tree | f20bc206c3c2d5d59d37c46c5cf5d53a20642556 /src/spam.h | |
parent | Initial commit. (diff) | |
download | exim4-e90fcc54809db2591dc083f43ef54c6ec8c60847.tar.xz exim4-e90fcc54809db2591dc083f43ef54c6ec8c60847.zip |
Adding upstream version 4.96.upstream/4.96upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/spam.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/spam.h b/src/spam.h new file mode 100644 index 0000000..cc36ffd --- /dev/null +++ b/src/spam.h @@ -0,0 +1,40 @@ +/************************************************* +* Exim - an Internet mail transport agent * +*************************************************/ + +/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003 - 2015 */ +/* Copyright (c) The Exim Maintainers 2021 */ +/* License: GPL */ + +/* spam defines */ + +#ifdef WITH_CONTENT_SCAN + +/* timeout for reading and writing spamd */ +#define SPAMD_TIMEOUT 120 + +/* 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 ? */ +#ifndef SHUT_WR +# define SHUT_WR 1 +#endif + +/* Defaults */ +#define SPAMD_WEIGHT 1 +#define SPAMD_PRIORITY 1 + +typedef struct spamd_address_container +{ + uschar * hostspec; + int is_rspamd:1; + int is_failed:1; + unsigned int weight; + unsigned int timeout; + unsigned int retry; + unsigned int priority; +} spamd_address_container; + +#endif |