[Dovecot] Dsync error: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default
Hi,
Introduction: There are two domains, for example (aaa.com, bbb.com). In the aaa.com domain two users (bob@aaa.com, alex@aaa.com). In the bbb.com domain there are no users.
In time full sync replication (replication_full_sync_interval) operations in logs appear errors:
dovecot: dsync-local(bob@aaa.com): Error: Mailbox INBOX: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default: Invalid value for default sieve attribute dovecot: dsync-remote(bob@aaa.com): Error: Mailbox INBOX: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default: Invalid value for default sieve attribute
One more error:
dovecot: auth-worker(46263): sql(bob@bbb.com): unknown user dovecot: auth-worker(46263): sql(bob@bbb.com): Unknown user dovecot: auth-worker(46263): sql(bob): unknown user dovecot: auth-worker(46263): sql(bob): Unknown user dovecot: auth-worker(46263): sql(alex@aaa.com): unknown user dovecot: auth-worker(46263): sql(alex@aaa.com): Unknown user dovecot: auth-worker(46263): sql(alex): unknown user dovecot: auth-worker(46263): sql(alex): Unknown user
Command: doveadm user '*' bob@aaa.com alex@aaa.com
dovecot --build-options Build options: ioloop=kqueue notify=kqueue ipv6 openssl io_block_size=8192 Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail SQL drivers: mysql Passdb: checkpassword pam passwd passwd-file sql Userdb: checkpassword nss passwd prefetch passwd-file sql
dovecot --version 2.2.5
Somebody faced this problem?
-- Best regards, Aleksey Tsvetkov System Administrator Company Grand Vision tel. +7(495)933-39-79, ext. 184
On 12.9.2013, at 15.23, Aleksey Tsvetkov tsvetkov_av@grandvision.ru wrote:
dovecot: dsync-local(bob@aaa.com): Error: Mailbox INBOX: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default: Invalid value for default sieve attribute
No idea .. The attached patch shows what value it's trying to use. That could help explain what's going on.
I installed with a patch. In a log there was my sieve file.
Example log:
dovecot: dsync-local(bob@aaa.com): Error: Mailbox INBOX: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default: Invalid value for default sieve attribute: �require ["fileinto", "envelope"]; dovecot: doveadm: Error: if envelope :localpart :is "from" ["monit", "monitor"] { dovecot: doveadm: Error: fileinto "INBOX.Monit"; dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: elsif address :is "from" "MAILER-DAEMON@aaa.com" { dovecot: doveadm: Error: fileinto "INBOX.mailer-daemon"; Sep 22 10:17:55 ares dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: elsif address :is "from" ["1@example.com", "pm@example.com"] { dovecot: doveadm: Error: fileinto "INBOX.ling"; dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: elsif address :is "from" "h dovecot: dsync-local(bob@aaa.com): Error: g@aaa.com" { dovecot: doveadm: Error: fileinto "INBOX.hg"; dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: elsif envelope :domain :is "from" ["mail.aaa.com", "z.aaa.com", "a.aaa.com", dovecot: doveadm: Error: "h.aaa.com", "mx1.aaa.com", "mx2.aaa.com", dovecot: doveadm: Error: "web1.aaa.com", "web2.aaa.com", dovecot: doveadm: Error: "pg1.aaa.com", "pg2.aaa.com"] { dovecot: doveadm: Error: fileinto "INBOX.System"; dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: elsif header :contains "X-AAA-Spam" "Yes" { dovecot: doveadm: Error: fileinto "Junk"; dovecot: doveadm: Error: stop; dovecot: doveadm: Error: } dovecot: doveadm: Error: else { dovecot: doveadm: Error: keep; dovecot: doveadm: Error: } dovecot: doveadm: Error:
On Sun, 22 Sep 2013 06:59:30 +0300 Timo Sirainen tss@iki.fi пишет:
On 12.9.2013, at 15.23, Aleksey Tsvetkov tsvetkov_av@grandvision.ru wrote:
dovecot: dsync-local(bob@aaa.com): Error: Mailbox INBOX: Failed to set attribute vendor/vendor.dovecot/pvt/sieve/default: Invalid value for default sieve attribute
No idea .. The attached patch shows what value it's trying to use. That could help explain what's going on.
-- Best regards, Aleksey Tsvetkov System Administrator Company Grand Vision tel. +7(495)933-39-79, ext. 184
On 9/22/2013 10:37 AM, Цветков Алексей wrote:
I installed with a patch. In a log there was my sieve file.
This should fix it:
http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/3163f3696498
Regards,
Stephan.
Thanks! It works!
On Sun, 22 Sep 2013 11:51:36 +0200 Stephan Bosch stephan@rename-it.nl writes:
On 9/22/2013 10:37 AM, Цветков Алексей wrote:
I installed with a patch. In a log there was my sieve file.
This should fix it:
http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/3163f3696498
Regards,
Stephan.
-- Best regards, Aleksey Tsvetkov System Administrator Company Grand Vision tel. +7(495)933-39-79, ext. 184
participants (4)
-
Aleksey Tsvetkov
-
Stephan Bosch
-
Timo Sirainen
-
Цветков Алексей