it is hard coded - i had to change mine
under src : dovecot-2.3-pigeonhole-0.5.19.new
modify INSTALL:
sieve_max_redirects
i set the install to 256
but still can set in config
sieve_max_redirects = 64
gmake clean gmake gmake install
after changes
Sieve Interpreter - Configurable Limits
The settings that specify a period are specified in s(econds), unless followed by a d(ay), h(our), or m(inute) specifier character.
sieve_max_script_size = 1M The maximum size of a Sieve script. The compiler will refuse to compile any script larger than this limit. If set to 0, no limit on the script size is enforced.
sieve_max_actions = 256 The maximum number of actions that can be performed during a single script execution. If set to 0, no limit on the total number of actions is enforced.
sieve_max_redirects =256 The maximum number of redirect actions that can be performed during a single script execution. If set to 0, no redirect actions are allowed.
Thanks - Paul Kudla (Manager SCOM.CA Internet Services Inc.)
Have A Happy Thursday !!!
Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3
Toronto 416.642.7266 Main 1.866.411.7266 Fax 1.888.892.7266 Email paul@scom.ca
On 2024-12-19 3:33 PM, Maciej Polewczynski via dovecot wrote:
Hello,
After upgrading Dovecot from version 2.3.4 to 2.3.19 i noticed errors for some users having sieve redirects. Before upgrade all worked fine.
In sieve plugin i have two limits:
sieve_max_actions = 500 sieve_max_redirects = 150
If user have up to 100 redirects all works fine but if there are 101 or more none of them works and there is error:
dovecot: lmtp(test2.mbox) Error: sieve: msgid=<***l>: redirect action: failed to check for duplicate forward to <101th.email.address>
It seams that there is another limit but cant find where. When checked "dovecot -n|grep 100" there was only "default_process_limit". Increasing this changed nothing. Still the same error. File ".dovecot.sieve.log" in user home dir don't have any additional information. There is only:
redirect action: failed to check for duplicate forward: internal error occurred: refer to server log for more information.
Do you have any ideas how to fix it?