Package: dovecot-managesieved
Version: 1:2.1.7-7
Severity: important
File: dovecot-managesieve
Tags: upstream

Dear Maintainer,

I'm using checkpassword (http://wiki.dovecot.org/AuthDatabase/CheckPassword)
as an authentication method for managesieve, however when the checkpassword
script exits with code 111 ("Temporary authentication failure") managesieved
outputs a message that is wrong per rfc5804:

$ nc localhost 4190
S: "IMPLEMENTATION" "Dovecot Pigeonhole"
S: "SIEVE" "fileinto reject envelope encoded-character vacation subaddress
S: comparator-i;ascii-numeric relational regex imap4flags copy include
S: variables body enotify environment mailbox date ihave"
S: "NOTIFY" "mailto"
S: "SASL" "PLAIN"
S: "STARTTLS"
S: "VERSION" "1.0"
S: OK "Dovecot ready."

C: AUTHENTICATE "PLAIN" "AHRlc3QAdGVzdA=="

S: NO [TRYLATER] "Temporary authentication failure. [hathor:2013-05-24
S: 07:56:09]"

That last server line should be "NO (TRYLATER)" (that is, round brackets
rather than square brakets).


Example checkpassword script:

#!/usr/bin/perl -w

exit(111)



-- Package-specific info:

dovecot configuration
---------------------
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-486 i686 Debian 7.0 ext3
auth_debug = yes
auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@*
first_valid_uid = 116
last_valid_uid = 116
lda_mailbox_autocreate = yes
mail_gid = vmail
mail_location = maildir:/home/vmail/mail/%u/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
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /home/osric/bin/checkpassword
  driver = checkpassword
}
plugin {
  sieve = ~/dovecot.sieve
  sieve_dir = ~/sieve
}
postmaster_address = postmaster@<address hidden>
protocols = imap sieve
service imap-login {
  inet_listener imap {
    port = 143
  }
  process_min_avail = 0
  service_count = 1
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  process_min_avail = 0
  service_count = 1
}
ssl_cert = </etc/dovecot/dovecot.pem
ssl_key = </etc/dovecot/private/dovecot.pem
userdb {
  args = uid=vmail gid=vmail home=/home/vmail/mail/%n allow_all_users=yes
  driver = static
}
protocol sieve {
  mail_max_userip_connections = 2
}

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dovecot-managesieved depends on:
ii  dovecot-core   1:2.1.7-7
ii  dovecot-sieve  1:2.1.7-7
ii  libc6          2.13-38
ii  libssl1.0.0    1.0.1e-2
ii  ucf            3.0025+nmu3

dovecot-managesieved recommends no packages.

dovecot-managesieved suggests no packages.

Versions of packages dovecot-managesieved is related to:
ii  dovecot-core [dovecot-common]  1:2.1.7-7
pn  dovecot-dbg                    <none>
pn  dovecot-dev                    <none>
pn  dovecot-gssapi                 <none>
ii  dovecot-imapd                  1:2.1.7-7
pn  dovecot-ldap                   <none>
pn  dovecot-lmtpd                  <none>
ii  dovecot-managesieved           1:2.1.7-7
ii  dovecot-mysql                  1:2.1.7-7
pn  dovecot-pgsql                  <none>
pn  dovecot-pop3d                  <none>
ii  dovecot-sieve                  1:2.1.7-7
pn  dovecot-sqlite                 <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to