<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.mail.imap.dovecot">
    <title>gmane.mail.imap.dovecot</title>
    <link>http://blog.gmane.org/gmane.mail.imap.dovecot</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71947"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71944"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71940"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71939"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71936"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71932"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71930"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71926"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71925"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71923"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71916"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71911"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71910"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71904"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71903"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71882"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71846"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71844"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71843"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.mail.imap.dovecot/71839"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71947">
    <title>Linking mdbox directories</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71947</link>
    <description>&lt;pre&gt;Hi Timo/list,

We have a scenario in which some email accounts on dovecot (stored in 
mdbox, separate paths for indexes, email, ALT storage and also using SIS 
for attachments, LDAP directory) need their names changed. I know we 
could just change the mail LDAP attribute (and leave mailMessageStore 
alone) so they keep the same directories on disk, but this would throw a 
spanner in the works for our backups.

Would it be possible to create a hard link of the user's directories 
under the new name, and change the LDAP mailMessageStore attribute to 
point to these without stopping and starting dovecot? And after a while 
unlink the original locations? Or would this mess up dovecot's internal 
state?

Thanks

Alex

&lt;/pre&gt;</description>
    <dc:creator>Alex Crow</dc:creator>
    <dc:date>2013-05-20T11:00:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71944">
    <title>Empty file in maildirs</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71944</link>
    <description>&lt;pre&gt;I am cleaning up some old users, and found that in every maildir folder there is
an empty file called maildirfolder, created at the time the original dovecot was
installed.

Is this empty file necessary for dovecot, or is it left there in an upgrade
proces and can it be removed?

Dovecot 2.1.7, on Debian wheezy.


&lt;/pre&gt;</description>
    <dc:creator>Roel Wagenaar</dc:creator>
    <dc:date>2013-05-20T08:29:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71940">
    <title>v2.2.2 released</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71940</link>
    <description>&lt;pre&gt;http://dovecot.org/releases/2.2/dovecot-2.2.2.tar.gz
http://dovecot.org/releases/2.2/dovecot-2.2.2.tar.gz.sig

It's been a while since v2.2.1. I think all of the bad bugs in v2.2
series should be fixed by now, so here's a new release. I think there
are still some small URLAUTH bugs left though, so you might want to wait
before enabling it in production (imap_urlauth_host is empty by default,
which disables it).

+ zlib: Keep the last mail cached uncompressed in a temp file. This
  fixes performance when doing small partial fetches from a large
  mail.
+ acl: If plugin { acl_defaults_from_inbox = yes } is set, get the
  default ACLs for private and shared namespaces from the user's INBOX.
  (This probably will become default in v2.3.)
+ pop3: Added pop3_deleted_flag setting to switch POP3 deletions to
  only hide the messages from POP3, but still be visible via IMAP.
- ACL plugin: Mailbox creation wasn't actually checking any ACLs
  and always succeeded (due to some v2.2 API changes). The created
  mailbox couldn't have been accessed though, so this couldn't have
  caused any data leak.
- IMAP: Various URLAUTH fixes.
- IMAP: Fixed a hang with invalid APPEND parameters.
- IMAP LIST-EXTENDED: INBOX was never listed with \Subscribed flag.
- mailbox_list_index=yes still caused crashes.
- maildir: Fixed a crash after dovecot-keywords file was re-read.
- maildir: If files had reappeared unexpectedly to a Maildir, they
  were ignored until index files were deleted.
- Maildir: Fixed handling over 26 keywords in a mailbox. 
- Maildir++: Fixed mail_shared_explicit_inbox=no 
- namespace { prefix="" list=no } was listing mailboxes.
- imap/pop3-login proxying: Fixed a crash if TCP connection succeeded,
  but the remote login timed out.
- Case-insensitive search/sort didn't work correctly for all unicode
  characters, as specified by i;unicode-casemap comparator. If full
  text search indexes were used, they need to be rebuilt for old mails
  to be handled correctly. (This bug has existed always in Dovecot.)



&lt;/pre&gt;</description>
    <dc:creator>Timo Sirainen</dc:creator>
    <dc:date>2013-05-19T23:31:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71939">
    <title>Error: dict client sent broken reply</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71939</link>
    <description>&lt;pre&gt;I've been mucking about, experimenting with the expire plugin and using a
dictionary.  I've got the iteration query working when I do a normal
expunge using:

doveadm expunge -A mailbox "INBOX.Trash" savedbefore 1w

and expunging works as expected.  However, I've got over 12,000 accounts
on this server, so I was hoping using the expire plugin to could help out.
 I've configured the plugin, and things kinda work, except that somewhere
between 3700 and 3800 users, I abort with this:

doveadm(someuseraccount&amp;lt; at &amp;gt;somedomain): Error: dict client
(/var/run/dovecot/dict) sent broken reply
doveadm(someuseraccount&amp;lt; at &amp;gt;somedomain): Error: Dictionary iteration failed
doveadm: Error: Failed to iterate through some users

It consistently fails at the same user.  If I delete that user from the
expire database, then it appears to fail on the next user.

I also see this in the logs:

dovecot: dict: Error: dict client: COMMIT: Can't commit while iterating

I've absolutely no idea where to go from here to troubleshoot this.  Any
guidance would be appreciated.

Thanks,
Chris

doveconf -n:

