You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mempool_vars_internal.h 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright 2023 Vsevolod Stakhov
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef RSPAMD_MEMPOOL_VARS_INTERNAL_H
  17. #define RSPAMD_MEMPOOL_VARS_INTERNAL_H
  18. /* Basic rspamd mempool variables names */
  19. #define RSPAMD_MEMPOOL_AVG_WORDS_LEN "avg_words_len"
  20. #define RSPAMD_MEMPOOL_SHORT_WORDS_CNT "short_words_cnt"
  21. #define RSPAMD_MEMPOOL_HEADERS_HASH "headers_hash"
  22. #define RSPAMD_MEMPOOL_MTA_TAG "MTA-Tag"
  23. #define RSPAMD_MEMPOOL_MTA_NAME "MTA-Name"
  24. #define RSPAMD_MEMPOOL_SPF_DOMAIN "spf_domain"
  25. #define RSPAMD_MEMPOOL_SPF_RECORD "spf_record"
  26. #define RSPAMD_MEMPOOL_PRINCIPAL_RECIPIENT "principal_recipient"
  27. #define RSPAMD_MEMPOOL_PROFILE "profile"
  28. #define RSPAMD_MEMPOOL_MILTER_REPLY "milter_reply"
  29. #define RSPAMD_MEMPOOL_DKIM_SIGNATURE "dkim-signature"
  30. #define RSPAMD_MEMPOOL_DMARC_CHECKS "dmarc_checks"
  31. #define RSPAMD_MEMPOOL_DKIM_BH_CACHE "dkim_bh_cache"
  32. #define RSPAMD_MEMPOOL_DKIM_CHECK_RESULTS "dkim_results"
  33. #define RSPAMD_MEMPOOL_DKIM_SIGN_KEY "dkim_key"
  34. #define RSPAMD_MEMPOOL_DKIM_SIGN_SELECTOR "dkim_selector"
  35. #define RSPAMD_MEMPOOL_ARC_SIGN_KEY "arc_key"
  36. #define RSPAMD_MEMPOOL_ARC_SIGN_SELECTOR "arc_selector"
  37. #define RSPAMD_MEMPOOL_STAT_SIGNATURE "stat_signature"
  38. #define RSPAMD_MEMPOOL_FUZZY_RESULT "fuzzy_hashes"
  39. #define RSPAMD_MEMPOOL_SPAM_LEARNS "spam_learns"
  40. #define RSPAMD_MEMPOOL_HAM_LEARNS "ham_learns"
  41. #define RSPAMD_MEMPOOL_RE_MAPS_CACHE "re_maps_cache"
  42. #define RSPAMD_MEMPOOL_HTTP_STAT_BACKEND_RUNTIME "stat_http_runtime"
  43. #define RSPAMD_MEMPOOL_FUZZY_STAT "fuzzy_stat"
  44. #endif