diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
commit | 133a45c109da5310add55824db21af5239951f93 (patch) | |
tree | ba6ac4c0a950a0dda56451944315d66409923918 /conf/worker-proxy.inc | |
parent | Initial commit. (diff) | |
download | rspamd-133a45c109da5310add55824db21af5239951f93.tar.xz rspamd-133a45c109da5310add55824db21af5239951f93.zip |
Adding upstream version 3.8.1.upstream/3.8.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'conf/worker-proxy.inc')
-rw-r--r-- | conf/worker-proxy.inc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/conf/worker-proxy.inc b/conf/worker-proxy.inc new file mode 100644 index 0000000..7f67238 --- /dev/null +++ b/conf/worker-proxy.inc @@ -0,0 +1,35 @@ +# Proxy worker setup +# Please don't modify this file as your changes might be overwritten with +# the next update. +# +# You can modify 'local.d/worker-proxy.inc' to add and merge +# parameters defined inside this section +# +# You can modify 'override.d/worker-proxy.inc' to strictly override all +# parameters defined inside this section +# +# See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories +# for details +# Module documentation: https://rspamd.com/doc/workers/rspamd_proxy.html + +milter = yes; # Enable milter mode + +# This timeout is mostly specific to the milter mode. +# Please also bear in mind that if this timeout is longer than `task_timeout`, +# your messages might be processed for much longer due to this timeout (this is +# true for self-scan mode). +# If this behaviour is not desired, then it is recommended to reduce and adjust this +# value accordingly +timeout = 60s; + +upstream "local" { + default = yes; + hosts = "localhost"; +} + +count = 1; # Do not spawn too many processes of this type +max_retries = 5; # How many times master is queried in case of failure +discard_on_reject = false; # Discard message instead of rejection +quarantine_on_reject = false; # Tell MTA to quarantine rejected messages +spam_header = "X-Spam"; # Use the specific spam header +reject_message = "Spam message rejected"; # Use custom rejection message |