# 2.1.12: /etc/dovecot/dovecot.conf
# OS: Linux 3.7.5-hardened-r1 x86_64 Gentoo Base System release 2.1 ext4
auth_master_user_separator = *
auth_mechanisms = plain login
auth_username_chars =
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_&amp;lt; at &amp;gt;&amp;amp;
auth_verbose_passwords = plain
default_process_limit = 200
dict {
  quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
login_greeting = Awaiting command...
mail_location = maildir:/home/vmail/%d/%n/Maildir
mail_plugins = " quota"
mail_privileged_group = 100
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 = INBOX.
  separator = .
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  expire = Trash 7
  expire2 = Trash/* 7
  expire3 = Spam 7
  quota = dict:User quota:%u:proxy::quota
  quota_rule = *:storage=200M
  quota_warning = storage=99%% quota-warning 99 %n %d
  quota_warning2 = storage=95%% quota-warning 95 %n %d
  quota_warning3 = storage=80%% quota-warning 80 %n %d
  quota_warning4 = -storage=95%% quota-warning 'less than 95' %n %d
  sieve = ~/.dovecot.sieve
  sieve_default = /home/vmail/dovecot/sieve/default.sieve
  sieve_dir = ~/sieve
  sieve_global_dir = /home/vmail/dovecot/sieve
}
protocols = imap pop3 sieve lmtp
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
  unix_listener auth-userdb {
    group = dovecot
    mode = 0666
    user = dovecot
  }
  user = $default_internal_user
}
service dict {
  unix_listener dict {
    mode = 0600
    user = vmail
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service quota-warning {
  executable = script /etc/dovecot/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_cert = &amp;lt;/etc/ssl/dovecot/server.pem
ssl_key = &amp;lt;/etc/ssl/dovecot/server.key
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
protocol lmtp {
  mail_plugins = sieve quota
  postmaster_address = postmaster&amp;lt; at &amp;gt;domain
}
protocol lda {
  mail_plugins = " quota sieve quota"
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = " quota quota imap_quota"
}
protocol pop3 {
  mail_plugins = " quota quota"
}


From dovecot-dict-sql.conf.ext:

connect = host=localhost dbname=maildb user=dbuser password=dbpass

# CREATE TABLE quota (
#   username varchar(100) not null,
#   bytes bigint not null default 0,
#   messages integer not null default 0,
#   primary key (username)
# );

map {
  pattern = priv/quota/storage
  table = quota_usage
  username_field = address
  value_field = quota_bytes
}
map {
  pattern = priv/quota/messages
  table = quota_usage
  username_field = address
  value_field = quota_messages
}

# CREATE TABLE expires (
#   username varchar(100) not null,
#   mailbox varchar(255) not null,
#   expire_stamp integer not null,
#   primary key (username, mailbox)
# );

map {
  pattern = shared/expire/$user/$mailbox
  table = expires
  value_field = expire_stamp

  fields {
    address = $user
    folder = $mailbox
  }
}



dovecot-sql.conf.ext

driver = mysql
connect = host=/var/run/mysqld/mysqld.sock dbname=maildb user=dbuser

password=dbpass
default_pass_scheme = PLAIN

user_query = SELECT homedir AS home, maildir AS mail, uid AS uid, gid AS
gid, quota_rule AS quota_rule FROM email WHERE address = CONVERT('%u'
USING latin1) AND is_alias=0;

password_query = SELECT address AS user, NULL as password, homedir AS
userdb_home, maildir as userdb_mail, uid AS userdb_uid, gid AS userdb_gid,
quota_rule AS userdb_quota_rule, 'Y' AS nopassword FROM email WHERE
address = CASE WHEN ('%d' = '') THEN CONCAT (CONVERT('%n' USING latin1),
'&amp;lt; at &amp;gt;bordernet.com.au') ELSE CONVERT('%u' USING latin1) END AND is_alias=0
AND CheckPasswordFunc(CONVERT('%n' USING latin1), '%d', CONVERT('%w' USING
latin1), '%r');

iterate_query = SELECT address AS user FROM email WHERE is_alias=0 AND
length(password) &amp;gt; 1


&lt;/pre&gt;</description>
    <dc:creator>Chris Richards</dc:creator>
    <dc:date>2013-05-19T21:33:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71936">
    <title>Configure dovecot to provide SASL authentication</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71936</link>
    <description>&lt;pre&gt;   Hi,
  I'm trying to get dovecot to provide SASL authentication for
postfix My setup appears to be working but I'm not 100% certain
I've got it right. I've come across several examples for dovecot
version 1 but I'm running 2.0.9.  The output of doveconf -n is here :

 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.2.1.el6.x86_64 x86_64 CentOS release 6.3 (Final) 
auth_debug = yes
auth_verbose = yes
disable_plaintext_auth = no
mbox_write_locks = fcntl
passdb {
  driver = pam
}
protocols = imap
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
}
ssl_cert = &amp;lt;/etc/pki/dovecot/certs/dovecot.pem
ssl_key = &amp;lt;/etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}


 Specifically : are the "service auth", userdb and passdb
sections correct ? And the mode ? Or is it too permissive ?


  For completeness the postfix setup is here :

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
#
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
    permit_mynetworks,
    reject_non_fqdn_helo_hostname,
    reject_invalid_helo_hostname,
    permit
#
smtpd_sender_restrictions =
    permit_mynetworks,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    permit
#
smtpd_recipient_restrictions =
   reject_unauth_pipelining,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   permit_mynetworks,
   permit_sasl_authenticated,
   reject_unauth_destination,
   permit
#



      peter
----

Peter Skensved
Dept. of Physics,
Queen's University,
Kingston, Ontario,
Canada


&lt;/pre&gt;</description>
    <dc:creator>Peter Skensved</dc:creator>
    <dc:date>2013-05-19T15:51:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71932">
    <title>Dovecot 2.2.1 LDA and sieve (lack of) errors</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71932</link>
    <description>&lt;pre&gt;Hello again, all. Of course after posting yesterday that all was well 
with my setup, turns out all is not well. The problem I'm having is with 
dovecot-lda functioning and making deliveries to my mailbox, but the 
sieve scripts don't seem to have any effect. Attempts at logging what 
is/isn't happening have been total failures.

Managesieve seems to work fine, port 4190 is open on the server and it 
allows the tunderbird plugin to function, I can create and edit scripts 
with the plugin. For some reason it doesn't seem to auto-compile the 
scripts to binary form, but if I just need to do that manually I can 
live with it. I only mention the lack of auto-compiling in case that 
sheds light on what is wrong with the LDA or sieve.

I'm running the current dovecot, 2.2.1 along with pigeonhole 0.4.0. Here 
is the config:

root&amp;lt; at &amp;gt;hostname:/usr/local/dovecot-2.2.1# doveconf -n
# 2.2.1: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.0
auth_cache_size = 10 M
auth_default_realm = mail.domain.com
auth_mechanisms = plain login
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
debug_log_path = /dev/stderr
default_internal_user = vpopmail
default_login_user = vpopmail
first_valid_gid = 89
first_valid_uid = 89
hostname = mail.domain.com
last_valid_gid = 89
last_valid_uid = 89
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /dev/stderr
mail_access_groups = 89
mail_debug = yes
mail_gid = 89
mail_location = maildir:%h/Maildir
mail_plugins = " quota"
mail_privileged_group = 89
mail_uid = 89
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 spamtest spamtestplus vnd.dovecot.debug
namespace inbox {
   inbox = yes
   location =
   prefix =
   separator = .
}
passdb {
   driver = vpopmail
}
plugin {
   quota = maildir:User quota
   quota_rule = *:storage=2G
   quota_warning = storage=95%% quota-warning 95 %u
   sieve = ~/.sieve/dovecot.sieve
   sieve_dir = ~/.sieve
   sieve_extensions = +spamtest +spamtestplus +relational 
+comparator-i;ascii-numeric +vnd.dovecot.debug
}
postmaster_address = postmaster&amp;lt; at &amp;gt;mail.domain.com
protocols = imap pop3 lmtp sieve
sendmail_path = /var/qmail/bin/sendmail
service auth-worker {
   user = $default_internal_user
}
service auth {
   unix_listener auth-userdb {
     group = vchkpw
     mode = 0600
     user = vpopmail
   }
   user = $default_internal_user
}
service managesieve-login {
   inet_listener sieve {
     port = 4190
   }
   service_count = 1
   vsz_limit = 64 M
}
ssl = required
ssl_cert = &amp;lt;/var/qmail/control/servercert.pem
ssl_key = &amp;lt;/var/qmail/control/servercert.priv
userdb {
   args = quota_template=quota_rule=*:backend=%q
   driver = vpopmail
}
protocol lda {
   info_log_path = /dev/stderr
   log_path = /dev/stderr
   mail_plugins = " quota sieve"
}
protocol imap {
   mail_plugins = " quota imap_quota"
}
protocol pop3 {
   mail_plugins = " quota quota"
}


I've set the lda specific logs to /dev/stderr because I'm running 
dovecot through daemontools, and that is what it logs. Daemontools 
redirects /dev/stderr to /var/log/qmail/qmail-dovecot/current. I had 
tried logging to /var/log/dovecot/lda.log, that file exists, the 
directory is 775 dovecot:dovecot, but the file size remained 0. Very 
little appears in the dovecot logs with lda -

root&amp;lt; at &amp;gt;hostname:/home/vpopmail/domains/domain.com/jim/.sieve# grep lda 
/var/log/qmail/qmail-dovecot/current |tai64nlocal
2013-05-16 11:05:49.432026500 May 16 11:05:49 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-16 11:29:32.386361500 May 16 11:29:32 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-16 11:54:03.145741500 May 16 11:54:03 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-16 12:33:40.274543500 May 16 12:33:40 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-16 12:47:07.202036500 May 16 12:47:07 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-16 13:40:44.548948500 May 16 13:40:44 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda
2013-05-17 11:50:31.073410500 May 17 11:50:31 auth: Debug: master in: 
USER    1jim&amp;lt; at &amp;gt;domain.com    service=lda

The sieve issue is as follows: I have a very simple sieve script. the 
managaesieve utility accepts the script, here is the contents of the 
$HOME/.sieve directory:

root&amp;lt; at &amp;gt;hostname:/home/vpopmail/domains/domain.com/jim/.sieve# ls -al
total 20
drwx------ 3 vpopmail vchkpw 4096 May 18 02:24 .
drwx------ 5 vpopmail vchkpw 4096 May 18 09:39 ..
lrwxrwxrwx 1 vpopmail vchkpw   16 May 18 02:22 dovecot.sieve -&amp;gt; 
night-test.sieve
-rw------- 1 vpopmail vchkpw  303 May 18 02:22 dovecot.svbin
-rw------- 1 vpopmail vchkpw  315 May 18 02:24 night-test.sieve
drwx------ 2 vpopmail vchkpw 4096 May 18 02:24 tmp

The contents of dovecot.sieve itself are:

root&amp;lt; at &amp;gt;hostname:/home/vpopmail/domains/domain.com/jim/.sieve# cat 
dovecot.sieve
#
# 2013-5-17
#
require ["fileinto", "envelope", "vnd.dovecot.debug"];
if header :contains ["from"] "sub1.domain.com" {
     debug_log "match happened and syntax changed for testing purposes";
       fileinto
   "INBOX.folder2";
} else {
     debug_log "can't catch a cold when wet snowy and cold";
   keep;
}

The compile of the script works fine as user vpopmail:

vpopmail&amp;lt; at &amp;gt;hostname:~/domains/domain.com/jim/.sieve$ sievec dovecot.sieve 
/tmp/dovecot.svbin
sievec(vpopmail): Debug: Loading modules from directory: 
/usr/local/lib/dovecot
sievec(vpopmail): Debug: Module loaded: 
/usr/local/lib/dovecot/lib10_quota_plugin.so
sievec(vpopmail): Debug: Effective uid=89, gid=89, home=/home/vpopmail
sievec(vpopmail): Debug: Quota root: name=User quota backend=maildir args=
sievec(vpopmail): Debug: Quota rule: root=User quota mailbox=* 
bytes=2147483648 messages=0
sievec(vpopmail): Debug: Quota warning: bytes=2040109465 (95%) 
messages=0 reverse=no command=quota-warning 95 vpopmail
sievec(vpopmail): Debug: Quota grace: root=User quota bytes=214748364 (10%)

A diff between dovecot.svbin and /tmp/dovecot.svbin shows no difference. 
Neither of the debug lines show up anywhere in the logs.

When I send an email from sub1.domain.com to this server, it ends up in 
the main inbox rather than INBOX.folder2. Interestingly, if I run 
sieve-test on the mail, it tells me it should have been moved to 
INBOX.folder2:

vpopmail&amp;lt; at &amp;gt;hostname:~/domains/domain.com/jim/Maildir/cur$ sieve-test 
../../.sieve/dovecot.sieve 1368888104.11471.hostname\,S\=1235\:2\,a
sieve-test(vpopmail): Debug: Loading modules from directory: 
/usr/local/lib/dovecot
sieve-test(vpopmail): Debug: Module loaded: 
/usr/local/lib/dovecot/lib10_quota_plugin.so
sieve-test(vpopmail): Debug: Effective uid=89, gid=89, home=/home/vpopmail
sieve-test(vpopmail): Debug: Quota root: name=User quota backend=maildir 
args=
sieve-test(vpopmail): Debug: Quota rule: root=User quota mailbox=* 
bytes=2147483648 messages=0
sieve-test(vpopmail): Debug: Quota warning: bytes=2040109465 (95%) 
messages=0 reverse=no command=quota-warning 95 vpopmail
sieve-test(vpopmail): Debug: Quota grace: root=User quota 
bytes=214748364 (10%)
sieve-test(vpopmail): Debug: Quota root: name=User quota backend=maildir 
args=
sieve-test(vpopmail): Debug: Quota rule: root=User quota mailbox=* 
bytes=2147483648 messages=0
sieve-test(vpopmail): Debug: Quota warning: bytes=2040109465 (95%) 
messages=0 reverse=no command=quota-warning 95 raw mail user
sieve-test(vpopmail): Debug: Quota grace: root=User quota 
bytes=214748364 (10%)
sieve-test(vpopmail): Debug: none: root=, index=, indexpvt=, control=, 
inbox=, alt=
dovecot: line 6: info: DEBUG: match happened and syntax changed for 
testing purposes.

Performed actions:

  * store message in folder: INBOX.folder2

Implicit keep:

   (none)

sieve-test(vpopmail): Info: final result: success


And yes, INBOX.folder exists:

vpopmail&amp;lt; at &amp;gt;hostname:~/domains/domain.com/jim/Maildir/cur$ ls -al 
../.INBOX.folder2/
total 28
drwx------  5 vpopmail vchkpw 4096 May 14 10:33 .
drwx------ 15 vpopmail vchkpw 4096 May 18 10:42 ..
drwx------  2 vpopmail vchkpw 4096 May 14 10:20 cur
-rw-------  1 vpopmail vchkpw  232 May 17 08:07 dovecot.index.log
-rw-------  1 vpopmail vchkpw   17 May 14 10:33 dovecot-uidlist
-rw-------  1 vpopmail vchkpw    0 May 14 10:20 maildirfolder
drwx------  2 vpopmail vchkpw 4096 May 14 10:20 new
drwx------  2 vpopmail vchkpw 4096 May 14 10:20 tmp


Here's the file that calls dovecot-lda for user jim:

vpopmail&amp;lt; at &amp;gt;hostname:~/domains/domain.com/jim$ cat .qmail-default
|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d 
$EXT&amp;lt; at &amp;gt;$USER

Both /var/qmail/bin/preline and /usr/local/libexec/dovecot/dovecot-lda 
exist.

Any idea why my sieve doesn't seem to take effect?

Thanks for reading.




&lt;/pre&gt;</description>
    <dc:creator>Jim McNamara</dc:creator>
    <dc:date>2013-05-18T14:56:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71930">
    <title>How to configure ssl cert chain in dovecot 10-ssl.conffile</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71930</link>
    <description>&lt;pre&gt;Hi there,

Does anyone know how to do this:

"Put all the certificates in the ssl_cert file. For example when using a certificate signed by TDC the correct order is:

    Dovecot's public certificate
    TDC SSL Server CA
    TDC Internet Root CA
    Globalsign Partners CA "

I try to set these parameters in the conf.d/10-ssl.conf as below, but it seems doesn't work.

---
ssl_cert = &amp;lt;/etc/pki/dovecot/certs/mail.mymailserver.com.crt
ssl_cert = &amp;lt;/etc/ssl/certs/dovecot/sub.class1.server.ca.pem
ssl_cert = &amp;lt;/etc/ssl/certs/dovecot/ca.pem
----

I even cat mail.mymailserver.com.crt sub.class1.server.ca.pem certs/dovecot/ca.pem into one singe file, and define ssl_cert = &amp;lt; /path/to/the/singcertfile.pem, but it doesn't work too.

In my apache httpd server httpd.conf file  I can define:
--
SSLCertificateChainFile /etc/pki/dovecot/certs/sub.class1.server.ca.pem
SSLCACertificateFile /etc/pki/dovecot/certs/ca.pem
--
And it well work fine.

Thinks for any suggest.
Bu Xiaobing


&lt;/pre&gt;</description>
    <dc:creator>Bu Xiaobing</dc:creator>
    <dc:date>2013-05-18T09:06:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71926">
    <title>Pigeonhole: extprograms - pipe</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71926</link>
    <description>&lt;pre&gt;Hello!

I've tried to use extprograms pipe feature but stuck with "Broken pipe"
errors in mail log:

May 17 15:18:57 backend1 dovecot: lmtp(20338, user&amp;lt; at &amp;gt;domain.tld): Debug:
3VMVFWFKllFyTwAArRg8UA: sieve: action pipe: running program: learn
May 17 15:18:57 backend1 dovecot: script: Error: write(response) failed:
Broken pipe
May 17 15:18:57 backend1 dovecot: lmtp(20338, user&amp;lt; at &amp;gt;domain.tld):
3VMVFWFKllFyTwAArRg8UA: sieve: execution of script
/data/mail/storage/domain/user&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve;name=main script
failed, but implicit keep was successful (user logfile
/data/mail/storage/domain/buser&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve.log should reveal
additional details)

/data/mail/storage/domain/buser&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve.log:
error: msgid=&amp;lt;c7cd36f19be8164addf091a646b8b284&amp;lt; at &amp;gt;domain.tld&amp;gt;: pipe action:
failed to pipe message to program `learn': refer to server log for more
information. [2013-05-17 15:18:57] ham user&amp;lt; at &amp;gt;domain.tld 50796.


Sieve script contents:
require ["fileinto","copy","mailbox","vnd.dovecot.pipe"];

if anyof (header :is "Subject" "ham")
{
pipe :try "learn" ["ham"];
        fileinto "INBOX/ham";
        stop;
}

Sieve plugin config uncommented conents:
sieve_plugins = sieve_extprograms
*sieve_pipe_socket_dir = sieve-pipe*

  # Define the executed script as parameter to the sieve service
  executable = script /etc/dovecot/scripts/spam.sh

  # Use some unprivileged user for executing the program
  user = nobody

  # The unix socket located in the sieve_pipe_socket_dir (as defined in the
  # plugin {} section above)
  unix_listener sieve-pipe/learn {
    # LDA/LMTP must have access
     user = nobody
     mode = 0777
  }
}


spam.sh is message processing script which interacts with spamassassin.
I've tested pipe with spam.sh that redirects stdin to /dev/null and returns
0 but errors were logged anyway.
Note that spam.sh runs, getting the message from sieve and processing it to
spamassassin without a problem, but "broken pipe" is being logged.
&lt;/pre&gt;</description>
    <dc:creator>Anes Mukhametov</dc:creator>
    <dc:date>2013-05-17T15:41:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71925">
    <title>(no subject)</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71925</link>
    <description>&lt;pre&gt;Hello!

I've tried to use extprograms pipe feature but stuck with "Broken pipe"
errors in mail log:

May 17 15:18:57 backend1 dovecot: lmtp(20338, user&amp;lt; at &amp;gt;domain.tld): Debug:
3VMVFWFKllFyTwAArRg8UA: sieve: action pipe: running program: learn
May 17 15:18:57 backend1 dovecot: script: Error: write(response) failed:
Broken pipe
May 17 15:18:57 backend1 dovecot: lmtp(20338, user&amp;lt; at &amp;gt;domain.tld):
3VMVFWFKllFyTwAArRg8UA: sieve: execution of script
/data/mail/storage/domain/user&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve;name=main script
failed, but implicit keep was successful (user logfile
/data/mail/storage/domain/buser&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve.log should reveal
additional details)

/data/mail/storage/domain/buser&amp;lt; at &amp;gt;domain.tld/.dovecot.sieve.log:
error: msgid=&amp;lt;c7cd36f19be8164addf091a646b8b284&amp;lt; at &amp;gt;domain.tld&amp;gt;: pipe action:
failed to pipe message to program `learn': refer to server log for more
information. [2013-05-17 15:18:57] ham user&amp;lt; at &amp;gt;domain.tld 50796.


Sieve script contents:
require ["fileinto","copy","mailbox","vnd.dovecot.pipe"];

if anyof (header :is "Subject" "ham")
{
pipe :try "learn" ["ham"];
        fileinto "INBOX/ham";
        stop;
}

Sieve plugin config uncommented conents:
sieve_plugins = sieve_extprograms
*sieve_pipe_socket_dir = sieve-pipe*

  # Define the executed script as parameter to the sieve service
  executable = script /etc/dovecot/scripts/spam.sh

  # Use some unprivileged user for executing the program
  user = nobody

  # The unix socket located in the sieve_pipe_socket_dir (as defined in the
  # plugin {} section above)
  unix_listener sieve-pipe/learn {
    # LDA/LMTP must have access
     user = nobody
     mode = 0777
  }
}


spam.sh is message processing script which interacts with spamassassin.
I've tested pipe with spam.sh that redirects stdin to /dev/null and returns
0 but errors were logged anyway.
Note that spam.sh runs, getting the message from sieve and processing it to
spamassassin without a problem, but "broken pipe" is being logged.
&lt;/pre&gt;</description>
    <dc:creator>Anes Mukhametov</dc:creator>
    <dc:date>2013-05-17T15:40:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71923">
    <title>doveadm altmove to gzipped-mdbox</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71923</link>
    <description>&lt;pre&gt;Hi,

im wondering if it's possible to store old messages in a compressed 
mdbox on alternate storage.
The main storage is uncompressed mdbox.

I tried something like: doveadm -Dv -o "plugin/zlib_save=gz" altmove -u 
testuser sentbefore 8d

Could someone tell me if it's possible and give me a hint how this can 
be done?

I tried this with dovecot-2.2

Claus

&lt;/pre&gt;</description>
    <dc:creator>Claus</dc:creator>
    <dc:date>2013-05-17T13:59:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71916">
    <title>ACLs - creating new top level folders</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71916</link>
    <description>&lt;pre&gt;Hi,

I'm wondering, whether it's possible, to define an ACL on the mailbox 
itself. We use Dovecot 1.2.15 (included in Debian 6) and maildir 
filesystem layout:

/home/mail01/user1/Maildir/new           \
/home/mail01/user1/Maildir/cur            Inbox
/home/mail01/user1/Maildir/tmp           /
/home/mail01/user1/Maildir/.folder1/new  \
/home/mail01/user1/Maildir/.folder1/cur   folder1
/home/mail01/user1/Maildir/.folder1/tmp  /
...

Assigning an ACL with full access rights for user2 to the folder Inbox 
works as expected. user2 can create subfolders of Inbox, too. But he 
can't create a new folder like folder1 parallel to Inbox. Is there a 
possibility of defining an ACL on the mailbox of user1 itself? Or do we 
need to create all subfolders beneath Inbox like this is usual with 
other IMAP servers?

Ingo

---
/usr/sbin/dovecot -c /etc/dovecot/dovecot-test.conf -n

# 1.2.15: /etc/dovecot/dovecot-test.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.7
base_dir: /var/run/dovecot-test/
log_path(default): /var/log/dovecot-test/error.log
log_path(imap): /var/log/dovecot-test/error.log
log_path(pop3): /var/log/dovecot-test/error.log
log_path(managesieve): /var/log/dovecot-test/managesieve.log
info_log_path(default): /var/log/dovecot-test/info.log
info_log_path(imap): /var/log/dovecot-test/info.log
info_log_path(pop3): /var/log/dovecot-test/info.log
info_log_path(managesieve): /var/log/dovecot-test/managesieve.log
protocols: imap imaps pop3 pop3s managesieve
listen(default): *:10143
listen(imap): *:10143
listen(pop3): *:10110
listen(managesieve): *:12000
ssl_listen(default): *:10943
ssl_listen(imap): *:10943
ssl_listen(pop3): *:10995
ssl_listen(managesieve):
ssl_cert_file: /etc/ssl/certs/imap-cert.pem
ssl_key_file: /etc/ssl/private/imap-key.pem
shutdown_clients: no
login_dir: /var/run/dovecot-test//login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
login_max_processes_count: 4096
max_mail_processes: 4096
verbose_proctitle: yes
mail_location: 
maildir:~/Maildir:INDEX=/srv/dovecot/index/%u:CONTROL=/srv/dovecot/control/%u
maildir_copy_preserve_filename: yes
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_process_size: 1024
mail_plugins(default): fts fts_squat acl imap_acl
mail_plugins(imap): fts fts_squat acl imap_acl
mail_plugins(pop3):
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
pop3_lock_session(default): no
pop3_lock_session(imap): no
pop3_lock_session(pop3): yes
pop3_lock_session(managesieve): no
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %08Xv%08Xu
pop3_uidl_format(managesieve): %08Xu%08Xv
namespace:
   type: private
   separator: /
   inbox: yes
   list: yes
   subscriptions: yes
namespace:
   type: shared
   separator: /
   prefix: Other Users/%%u/
   location: 
maildir:%%h/Maildir:INDEX=/srv/dovecot/index/%%u:CONTROL=/srv/dovecot/control/%%u
   list: children
lda:
   postmaster_address: postmaster&amp;lt; at &amp;gt;...
   mail_plugins: sieve acl
   quota_full_tempfail: yes
   auth_socket_path: /var/run/dovecot-test/auth-master
   log_path: /var/log/dovecot-test/deliver.log
   info_log_path: /var/log/dovecot-test/deliver.log
auth default:
   cache_size: 1024
   cache_negative_ttl: 0
   username_chars: 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_&amp;lt; at &amp;gt;~
   master_user_separator: *
   debug: yes
   passdb:
     driver: passwd-file
     args: /etc/dovecot/dovecot-passwd.masterusers
     pass: yes
     master: yes
   passdb:
     driver: passwd-file
     args: /etc/dovecot/dovecot-passwd
   passdb:
     driver: pam
   userdb:
     driver: passwd-file
     args: /etc/dovecot/dovecot-passwd
   socket:
     type: listen
     client:
       path: /var/run/dovecot-test/auth-client
       mode: 384
       user: vmail
     master:
       path: /var/run/dovecot-test/auth-master
       mode: 384
       user: vmail
plugin:
   acl: vfile
   acl_shared_dict: file:/srv/dovecot/lib/shared-mailboxes
   sieve: ~/.dovecot.sieve
   sieve_dir: ~/.pysieved
   fts: squat
   fts_squat: partial=4 full=10

&lt;/pre&gt;</description>
    <dc:creator>Ingo Rogalsky</dc:creator>
    <dc:date>2013-05-17T00:46:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71911">
    <title>Ubuntu-12.04-LTS repos with Dovecot-2.2 and Pigeonhole</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71911</link>
    <description>&lt;pre&gt;Hi,
 
 I would like to take advantage of new features in Dovecot 2.2 on my servers. But I'm having difficulties to build packages for Ubuntu-12.04-LTS.
 
 Does anyone know a repository that has new stable versions for Dovecot and Pigeonhole ?
 
 Thanks ! 
 --&amp;amp;nbsp;
Thiago Henrique 
 adminlinux.com.br






&lt;/pre&gt;</description>
    <dc:creator>listas&lt; at &gt;adminlinux.com.br</dc:creator>
    <dc:date>2013-05-16T17:30:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71910">
    <title>[PATCH] example-config: fix to also distribute auth-dict.conf.ext in</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71910</link>
    <description>&lt;pre&gt;Hi,

When trying to patch the dovecot 2.2.1 release with latest upstream
patches I generated out of the repository, the patch fails to apply,
because 'doc/example-config/conf.d/auth-dict.conf.ext' is not
distributed within the release tarball.

Attached patch should fix the issue.

Cheers,
Chris
&lt;/pre&gt;</description>
    <dc:creator>Christian Wiese</dc:creator>
    <dc:date>2013-05-16T15:14:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71904">
    <title>quota with imapc</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71904</link>
    <description>&lt;pre&gt;
Dear dovecot team,

I have set up my mail system with a mail gateway connecting to mail server
using imapc.
Now I need my web mail client to show up the quota info.
I enabled quota plugins in dovecot.conf.
The problem is since all mails reside in the server, the web mail which is
in mail gateway always shows the quota as 0.
Is there any way the plugin will get quota info from the mail server?

I am attaching my conf 

## Dovecot configuration file in

mail_uid = imapproxy
mail_gid = imapproxy
mail_home = /home/imapproxy/%u
mail_location = imapc:~/imapc

protocols = imap


##
## imapc settings
##

imapc_host = mailserver.example.com
imapc_port = 143
imapc_ssl = starttls
imapc_ssl_ca_dir = /etc/postfix/certs

##
## auth settings
##

auth_mechanisms = plain login

passdb {
  driver = imap
  args = host=mailserver.example.com ssl=starttls
ssl_ca_dir=/etc/postfix/certs
  default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
ssl=starttls
}
userdb {
  driver = prefetch
}


mail_plugins = $mail_plugins quota
plugin {

quota = maildir:User quota
quota_rule = *:storage=200M 

}
protocol imap {
  # Space separated list of plugins to load (default is global
mail_plugins).
  mail_plugins = $mail_plugins imap_quota
}

##
## SSL settings
##

ssl = required
disable_plaintext_auth = yes
#verbose_ssl = yes
ssl_cert = &amp;lt;/etc/postfix/certs/public_cert.pem
ssl_key = &amp;lt;/etc/postfix/certs/private_key.pem
ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
   

Greetings.





--
View this message in context: http://dovecot.2317879.n4.nabble.com/quota-with-imapc-tp42280.html
Sent from the Dovecot mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>pvsuja</dc:creator>
    <dc:date>2013-05-16T10:31:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71903">
    <title>question about /var/spool/mail/xxx</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71903</link>
    <description>&lt;pre&gt;this is Redhat 6.3
I installed sendmail and dovecot.
but sendmail can continue send mail as MTA
all mails go to /var/spool/mail

this is problem for dovecot. dovecot cannot get it goto dovecot inbox.

if setup mailbox poing to /var/spool/mail/%u, it is workable
but if set up maildir to somewhere else ,I cannot receive mail by dovecot.
&lt;/pre&gt;</description>
    <dc:creator>Richard Feng&lt; at &gt;eBay</dc:creator>
    <dc:date>2013-05-16T07:51:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71882">
    <title>Fatal: Can't finish POP3 UIDL command</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71882</link>
    <description>&lt;pre&gt;
I have been setting up a new mail server and copied our client's old mail to
it. The old server has Courier (under Plesk), we're using Dovecot on the new
server.

Most accounts seem to work fine (under IMAP or POP3), but for a few we're
getting the following in the /var/log/mail.err.


Error: Message ordering changed unexpectedly (msg #1: storage seq 140 -&amp;gt; 1)
Fatal: Can't finish POP3 UIDL command


And the affected accounts can't get at their email. Things work ok if people
switch to IMAP but for some of our clients that is a difficulty, so we
really need POP3 working.

I used the Perl script given here to convert the mailboxes.

The only fix we've found is the rename/delete the Dovecot-uidlist file for
the affected mailboxes and we've done that, as it was only a few. The issue
now is that more mailboxes are coming with the same error, even though they
were fine originally.



--
View this message in context: http://dovecot.2317879.n4.nabble.com/Fatal-Can-t-finish-POP3-UIDL-command-tp42258.html
Sent from the Dovecot mailing list archive at Nabble.com.

&lt;/pre&gt;</description>
    <dc:creator>stevenfah</dc:creator>
    <dc:date>2013-05-15T15:03:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71846">
    <title>dovecot 2.0 -&gt; 2.1 sieve problem</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71846</link>
    <description>&lt;pre&gt;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.)

Thank you,
Trever
&lt;/pre&gt;</description>
    <dc:creator>Trever L. Adams</dc:creator>
    <dc:date>2013-05-14T18:54:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71844">
    <title>Sieve was installed but doesn't work or log</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71844</link>
    <description>&lt;pre&gt;Hello everyone.

I have dovecot version 1.2.8 installed from source. This morning I 
installed the sieve plugin to sort emails, and though the install 
reported no errors, the plugin doesn't seem to function, and no mention 
of it is made in the logs when I turn on verbose logging.

dovecot --version
1.2.8

dovecot -n

# 1.2.8: /usr/local/etc/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.0
base_dir: /usr/local/var/run/dovecot/
log_path: /dev/stderr
info_log_path: /dev/stderr
log_timestamp:
protocols: imap imaps pop3s
listen(default): 127.0.0.1:143
listen(imap): 127.0.0.1:143
listen(pop3): *
ssl_listen(default): 192.168.1.1:993
ssl_listen(imap): 192.168.1.1:993
ssl_listen(pop3): 192.168.1.1:995
ssl_cert_file: /var/qmail/control/servercert.pem
ssl_key_file: /var/qmail/control/servercert.pem
ssl_cipher_list: ALL:!LOW
verbose_ssl: yes
login_dir: /usr/local/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
verbose_proctitle: yes
first_valid_uid: 89
last_valid_uid: 89
mail_location: maildir:~/Maildir
mail_debug: yes
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
mail_plugins(imap): quota imap_quota
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
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %v-%u
namespace:
   type: private
   separator: .
   prefix: INBOX.
   inbox: yes
   list: yes
   subscriptions: yes
lda:
   postmaster_address: postmaster&amp;lt; at &amp;gt;mail.domain.com
   hostname: mail.domain.com
   mail_plugins: sieve
   mail_plugin_dir: /usr/local/lib/dovecot/lda
   deliver_log_format: msgid=%m: %$
   sieve: /home/vpopmail/domains/%d/%n/sieve
   sieve_global_path: /usr/local/etc/default.sieve
   log_path: /var/log/qmail/sieve/dovecot.log
   info_log_path: /var/log/qmail/sieve/dovecot.log
auth default:
   user: vpopmail
   passdb:
     driver: vpopmail
   userdb:
     driver: vpopmail
plugin:
   quota: maildir

Here is the config.log from sieve

root&amp;lt; at &amp;gt;myplace:/usr/local# head dovecot-1.2-sieve-0.1.19/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Dovecot Sieve configure 0.1.19, which was
generated by GNU Autoconf 2.67.  Invocation command line was

   $ ./configure --with-dovecot=../dovecot-1.2.8/

That compiled cleanly, then make and make install also proceeded without 
error.

With verbose logging enabled, the only times "sieve" appeared in the 
logs was when I tried to load it as a plugin for imap -

grep sieve /var/log/qmail/qmail-dovecot/current |tai64nlocal
2013-05-14 09:20:05.091635500 FPlugin sieve not found from directory 
/usr/local/lib/dovecot/imap
2013-05-14 09:20:06.120848500 FPlugin sieve not found from directory 
/usr/local/lib/dovecot/imap
2013-05-14 09:20:07.142465500 FPlugin sieve not found from directory 
/usr/local/lib/dovecot/imap
2013-05-14 09:20:08.164247500 FPlugin sieve not found from directory 
/usr/local/lib/dovecot/imap

Once I removed it from being loaded as an imap plugin and used it only 
as an lda plugin, it hasn't appeared in the dovecot logs. It also isn't 
logging where I asked it to in the config file (log_path: 
/var/log/qmail/sieve/dovecot.log, or info_log_path: 
/var/log/qmail/sieve/dovecot.log), but that files was touched and all 
directories below /var/log/qmail/sieve have the correct permissions for 
dovecot to write there:

ls -al /var/log/qmail/sieve/
total 16
drwxr-xr-x 2 dovecot dovecot  4096 May 14 11:04 .
drwxr-xr-x 7 qmaill  root    12288 May 14 11:04 ..
-rw-r--r-- 1 dovecot dovecot     0 May 14 11:04 dovecot.log

Can anyone suggest an error they see or what I can do to get my errors 
with the sieve config logged somewhere?

Thanks for your help and insight.



&lt;/pre&gt;</description>
    <dc:creator>Jim McNamara</dc:creator>
    <dc:date>2013-05-14T16:49:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71843">
    <title>protocols and privileges</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71843</link>
    <description>&lt;pre&gt;hi,

1)
protocols = pop3
but when starting the service, output tells about imap. when mua fetches
mails ~/mail/.imap/INDEX is created.

2)
i have some users uid=500 .. 505. src in /var/mail/%u, owner is &amp;lt;user&amp;gt;.mail
and home-directories /home/&amp;lt;user&amp;gt; - owner is &amp;lt;user&amp;gt;.users

when dovecot tries to create directory /home/&amp;lt;user&amp;gt;/mail then it tells for
user xyz (uid = 502)

 euid=502(xyz)  egid=100(users) missing +w permission /home/xyz , euid is
not dir owner.

but /home/xyz is owned by xyz.users and mod = 0700     ( drwx------ )

same environment for uid = 501 works great !


thanks in advance
andreas


? permission lookup from /home/xyz/mail failed
do i have to create that mail directory manually ?
&lt;/pre&gt;</description>
    <dc:creator>andreas graeper</dc:creator>
    <dc:date>2013-05-14T13:41:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71839">
    <title>2.2.1 and quota-status</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71839</link>
    <description>&lt;pre&gt;Hi,

maybe this question already came up and I missed it in my mails, but if not… :

I have configured Quota for Dovecot since decades and now with the new policy service, I wanted to include this into Postfix. I have followed Ralf's Blog and there a two Problems:

I need to do this:

ls -la /var/run/dovecot/config
srw------- 1 root root 0 May 14 11:06 /var/run/dovecot/config

chown vmail  /var/run/dovecot/config

ls -la /var/run/dovecot/config
srw------- 1 vmail root 0 May 14 11:06 /var/run/dovecot/config

Where can I tell Dovecot to set user vmail here? If I do not do this, I get the following error in the logs:

May 14 10:54:50 mx0 dovecot: quota-status(c&amp;lt; at &amp;gt;roessner-network-solutions.com): Error: user c&amp;lt; at &amp;gt;roessner-network-solutions.com: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied

Also the following test does not succeed:

telnet localhost 12340
Trying ::1...
Connected to localhost.
Escape character is '^]'.
request=smtpd_access_policy
sender=foo&amp;lt; at &amp;gt;bar.tld
recipient=c&amp;lt; at &amp;gt;roessner-network-solutions.com
size=10000000000

action=

^]
telnet&amp;gt; quit
Connection closed.

Nothing in the logs. Just an empty answer.

Here is my config:

doveconf -n
# 2.2.1: /etc/dovecot/dovecot.conf
# OS: Linux 3.8.6-hardened x86_64 Gentoo Base System release 2.2 
auth_master_user_separator = *
auth_mechanisms = plain login cram-md5 digest-md5 ntlm
auth_verbose = yes
hostname = mail.roessner-net.de
lda_mailbox_autosubscribe = yes
mail_access_groups = vmail
mail_attachment_dir = /var/mail/virtual/copymail/attachments
mail_gid = vmail
mail_location = mdbox:~/mdbox
mail_plugins = quota acl fts fts_solr zlib
mail_privileged_group = mail
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
mdbox_rotate_size = 128 M
namespace {
  list = children
  location = mdbox:%%h/mdbox
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location = 
  mailbox "Deleted Messages" {
    special_use = \Trash
  }
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk-E-Mail {
    special_use = \Junk
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  mailbox junkmail {
    auto = subscribe
    special_use = \Junk
  }
  prefix = 
  separator = /
  type = private
}
passdb {
  args = /etc/dovecot/master-users
  driver = passwd-file
  master = yes
  pass = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/mail/virtual/shared-mailboxes.db
  fts = solr
  fts_solr = break-imap-search url=http://localhost:8080/solr/
  quota = dict:User quota::file:%h/mdbox/dovecot-quota
  quota_rule = *:storage=300M:messages=20000
  quota_status_nouser = DUNNO
  quota_status_overquota = 552 5.2.2 Mailbox is full
  quota_status_success = DUNNO
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save = gz
  zlib_save_level = 6
}
protocols = imap pop3 lmtp sieve
service auth-worker {
  extra_groups = ssl-cert
  unix_listener auth-worker {
    mode = 0600
    user = vmail
  }
  user = vmail
}
service auth {
  extra_groups = ssl-cert
  unix_listener auth-userdb {
    mode = 0600
    user = vmail
  }
  user = vmail
}
service dict {
  unix_listener dict {
    mode = 0600
    user = vmail
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/lmtp-dovecot {
    group = postfix
    mode = 0666
    user = postfix
  }
}
service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  inet_listener {
    port = 12340
  }
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = dovecot
}
ssl_ca = &amp;lt;/etc/ssl/certs/SSL123_CA_Bundle.pem
ssl_cert = &amp;lt;/etc/ssl/certs/mail.roessner-net.de.pem
ssl_key = &amp;lt;/etc/ssl/private/mail.roessner-net.de.key.pem
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = quota acl fts fts_solr zlib sieve
}
protocol lda {
  mail_plugins = quota acl fts fts_solr zlib sieve
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
  mail_max_userip_connections = 50
  mail_plugins = quota acl fts fts_solr zlib imap_quota imap_acl imap_zlib
}

Thanks for helping me… 

Kind regards

-Christian Rößner

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


&lt;/pre&gt;</description>
    <dc:creator>Christian Rößner</dc:creator>
    <dc:date>2013-05-14T09:20:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.mail.imap.dovecot/71829">
    <title>Autocreation the home folder</title>
    <link>http://comments.gmane.org/gmane.mail.imap.dovecot/71829</link>
    <description>&lt;pre&gt;Sorry if this has been already asked, but I haven't been able to find a
solution, I am trying to migrate a dovecot 1.2 config to 2.1, the 'dovecot
-n &amp;gt; dovecot.conf' migrated all the setup without issues, and the mail is
working as expected.

The only issue I've had is with the change with the mail_location,
mail_home, that in the 2.1 versions can't be on the same path.

After reading in the wiki the various config options (
http://wiki2.dovecot.org/VirtualUsers/Home) I opted to use the 3rd:

  Home directory under mail, for example:
    Maildir: home=/var/vmail/domain/user/home/ mail=/var/vmail/domain/user/
    mbox: There's really no good and safe way to do it.


So I changed from:
  mail_location = maildir:/home/vmail/%d/%n
  mail_home = /var/vmail/%d/%n
To:
  mail_location = maildir:/home/vmail/%d/%n
  mail_home = /var/vmail/%d/%n/home

The problem is that those home directories are not created (the mailboxes
already existed) automatically, and I am getting these errors:

==========================================================
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Home dir
not found: /var/vmail/example.com/username/home
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
root: name=User quota backend=maildir args=
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
rule: root=User quota mailbox=* bytes=20480000000 messages=0
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
rule: root=User quota mailbox=Trash ignored
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
warning: bytes=15360000000 (75%) messages=0 reverse=no
command=/etc/dovecot/quota-warning.sh 75
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
warning: bytes=17408000000 (85%) messages=0 reverse=no
command=/etc/dovecot/quota-warning.sh 85
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug:
maildir++: root=/home/vmail/example.com/username, index=, control=,
inbox=/home/vmail/example.com/username, alt=
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
root: name=User quota backend=maildir args=
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
rule: root=User quota mailbox=* bytes=1073741824 messages=0
May 10 17:08:59 server dovecot: lda(username&amp;lt; at &amp;gt;example.com): Debug: Quota
warning: bytes=805306368 (75%) messages=0 reverse=no
command=/etc/dovecot/quota-warning.sh 75
========================================================

Am I supposed to create the folders via an external script? Or is there any
option to make this automatic.

Regards,

Joan
&lt;/pre&gt;</description>
    <dc:creator>Joan</dc:creator>
    <dc:date>2013-05-13T06:42:50</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.mail.imap.dovecot">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.mail.imap.dovecot</link>
  </textinput>
</rdf:RDF>
