[exim-dev] [Bug 670] New: imroved "spamd_address" syntax

Top Page
Delete this message
Reply to this message
Author: Roman
Date:  
To: exim-dev
New-Topics: [exim-dev] [Bug 670] imroved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] imroved "spamd_address" syntax, [exim-dev] [Bug 670] imroved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax, [exim-dev] [Bug 670] improved "spamd_address" syntax
Subject: [exim-dev] [Bug 670] New: imroved "spamd_address" syntax
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=670
           Summary: imroved "spamd_address" syntax
           Product: Exim
           Version: 4.69
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Keywords: work:small
          Severity: wishlist
          Priority: medium
         Component: Content Scanning
        AssignedTo: tom@???
        ReportedBy: rommer@???
                CC: exim-dev@???



Created an attachment (id=228)
--> (http://bugs.exim.org/attachment.cgi?id=228)
my patch

I added two parameters to spamd_address syntax:

1. weight (load balancing). All requests to spamd-servers will
   be distributed as 3:5 in the following example:
   spamd_address = 127.0.0.1 783 weight=3 : \
                   10.0.0.1 783 weight=5
   default value for weight is "1"


2. time. Describes local time, when exim must use specific spamd-server.
   example:
   spamd_address = 10.0.1.1 783 time=08.00.00-19.45.00 : \
                   10.0.1.2 783 time=19.40-23.00 : \
                   10.0.1.3 783
   It can be useful somewere (in my case, for example)
   default value - 00.00.00-24.00.00


parameters can be combined:
spamd_address = 127.0.0.1 783 weight=2 time=06.00-24.00 : \
                10.0.0.1 783 weight=3 : \
                10.0.0.2 783 weight=3


I hope, that this patch will be accepted in the following version.
I test it for 2 weeks on our servers.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email