-user special folder?
> Message-ID: <56ba6951.8010...@gmx.de>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> Hello,
>
> Am 09.02.2016 um 22:28 schrieb Richard Platel:
>> Hi
>>
>> It's possible to mark some folders as special use for IMAP
Hi
It's possible to mark some folders as special use for IMAP in the config like:
namespace inbox {
mailbox Spam {
special_use = \Junk
}
}
Our webmail allows users to use an arbitrary folder for Spam, and we have this
settings and we'd like to return it in from our UserDB (which is a
When a compressed maildir message has a bad S= size in its filename it puts the
user in an unrecoverable state, since maildir's do_fix_size function just does
a stat() on the maildir file and saves the compressed size in the filename.
This (quick, rough, barely tested) patch addresses this
I posted to the list about this a while ago but never got a response, I have a
bit more information now.
Dovecot 2.2.12 and other 2.2 versions are broken when using zlib and maildir.
If messages are re-indexed, the INTERNALDATE of all messages is set to the time
the re-index is done.
The
] Select completed (0.035 secs).
A FETCH 1:* FULL
* 1 FETCH (FLAGS () INTERNALDATE 20-Feb-2014 16:59:51 + RFC822.SIZE 2249
ENVELOPE (Thu, 20 Feb 2014 11:43:50 -0500 Test message ((Richard Platel
NIL rplatel tucows.com)) ((Richard Platel NIL rplatel tucows.com))
((Richard Platel NIL rplatel
Furthermore: it seems the behaviour is correct (mtime is used for internaldate)
if the message is not compressed.
On Feb 20, 2014, at 12:09 PM, Richard Platel rpla...@tucows.com wrote:
Hi.
It seems that dovecot is using the current time, not a maildir file's mtime
for INTERNALDATE when
Hello,
We’re using a custom program to manage quotas talking to dovecot via the
dovecot dict proxy protocol over a unix socket:
plugin {
quota = dict:User quota::proxy:/var/run/auth_proxy_dovecot/quotasocket:quota
}
Dovecot gets slammed with quota requests periodically, seemingly because
You only need to add the zlib plugin to mail_plugins once.
As far as I know, there's no indication in the logs that mail is being
compressed, and the filename isn't modified to indicate that it's compressed,
but, of course, the files are zlib data on disk.
One gotcha if you're using maildir
-backendctx,
- ctx-dest_mail,
+ mail,
move_to_class(asbox-movetype));
/*
On Nov 27, 2013, at 4:17 PM, Richard Platel rpla...@tucows.com wrote:
Hi
With dovecot 2.2.5, and dovecot-antispam built
Hi
With dovecot 2.2.5, and dovecot-antispam built from a recent HEAD pull, when
copying multiple messages to or from a Spam folder, the plugin sends multiple
copies of the first message to the backend. I've tried this with the pipe and
spool2dir backends.
For example with the spool2dir
;
+ }
+ /**/
+
fuser = p_new(user-pool, struct fts_solr_user, 1);
if (fts_solr_plugin_init_settings(user, fuser-set, env) 0) {
/* invalid settings, disabling */
On 2013-10-02, at 3:28 PM, Richard Platel rpla...@tucows.com wrote:
I've confirmed that this problem still exists
after indexing a user, and isn't idle-killed for
upwards of a minute.
Any help?
On 2013-09-27, at 11:46 AM, Richard Platel rpla...@tucows.com wrote:
Hello.
We're setting up fts solr and want to have the solr server host be set
per-user via UserDB.
It looks like if a user connects and fts
On 2013-09-22, at 12:35 AM, Timo Sirainen t...@iki.fi wrote:
On 19.9.2013, at 23.59, Richard Platel rpla...@tucows.com wrote:
Dovecot 2.2, with the zlib plugin, I think we're getting bad index entries
on IMAP COPY.
On copying a message to an empty folder, in the dovecot error log I see
Hello.
We're setting up fts solr and want to have the solr server host be set per-user
via UserDB.
It looks like if a user connects and fts indexes mail, and then another user
connects and indexes mail, indexer-worker is connecting to the first user's fts
host:
User1,
Hi.
Dovecot 2.2, with the zlib plugin, I think we're getting bad index entries on
IMAP COPY.
On copying a message to an empty folder, in the dovecot error log I see:
Sep 19 20:34:25 imap01 dovecot: imap(gr...@rp-auth-test.com): Error: Cached
message size smaller than expected (615 971)
Sep
(Dovecot 2.2-ee)
We have a weird quota requirement, we have file storage that we manage through
our own APIs but want that usage to come out of the user's mail quota.
The usage is in a maildirsize like file uncreatively called filestoresize in
the user's maildir.
In the past we've been
It'd be useful for us if the IMAP passdb could be used as a prefetch userdb.
The remote IMAP server could respond with something like
* OK key=value
* OK key=value
SEQ OK [CAPABILITY ...] Logged in.
Or
* OK some JSON key value pairs
SEQ OK [CAPABILITY ...] Logged in.
Would anyone else find
On 2.8.2013, at 18.20, Richard Platel rpla...@tucows.com wrote:
It'd be useful for us if the IMAP passdb could be used as a prefetch userdb.
The remote IMAP server could respond with something like
* OK key=value
* OK key=value
SEQ OK [CAPABILITY ...] Logged in.
Or
* OK some
On 2013-08-02, at 11:34 AM, Timo Sirainen t...@iki.fi wrote:
On 2.8.2013, at 18.15, Richard Platel rpla...@tucows.com wrote:
We pass custom quota rules for each user in our userdb, and use a custom
dict proxy program, so that program could read the file and pass a setting
at log in time
On 2013-08-02, at 12:05 PM, Timo Sirainen t...@iki.fi wrote:
On 2.8.2013, at 18.56, Richard Platel rpla...@tucows.com wrote:
On 2013-08-02, at 11:34 AM, Timo Sirainen t...@iki.fi wrote:
On 2.8.2013, at 18.15, Richard Platel rpla...@tucows.com wrote:
We pass custom quota rules for each
Is it possible to disable this check in 2.1.7? (without a patch and re-compile?)
maildir: [$maildir]\n;
fixmaildir($maildir, \*STDOUT);
}
if ($folder)
{
print Fixing folder: [$folder]\n;
fixfolder($folder, \*STDOUT);
}
}
1;
On 2013-01-22, at 7:01 AM, Timo Sirainen t...@iki.fi wrote:
On 21.1.2013, at 21.54, Richard Platel rpla...@tucows.com wrote
Hello.
As stated in my previous message, we have some old compressed maildir messages
with incorrect sizes in the filename. These messages cause dovecot 2.x
problems.
I'm trying to write a script to crawl all our messages, check the actual
message size and if necessary, fix the filename.
Hi
Running dovecot 2.1.7 (from debian repo).
We have some old compressed maildir messages with the wrong S= size in the
filename (our fault).
If I delete index files, log in to the mailbox and try to FETCH the bad
message, dovecot complains about the incorrect message size, attempts to fix
Hi,
We use Dovecot for IMAP and POP (but not LDA), we want to do something when a
user has an INBOX that becomes empty, or becomes not empty (set a flag in
memcached, but that's not really important).
I'm writing a plugin (for Dovecot 2.1.7). On mailbox_open() I can use
Hi,
I'm trying to upgrade from dovecot-1.1.x to 2.1.7.
We have our own custom auth server process (because we want to do our own
password validation and for other reasons) that listens on a UNIX domain socket
and speaks the dovecot auth protocol.
In dovecot 1.1 we could configure this
(ctx.parser);
- if (ret == 0) {
+ if (ret = 0) {
/* no addresses */
return NULL;
}
Richard Platel
[EMAIL PROTECTED]
On the wiki:
http://wiki.dovecot.org/Plugins/Zlib
I think there should be a step 5.0. along the lines of
get and remember the original message file's mtime
And a step 5.4 like
Using the touch command or some other method, set the now compressed
message's mtime back to the mtime of the
There was a bug in this patch, causing a seg fault with 0 or 1 byte
messages (which shouldn't really happen, but, hey). Patched patch
attached.
zlib-plugin.c.patch
Description: Binary data
On Apr 3, 2008, at 3:04 PM, Richard Platel wrote:
When using the zlib plugin with maildir
I changed how the zlib-plugin detects if a
message is compressed. This patch peeks at the first two bytes of
the message looking for the zlib header.
--
Richard Platel
Tucows
zlib-plugin.c.patch
Description: Binary data
Hi
FETCHing a largish (~30K) zlib compressed maildir message causes an
assertion failure on an attempt to grow the stream buffer to smaller
than its current size.
I believe the attached patch fixes this.
istream-zlib.c.patch
Description: Binary data
Hi
SELECTING a non-existent folder in 1.0.10 with maildir causes a seg
fault and client disconnect. I believe this patch fixes the problem.
zlib-plugin.c.patch
Description: application/applefile
zlib-plugin.c.patch
Description: Binary data
32 matches
Mail list logo