From dc7b3d368017727e9438fc7463b0841df1e4aa41 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 15 Feb 2015 16:50:27 +0000 Subject: SpamAssassin: replace "backup" option on server spec with "pri=". Bug 670 --- doc/doc-docbook/spec.xfpt | 22 ++++++++++++++-------- doc/doc-txt/ChangeLog | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index a112ec7e9..411eb988e 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -30829,20 +30829,29 @@ Elements after the first for Unix sockets, or second for TCP socket, are options. The supported option are: .code -variant=rspamd Use Rspamd rather than SpamAssassin protocol +pri= Selection priority +weight= Selection bias time=- Use only between these times of day +retry= Retry on connect fail tmo= Connection time limit -weight= Selection bias -backup Use only if all non-backup servers fail -retry= Retry on connect fail +variant=rspamd Use Rspamd rather than SpamAssassin protocol .endd +The &`pri`& option specifies a priority for the server within the list, +higher values being tried first. +The deafult priority is 1. + +The &`weight`& option specifies a selection bias. +Within a priority set +servers are queried in a random fashion, weighted by this value. +The default value for selection bias is 1. + Time specifications for the &`time`& option are .. in the local time zone; each element being one or more digits. Either the seconds or both minutes and seconds, plus the leading &`.`& characters, may be omitted and will be taken as zero. -Timeout specifications for the &`tmo`& and &`retry`& options +Timeout specifications for the &`retry`& and &`tmo`& options are the usual Exim time interval standard, eg. &`20s`& or &`1m`&. The &`tmo`& option specifies an overall timeout for communication. @@ -30851,9 +30860,6 @@ The default value is two minutes. The &`retry`& option specifies a time after which a single retry for a failed connect is made. The default is to not retry. - -Servers are queried in a random fashion, weighted by the selection bias. -The default value for selection bias is 1. .wen The &%spamd_address%& variable is expanded before use if it starts with diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 0548674f2..cff7f4445 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -54,7 +54,7 @@ JH/14 Bug 1573: The spam= ACL condition now additionally supports Rspamd. Patch from Andrew Lewis. JH/15 Bug 670: The spamd_address main option (for the spam= ACL condition) - now supports optional time-restrictions, weighting, and backup-only + now supports optional time-restrictions, weighting, and priority modifiers per server. Patch originally by . JH/16 The spamd_address main option now supports a mixed list of local -- cgit v1.2.3