Skip to content
Snippets Groups Projects
Commit c24e617a authored by rswindell's avatar rswindell
Browse files

#define SMB_HASH_SOURCE_SPAM to define the hash sources used for

SPAM detection.
parent 6d4d661e
No related branches found
No related tags found
No related merge requests found
...@@ -469,7 +469,10 @@ enum { ...@@ -469,7 +469,10 @@ enum {
#define SMB_HASH_SOURCE_MASK 0x1f #define SMB_HASH_SOURCE_MASK 0x1f
#define SMB_HASH_SOURCE_NONE 0 #define SMB_HASH_SOURCE_NONE 0
#define SMB_HASH_SOURCE_ALL 0xff #define SMB_HASH_SOURCE_ALL 0xff
/* These are the hash sources stored/compared for duplicate message detection: */
#define SMB_HASH_SOURCE_DUPE ((1<<SMB_HASH_SOURCE_BODY)|(1<<SMB_HASH_SOURCE_MSG_ID)|(1<<SMB_HASH_SOURCE_FTN_ID)) #define SMB_HASH_SOURCE_DUPE ((1<<SMB_HASH_SOURCE_BODY)|(1<<SMB_HASH_SOURCE_MSG_ID)|(1<<SMB_HASH_SOURCE_FTN_ID))
/* These are the hash sources stored/compared for SPAM message detection: */
#define SMB_HASH_SOURCE_SPAM ((1<<SMB_HASH_SOURCE_BODY)|(1<<SMB_HASH_SOURCE_SUBJECT))
typedef struct _PACK { typedef struct _PACK {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment