SPDX: license tags (mostly by guesswork)
[exim.git] / src / src / spam.h
index 0e3acfc25a396fc3ce044fdf5d3844a1965aef1b..c410198d7b7497255ab8d66d8453096a5908f8b5 100644 (file)
@@ -2,8 +2,10 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003-???? */
+/* Copyright (c) Tom Kistner <tom@duncanthrax.net> 2003 - 2015 */
+/* Copyright (c) The Exim Maintainers 2021 */
 /* License: GPL */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /* spam defines */
 
@@ -12,7 +14,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 ? */
 # 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