Hi dovecot
when I modify SIEVE_DEFAULT_MAX_REDIRECTS = 25 in sieve-file:dovecot-1.2-sieve-0.1.7/src/lib-sieve/sieve-limits.h
I found this problem occurs about once a week,I'm not sure if it was caused by modify SIEVE_DEFAULT_MAX_REDIRECTS = 25 , defaulte is SIEVE_DEFAULT_MAX_REDIRECTS = 4:
LOG:
Nov 25 11:20:12 imap-login: Info: Login: user=any@rails.cn, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Nov 25 11:20:12 auth(default): Error: BUG: Worker sent reply with id 230, expected 231
Nov 25 11:20:12 auth(default): Error: worker-server(lwh@rails.cn,127.0.0.1): Aborted: Worker is buggy
dovecot -n:
namespace:
type: private
separator: /
inbox: yes
list: yes
subscriptions: yes
namespace:
type: shared
separator: /
prefix: shared/%%u/
location: maildir:%Lh/%Ld/%%n/:INDEX=%Lh/%Ld/%Ln/shared/%%u
list: children
auth default:
mechanisms: plain login
default_realm: com
user: txmail
master_user_separator: *
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: passwd-file
args: /etc/dovecot.master
pass: yes
master: yes
passdb:
driver: dict
args: /etc/dovecot-memcached.conf
userdb:
driver: dict
args: /etc/dovecot-memcached.conf
socket:
type: listen
client:
path: /var/spool/postfix/dovecot-auth
mode: 438
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 438
user: txmail
group: txmail
plugin:
quota_warning: storage=90%% %Lh/bin/dovecot-quota-warning.sh 90 %u
quota_warning2: storage=95%% %Lh/bin/dovecot-quota-warning.sh 95 %u
acl: vfile
acl_shared_dict: file:/%Lh/%Ld/shared-mailboxes.db
quota: maildir
quota_rule: *:storage=10M
expire: * 7
expire_dict: proxy::expire
auth_socket_path: /var/run/dovecot/auth-master
sieve: /opt/nsmail/data/sieve/%Ld/%Ln/.dovecot.sieve
autocreate: trash
autosubscribe: trash
autocreate2: rubbishs
autosubscribe2: rubbishs
autocreate3: &XfJT0ZABkK5O9g-
autosubscribe3: &XfJT0ZABkK5O9g-
autocreate4: &g0l6Pw-
autosubscribe4: &g0l6Pw-
autocreate5: decrypt
dict:
expire: mysql:/etc/dovecot-expire.conf
THANKS
YINGYING
I don't think you changed the default of the SIEVE_DEFAULT_MAX_REDIRECTS is the problem.
The "mode:" is for permission of the auth-userdb socket to lookup the userdb. Why did you set it to "438"?
reference: http://wiki2.dovecot.org/LDA
--
On Nov 27, 2014, at 10:35 PM, 刘莹莹 liuyingying5496@126.com wrote:
Hi dovecot when I modify SIEVE_DEFAULT_MAX_REDIRECTS = 25 in sieve-file:dovecot-1.2-sieve-0.1.7/src/lib-sieve/sieve-limits.h I found this problem occurs about once a week,I'm not sure if it was caused by modify SIEVE_DEFAULT_MAX_REDIRECTS = 25 , defaulte is SIEVE_DEFAULT_MAX_REDIRECTS = 4: LOG: Nov 25 11:20:12 imap-login: Info: Login: user=any@rails.cn, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Nov 25 11:20:12 auth(default): Error: BUG: Worker sent reply with id 230, expected 231 Nov 25 11:20:12 auth(default): Error: worker-server(lwh@rails.cn,127.0.0.1): Aborted: Worker is buggy dovecot -n: namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: shared separator: / prefix: shared/%%u/ location: maildir:%Lh/%Ld/%%n/:INDEX=%Lh/%Ld/%Ln/shared/%%u list: children auth default: mechanisms: plain login default_realm: com user: txmail master_user_separator: * verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /etc/dovecot.master pass: yes master: yes passdb: driver: dict args: /etc/dovecot-memcached.conf userdb: driver: dict args: /etc/dovecot-memcached.conf socket: type: listen client: path: /var/spool/postfix/dovecot-auth mode: 438 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 438 user: txmail group: txmail plugin: quota_warning: storage=90%% %Lh/bin/dovecot-quota-warning.sh 90 %u quota_warning2: storage=95%% %Lh/bin/dovecot-quota-warning.sh 95 %u acl: vfile acl_shared_dict: file:/%Lh/%Ld/shared-mailboxes.db quota: maildir quota_rule: *:storage=10M expire: * 7 expire_dict: proxy::expire auth_socket_path: /var/run/dovecot/auth-master sieve: /opt/nsmail/data/sieve/%Ld/%Ln/.dovecot.sieve autocreate: trash autosubscribe: trash autocreate2: rubbishs autosubscribe2: rubbishs autocreate3: &XfJT0ZABkK5O9g- autosubscribe3: &XfJT0ZABkK5O9g- autocreate4: &g0l6Pw- autosubscribe4: &g0l6Pw- autocreate5: decrypt dict: expire: mysql:/etc/dovecot-expire.conf THANKS
YINGYING
participants (2)
-
Andrew Ho
-
刘莹莹