Hello,

I use dovecot + dspam and a very simple global sieve script :
require "fileinto";
if header :contains "X-DSPAM-Result" "Spam" {
        fileinto "SPAM";
        stop;
}

with dovecot 1.0 all run fine, but moving to 1.1 I experience this in maillog :

Oct 13 10:31:52 h8h1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED] >: save failed to SPAM: Unknown namespace Oct 13 10:31:52 h8h1 deliver([EMAIL PROTECTED]): sieve runtime error: Fileinto: Generic Error Oct 13 10:31:52 h8h1 deliver([EMAIL PROTECTED]): sieve_execute_bytecode(/usr/ local/mail/.dovecot.sievec) failed Oct 13 10:31:53 h8h1 deliver([EMAIL PROTECTED]): msgid=<[EMAIL PROTECTED] >: saved mail to INBOX

Ay idea ?

another question : I use virtual users only, they all have a quota_rule from mysql with different quota size, but I put a quota_rule2 globally to ignore Trash since the ignore= doesn't work anymore with 1.1, is that valid or do I need to add the quota_rule2 to mysql results too ?

Thanks,
David.

-------------------------------------------------------

# dovecot -n
# 1.1.3: /usr/local/etc/dovecot.conf
protocols: imap pop3 imaps pop3s
disable_plaintext_auth: no
shutdown_clients: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/local/libexec/dovecot/imap-login
login_executable(imap): /usr/local/libexec/dovecot/imap-login
login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
login_greeting: Welcome
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_processes_count: 10
verbose_proctitle: yes
first_valid_uid: 26
last_valid_uid: 26
first_valid_gid: 6
last_valid_gid: 6
mail_privileged_group: mail
mail_location: maildir:/usr/local/mail/%d/%u
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(pop3): /usr/local/libexec/dovecot/pop3
mail_plugins(default): quota imap_quota antispam
mail_plugins(imap): quota imap_quota antispam
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
mail_log_prefix: %Ls[%p]: Info: user=<%u>
imap_client_workarounds(default): delay-newmail outlook-idle netscape- eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(pop3):
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): UID%u-%v
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth default:
  mechanisms: plain login digest-md5 cram-md5
  user: nobody
  passdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.conf
  userdb:
    driver: sql
    args: /usr/local/etc/dovecot-sql.conf
  userdb:
    driver: prefetch
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 384
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: mailnull
      group: mail
plugin:
  sieve: /usr/local/mail/.dovecot.sieve
  quota: maildir
  quota_rule2: Trash:ignore
  trash: /usr/local/etc/dovecot-trash.conf
  antispam_signature: X-DSPAM-Signature
  antispam_trash: trash;Trash;Deleted Items
  antispam_spam: Junk;Spam;junk;spam;SPAM;SpamTrain
  antispam_unsure: Draft;draft
  antispam_mail_tmpdir: /tmp
  antispam_mail_spam: [EMAIL PROTECTED]
  antispam_mail_notspam: [EMAIL PROTECTED]
  antispam_mail_sendmail: /usr/sbin/sendmail

Reply via email to