[Dovecot] Problems Configuring Pigeonhole/Seve

Ian Barton lists at wilkesley.net
Mon Oct 17 09:17:17 EEST 2011


I am moving my email server from Ubuntu Lucid to Arch. The Arch server 
is running Dovecot V2.0.15. Email is working fine, but I can't get 
Pigeonhiole/sieve to work.

My dovecot.conf is:

protocols = imap sieve
ssl = yes
ssl_cert = </etc/ssl/certs/mail2.wilkesley.net.crt
ssl_key = </etc/ssl/private/mail2.wilkesley.net.key
first_valid_uid = 5000
first_valid_gid = 5000
auth_username_chars = 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@

namespace {
     location = maildir:/home/vmail/%d/%n/Maildir
     type = private
     prefix = INBOX.
     inbox = yes
     hidden = yes
}

protocol imap {
   imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
}
protocol lda {
  postmaster_address = ian at wilkesley.net
  hostname = wilkesley.org
  sendmail_path = /usr/sbin/sendmail
  mail_plugins = $mail_plugins sieve

}

protocol sieve {
# Nothing to do here as defaults are OK


}

plugin {
   sieve = ~/.dovecot.sieve
   sieve_global_path = /home/vmail/globalsieverc
   sieve_dir = ~/
}

  passdb {
    driver = sql
    args = /etc/dovecot/dovecot-sql.conf
  }
  userdb {
    driver = sql
    args = /etc/dovecot/dovecot-sql.conf
  }

I have created the sieve dir in the virtual users folder. However sieve 
doesn't appear to be working.
I have tried logging in manually to see if sieve is running, but get the 
following error:
ian:~/ $ gnutls-cli --starttls -p 143 mail2.wilkesley.net 
                                            [8:32:22]
Resolving 'mail2.wilkesley.net'...
Connecting to '127.0.0.1:143'...
- Simple Client Mode:
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE 
IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
STARTTLS
STARTTLS BAD Error in IMAP command received by server.
According to the Dovecot wiki this should reply with the capabilities of 
my server, Note the server sends and receives mail OK using starttls.

So what am I doing wrong?


More information about the dovecot mailing list