Hello, We have a vacation/mail forwarder plugin in squirrel mail that allows
customers to forward email. It has come to my attention that there is a limit
(appears to be 5) on the number of addresses that can be specified. I'm now
trying to track down where this policy limit is set.
This is the error we see in the customers .dovecot.sieve.log file:
main_script: line 26: error: number of redirect actions exceeds policy limit.
sieve: info: started log at Jul 25 07:02:54.
I checked the following for possible settings:
/usr/local/etc/dovecot/dovecot.conf
/usr/local/etc/sieve/dovecot.sieve
/usr/local/etc/sieve/global.sieve
I didn't see anything specific to limiting the number of redirects. I'm
wondering where else I can look to find where this limit is coming from and
adjust it upwards.
We are using the following dovecot / pigeonhole versions.
dovecot-2.0.7
dovecot-pigeonhole-0.2.1
athena# dovecot -n
# 2.0.7: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 8.1-RELEASE amd64
auth_default_realm = rockisland.com
auth_mechanisms = plain login cram-md5
auth_username_format = %Lu
disable_plaintext_auth = no
dotlock_use_excl = yes
first_valid_gid = 1000
first_valid_uid = 1000
listen = *
mail_location = mbox:~/mail:INBOX=/var/mail/%u
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date
passdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
quota = maildir
quota_rule = *:storage=2G
quota_warning = storage=90%% /usr/local/sbin/quota-warning.sh 90
quota_warning2 = storage=80%% /usr/local/sbin/quota-warning.sh 80
sieve = ~/.dovecot.sieve
sieve_dir = ~/
sieve_global_dir = /usr/local/etc/sieve/
}
protocols = imap pop3
service auth {
unix_listener auth-client {
mode = 0660
}
unix_listener auth-master {
group = vmail
mode = 0600
user = vmail
}
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
user = root
}
service imap-login {
service_count = 0
}
service pop3-login {
service_count = 0
}
ssl_cert = </usr/local/etc/ssl/star.rockisland.com.crt.pem
ssl_key = </usr/local/etc/ssl/star.rockisland.com.key.pem
userdb {
driver = prefetch
}
userdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf
driver = ldap
}
verbose_proctitle = yes
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
auth_socket_path = /var/run/dovecot/auth-master
info_log_path =
lda_mailbox_autocreate = no
lda_mailbox_autosubscribe = yes
log_path =
mail_plugins = quota sieve
postmaster_address = postmaster at rockisland.com
sendmail_path = /usr/sbin/sendmail
}
Mike Greene
Rock Island Technology Solutions, Inc.
San Juan Islands, WA. 360-378-5884 x201
David Webmailbeta Warden
2012-Aug-06 18:46 UTC
[Dovecot] redirect actions exceeds policy limit
In conf.d/90-sieve.conf we have: # The maximum number of redirect actions that can be performed during # a single script execution. #sieve_max_redirects = 4 sieve_max_redirects = 25 I think that's the setting you're looking for. -David Warden On 2012-08-06 14:34, Mike Greene wrote:> Hello, We have a vacation/mail forwarder plugin insquirrel mail that allows customers to forward email. It has come to my attention that there is a limit (appears to be 5) on the number of addresses that can be specified. I'm now trying to track down where this policy limit is set.> > This is the error we see in the customers.dovecot.sieve.log file:> > main_script: line 26: error: number ofredirect actions exceeds policy limit.> sieve: info: started log at Jul25 07:02:54.> > I checked the following for possible settings: > >/usr/local/etc/dovecot/dovecot.conf>/usr/local/etc/sieve/dovecot.sieve> /usr/local/etc/sieve/global.sieve >> I didn't see anything specific to limiting the number of redirects.I'm wondering where else I can look to find where this limit is coming from and adjust it upwards.> > We are using the following dovecot /pigeonhole versions.> > dovecot-2.0.7 > dovecot-pigeonhole-0.2.1 > >athena# dovecot -n> # 2.0.7: /usr/local/etc/dovecot/dovecot.conf > #OS: FreeBSD 8.1-RELEASE amd64> auth_default_realm = rockisland.com >auth_mechanisms = plain login cram-md5> auth_username_format = %Lu >disable_plaintext_auth = no> dotlock_use_excl = yes > first_valid_gid 1000 > first_valid_uid = 1000 > listen = * > mail_location mbox:~/mail:INBOX=/var/mail/%u > mail_privileged_group = mail >managesieve_notify_capability = mailto> managesieve_sieve_capability fileinto reject envelope encoded-character vacation subaddresscomparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date> passdb { > args /usr/local/etc/dovecot/dovecot-ldap.conf > driver = ldap > } > plugin{> quota = maildir > quota_rule = *:storage=2G > quota_warning storage=90%% /usr/local/sbin/quota-warning.sh 90 > quota_warning2 storage=80%% /usr/local/sbin/quota-warning.sh 80 > sieve ~/.dovecot.sieve > sieve_dir = ~/ > sieve_global_dir /usr/local/etc/sieve/ > } > protocols = imap pop3 > service auth { >unix_listener auth-client {> mode = 0660 > } > unix_listenerauth-master {> group = vmail > mode = 0600 > user = vmail > } >unix_listener auth-userdb {> group = vmail > mode = 0600 > user vmail > } > user = root > } > service imap-login { > service_count = 0 >}> service pop3-login { > service_count = 0 > } > ssl_cert </usr/local/etc/ssl/star.rockisland.com.crt.pem > ssl_key </usr/local/etc/ssl/star.rockisland.com.key.pem > userdb { > driver prefetch > } > userdb { > args /usr/local/etc/dovecot/dovecot-ldap.conf > driver = ldap > } >verbose_proctitle = yes> protocol imap { > imap_client_workarounds delay-newmail tb-extra-mailbox-sep > mail_plugins = quota imap_quota >}> protocol pop3 { > mail_plugins = quota > pop3_client_workarounds outlook-no-nuls oe-ns-eoh > pop3_uidl_format = %08Xu%08Xv > } > protocollda {> auth_socket_path = /var/run/dovecot/auth-master > info_log_path=> lda_mailbox_autocreate = no > lda_mailbox_autosubscribe = yes >log_path => mail_plugins = quota sieve > postmaster_address postmaster at rockisland.com > sendmail_path = /usr/sbin/sendmail > } > >Mike Greene> Rock Island Technology Solutions, Inc. > San Juan Islands,WA. 360-378-5884 x201
Thank you David, I saw that in the share/docs but we didn't have the /conf.d/ folder or any of the extra conf files in place. I created that directory, copied the file over, made my changes and all is well again. Not sure why things were setup the way they were, after looking at the other files in conf.d it would appear the previous sysadmin had merged a lot of those bits and pieces into the main dovecot.conf file. Perhaps leftovers from v1.x days. Will likely address that down the road when we update that server. Mike Greene Rock Island Technology Solutions, Inc. San Juan Islands, WA. 360-378-5884 x201> -----Original Message----- > > Date: Mon, 06 Aug 2012 14:46:22 -0400 > From: David Webmailbeta Warden <warden at geneseo.edu> > To: <dovecot at dovecot.org> > Subject: Re: [Dovecot] redirect actions exceeds policy limit > Message-ID: <f3f600e6dc1974de9bb54da5c4fed10a at geneseo.edu> > Content-Type: text/plain; charset="utf-8" > > > > In conf.d/90-sieve.conf we have: > > # The maximum number of redirect > actions that can be performed during > # a single script execution. > > #sieve_max_redirects = 4 > sieve_max_redirects = 25 > > I think that's the > setting you're looking for. > > -David Warden