Hi !
I'm using :
Everyting in MySQL (virtual users).
So, i have a global sieve script to filter the SPAM in to the SPAM folder, and it works ok, but when customers set up a filter from Open-Xchange the global filter stops working, then the spam starts to arrive in the INBOX and the OX filter works fine !
How can I create a filter for SPAM reaches the spam folder and OX users can configure their own filters ?
I have another question, there is posible to set default filters for customers in OX? That would solve my problem...
Here are my config files:
dovecot.conf
	/home/vmail/sieve/globalsieverc
	ls -l /home/vmail/sieve/ 
	ls -al /home/vmail/example.com/user1/
	Thanks in advance !!
							
						
					I'm using :
- OX GUI Version: 6.8.0-6802 Server Version: 6.8.0-6802
 - Linux (Debian etch)
 - Postfix
 - Dovecot 1.1.14 and managesieve (http://wiki.dovecot.org/ManageSieve)
 
Everyting in MySQL (virtual users).
So, i have a global sieve script to filter the SPAM in to the SPAM folder, and it works ok, but when customers set up a filter from Open-Xchange the global filter stops working, then the spam starts to arrive in the INBOX and the OX filter works fine !
How can I create a filter for SPAM reaches the spam folder and OX users can configure their own filters ?
I have another question, there is posible to set default filters for customers in OX? That would solve my problem...
Here are my config files:
dovecot.conf
Code:
	protocols = imap imaps pop3 pop3s managesieve
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
login_user = dovecot
mail_location = maildir:/home/vmail/%d/%n/Maildir
namespace private {
  separator = .
  prefix = 
  inbox = yes
}
mail_privileged_group = mail
protocol managesieve {
  sieve=~/.dovecot.sieve
}
protocol imap {
  mail_plugins = quota imap_quota
}
  
protocol pop3 {
  mail_plugins = quota
  pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
    log_path = /home/vmail/dovecot-deliver.log
    auth_socket_path = /var/run/dovecot/auth-master
    postmaster_address = postmaster@example.com
    mail_plugins = cmusieve quota
    sieve_global_dir = /home/vmail/sieve/
    global_script_path = /home/vmail/sieve/globalsieverc
}
auth_debug = yes
auth_debug_passwords = yes
auth default {
  mechanisms = plain login
  passdb sql {
    args = /usr/local/etc/dovecot-sql.conf 
  }
  userdb sql {
    args = /usr/local/etc/dovecot-sql.conf
  }
user = vmail
socket listen {
    master {
        path = /var/run/dovecot/auth-master
        mode = 0600
        user = vmail
    }
    client {
        path = /var/spool/postfix/private/auth
        mode = 0660
        user = postfix
        group = postfix
    }
}
}
plugin {
  quota = maildir:ignore=Corbeille
}
Code:
	require ["fileinto"];
if header :contains "X-Spam-Flag" ["YES"] {
  fileinto "Pourriel";
  stop;
}
Code:
	-rw-rw-r-- 1 vmail vmail 99 2009-04-28 14:58 globalsieverc -rw------- 1 vmail vmail 116 2009-04-28 16:36 globalsievercc -rw------- 1 vmail vmail 220 2009-04-28 17:58 Open-Xchange.sieve drwx------ 2 vmail vmail 4096 2009-04-28 17:58 tmp
Code:
	drwx------ 4 vmail vmail 4096 2009-04-29 09:34 . drwx------ 10 vmail vmail 4096 2009-04-28 16:36 .. -rw------- 1 vmail vmail 135 2009-04-28 10:21 .dovecot.lda-dupes lrwxrwxrwx 1 vmail vmail 32 2009-04-29 09:34 .dovecot.sieve -> Maildir/sieve/Open-Xchange.sieve -rw------- 1 vmail vmail 112 2009-04-29 09:34 .dovecot.sievec drwx------ 11 vmail vmail 4096 2009-04-29 10:09 Maildir drwx------ 3 vmail vmail 4096 2009-04-28 17:35 sieve
Comment