Topic: Problem with global sieve

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: Debian 6
- Related log if you're reporting an issue:
Hi, I added rules to dovecot for move spam mail to Junk box, but after one week system started move some normal mail to Junk.
That was funny,  I see messages in Inbox I try to read this but roundcube tell me "this messages not exist" and I can find this message in "Junk box".
I try rollback all changes in dovecot but this not help, maybe some one now how debug this problem?
In sieva.log i see this message go to INBOX but when i try read this via Roundcube message or is already moved or after read is moved automatically but not all messages. I can't find rules for this. In roundcube mails I don't have any rules for Junk.

I trying skipped rouncube and used only mailclient on phone (imap) but this to not help.

Please help.


Re: Problem with global sieve

*) Please show us your Dovecot settings with command "dovecot -n".
*) Do you have any personal sieve rule? You can find it in Roundcube: Settings -> Filters.


Re: Problem with global sieve


# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux x86_64 Debian 6.0.9 
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps managesieve
ssl_ca_file: /etc/ssl/certs/iRedMail_CA.pem
ssl_cert_file: /etc/ssl/certs/iRedMail_CA.pem
ssl_key_file: /etc/ssl/private/iRedMail.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
first_valid_uid: 1000
last_valid_uid: 1000
mail_uid: 1000
mail_gid: 1000
mail_location: maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
mail_debug: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_process_size: 1024
mail_plugins(default): quota imap_quota autocreate
mail_plugins(imap): quota imap_quota autocreate
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
imap_client_workarounds(default): tb-extra-mailbox-sep
imap_client_workarounds(imap): tb-extra-mailbox-sep
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
  type: shared
  separator: /
  prefix: Shared/%%u/
  location: maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
  list: children
  subscriptions: yes
  postmaster_address: root
  auth_socket_path: /var/run/dovecot/auth-master
  mail_plugins: quota sieve autocreate
  sieve_global_path: /var/vmail/sieve/dovecot.sieve
  log_path: /var/log/sieve.log
auth default:
  mechanisms: plain login
  default_realm: s1.wwpol.com
  user: vmail
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
    driver: sql
    args: /etc/dovecot/dovecot-mysql.conf
    type: listen
      path: /var/spool/postfix/dovecot-auth
      mode: 438
      user: postfix
      group: postfix
      path: /var/run/dovecot/auth-master
      mode: 438
      user: vmail
      group: vmail
  quota_warning: storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
  quota_warning2: storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
  quota_warning3: storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
  quota: dict:user::proxy::quotadict
  quota_rule: *:storage=0
  expire: Trash 7 Trash/* 7 Junk 30
  expire_dict: proxy::expire
  auth_socket_path: /var/run/dovecot/auth-master
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
  autocreate: INBOX
  autocreate2: Sent
  autocreate3: Trash
  autocreate4: Drafts
  autosubscribe: INBOX
  autosubscribe2: Sent
  autosubscribe3: Trash
  autosubscribe4: Drafts
  acl: vfile
  acl_shared_dict: proxy::acl
  sieve: /var/vmail/sieve/%Ld/%Ln/dovecot.sieve
  sieve_dir: /var/vmail/sieve/%Ld/%Ln
  expire: db:/var/lib/dovecot/expire/expire.db
  quotadict: mysql:/etc/dovecot/dovecot-used-quota.conf
  acl: mysql:/etc/dovecot/dovecot-share-folder.conf

2) and yes but nothing for JUNK


Re: Problem with global sieve

I have no idea at all. Do you have several people using the same mail account?


Re: Problem with global sieve

No, only me. I think this must by IMAP i try debug this more.

And more funy is i delete everything in mailbox dir and this not help.


Re: Problem with global sieve

It doesn't make sense at all. No idea. sad