[Dovecot] dovecot 2.0 -> 2.1 sieve problem

Trever L. Adams trever at middleearth.sapphiresunday.org
Wed May 15 18:05:01 EEST 2013


On 05/14/2013 02:56 PM, Stephan Bosch wrote:
> On 5/14/2013 9:35 PM, Trever L. Adams wrote:
>> On 05/14/2013 01:29 PM, Stephan Bosch wrote:
>>> On 5/14/2013 8:54 PM, Trever L. Adams wrote:
>>>> I had a completely working setup before. I upgraded, now I get:
>>>>
>>>> Error: 7LUaNYqHklG6EAAApwKjnA: sieve: execution of script (null)
>>>> failed,
>>>> but implicit keep was successful
>>>>
>>>> sieve = /home/vmail/%Ld/%Ln/.dovecot.sieve
>>>> sieve_dir = /home/vmail/%Ld/%Ln/sieve (this was ~/sieve)
>>>>
>>>> I am not quite sure what is going on. Is anyone else seeing this? Any
>>>> idea on what has changed? (I am not readily seeing it in changelogs or
>>>> mailing lists.)
>>> What is the exact version of Pigeonhole you're upgrading to?
>> dovecot-2.2.1-2.fc19.x86_64
>> dovecot-pigeonhole-2.2.1-2.fc19.x86_64
>
> That is not 2.1, right?
Sorry, I had been at it for many hours when I looked at the version. You
are correct.

I have been racking my brain trying to figure out why some may not see
what I am seeing. The only odd part of my configuration that others may
not have is:

import_environment = TZ KRB5CCNAME=...

This was added, if I remember right, at the request of myself and
another so that LDAP configuration could identify with GSSAPI base
kerberos. I do use it.
>
>> It won't run ANY sieves even the sieve_before, directory or specific
>> sieve file.
>
> The error you see is a bug in any case because of the '(null)' script
> location.
>
> You can enable mail_debug to see more information.
>
> Could you also provide dovecot -n output here?
>
> Regards,
>
> Stephan.
>
>
# 2.2.1: /etc/dovecot/dovecot.conf
# OS: Linux 3.9.1-301.fc19.x86_64 x86_64 Fedora release 19
(Schrödinger’s Cat)
auth_gssapi_hostname = MX.DOMAIN
auth_mechanisms = gssapi gss-spnego login plain
auth_realms = DOMAIN
auth_username_format = %u
import_environment = TZ KRB5CCNAME=/etc/dovecot/krb5.cc
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_gid = vmail
mail_home = /home/vmail/%Ld/%Ln
mail_location = maildir:~/Maildir
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox INBOX.Dangerous {
    auto = subscribe
  }
  mailbox INBOX.Infected {
    auto = subscribe
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox SPAM {
    auto = subscribe
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
plugin {
  antispam_backend = dspam
  antispam_dspam_args = --client;--user;%u;--source=error;--signature=%%s
  antispam_dspam_result_header = X-DSPAM-Result
  antispam_signature = X-DSPAM-Signature
  antispam_spam = SPAM
  antispam_trash = trash;Trash;Deleted Items
  sieve = /home/vmail/%Ld/%Ln/.dovecot.sieve
  sieve_before = /etc/dovecot/sieve
  sieve_dir = /home/vmail/%Ld/%Ln/sieve
  sieve_global_dir = /etc/dovecot/sieve/
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
ssl = required
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = " sieve"
}
protocol lda {
  mail_plugins = " sieve"
}
protocol imap {
  mail_plugins = " antispam"
}

Thank you for your help,
Trever
-- 
"'We have two ears and one mouth, so we may listen twice as much as we
speak' -- Epictetus. Aha! This obviously explains many people's attitude
to Usenet: 'We have ten fingers and two eyes, so we may type five times
as much drivel as we actually bother to read.'" -- alt.humor.best-of-usenet


More information about the dovecot mailing list