Re: [Dovecot] For the wishlist

2012-08-23 Thread Timo Sirainen
On 7.8.2012, at 15.43, Jost Krieger wrote: I would like very much to have a doveadm copy, which probably could be made out of doveadm move by removing ca. 2 lines (and changing a few strings from move to copy). OK: http://hg.dovecot.org/dovecot-2.1/rev/9d35aca14c81

Re: [Dovecot] Auth worker max line size

2012-08-23 Thread Timo Sirainen
On 16.8.2012, at 4.07, Emmanuel Dreyfus wrote: 38 month ago, I submitted a patch to increase AUTH_WORKER_MAX_LINE_LENGTH to use exotic authentication scheme (see message below). The patch was accepted, but now I upgrade to dovecot 2.1.7, I face the same problem with

Re: [Dovecot] No status for INBOX/* in mbox NS (2.1.6)

2012-08-23 Thread Timo Sirainen
On 17.8.2012, at 12.46, Jost Krieger wrote: Most of our users still have mboxes in the classical layout, so you can't have subfolders and messages in the same folder, *except for the INBOX*, as it is physically separate. Someone complained that he saw subfolders in roundcube he couldn't

Re: [Dovecot] Problem use localized prefix in namespace

2012-08-23 Thread Timo Sirainen
On 17.8.2012, at 21.37, (Dovecot) Sergey Sidlyarenko wrote: Problem with localized prefix in namespace. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/ade94fde249e

Re: [Dovecot] Panic: file mail-storage.c: line 791 (mailbox_check_mismatching_separators)

2012-08-23 Thread Timo Sirainen
The assert crash I think is fixed already in v2.1.9. The folder structure can be changed with mail_shared_explicit_inbox=no On 16.8.2012, at 14.30, Claus Rosenberger wrote: Could i send some more informations about this topic? I'm not sure whats happening here but i think it has something to

Re: [Dovecot] problem with virtual plugin/index files?

2012-08-23 Thread Timo Sirainen
On 18.8.2012, at 0.12, Lutz Preßler wrote: inthread refs younger 604800 This works as expected for the first time. But later on, also older messages/ threads are included until I delete the virtual/.week/dovecot.index*. I know there are problems related to this with INTHREAD, but they

Re: [Dovecot] dsync replication available for testing

2012-08-23 Thread Timo Sirainen
On 19.8.2012, at 12.51, Michael Grimm wrote: 1) I see a lot of error messages whenever replicator is in action like (although everything is being synced correctly): | mail.err mail dovecot: dsync-local(test): Error: remote: dsync-remote(test): Info: save: box=INBOX, uid=27,

Re: [Dovecot] userdb multiple databases

2012-08-23 Thread Timo Sirainen
On 20.8.2012, at 11.33, Angel L. Mateo wrote: I'm trying to configure per user plugins. My original passdb and userdb is in a ldap directory (using userdb with prefetch). To configure per user plugins (in fact, I want to enable quota plugin for some users) I need to configure

Re: [Dovecot] enabling per user quota plugin and problems with pop3

2012-08-23 Thread Timo Sirainen
On 20.8.2012, at 14.47, Angel L. Mateo wrote: The origin of the problem why lmtp didn't use user's mail_plugin is that I had it configured it in the pass_attrs option (and read with prefetch) and not in user_attrs, so lmtp didn't get it. But now the problem is that I can't

Re: [Dovecot] Is it possible to save only some messages compressed to mdbox? (2.1.6)

2012-08-23 Thread Timo Sirainen
On 20.8.2012, at 16.06, Jost Krieger wrote: So here's the questions: 1. Is it possible to have compressed/uncompressed mails mixed in an mdbox? Yes. Compression is detected on a per-mail basis. 2. Will it work via -o in lda delivery? I tried to find out in the source but found it

Re: [Dovecot] Error: Couldn't open INBOX: Timeout while waiting for lock

2012-08-23 Thread Timo Sirainen
On 21.8.2012, at 8.42, Kavish Karkera wrote: My users are frequetly getting the below error, Aug 21 00:04:18 blade6 dovecot: pop3-login: proxy(hgl_dipak): Login failed to 192.168.1.43:110: [IN-USE] Couldn't open INBOX: Timeout while waiting for lock. We are proxing pop connections from

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Timo Sirainen
On 24.8.2012, at 15.02, Sven Hartge wrote: Ignoring the content (or increasing the quota) of the Trash folder is easy and no problem, but ignoring deleted messages seems impossible without changes to the code. .. So I propose an additional flag for the quota_rule config option to be able to

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-24 Thread Timo Sirainen
On 24.8.2012, at 16.13, Sven Hartge wrote: quota_rule = *:storage=1G:ignoredeleted quota_rule2 = Trash:storage=+100M This can't be implemented race-condition-free without huge changes to code. Damn, too bad. I know for sure either my users or my 1st level support team are going to

Re: [Dovecot] quota: ignore deleted messages (?)

2012-08-25 Thread Timo Sirainen
On 25.8.2012, at 1.49, Sven Hartge wrote: How about just disabling the quota enforcing and doing a nightly run of some type of enforcing (sending notification email and/or disabling new mail delivery until user has more quota again)? As a last resort, yes. If possible, I'd like to keep the

Re: [Dovecot] Imap Ghost folder

2012-08-25 Thread Timo Sirainen
On 25.8.2012, at 14.11, Sascha Zucca wrote: Hi List, i found out the following: The problem with the ghostfolder occurs only if i use prefix = shares/%%n/ When using prefix = shares/%%u/ everytung's ok! What Dovecot version?

Re: [Dovecot] Imap Ghost folder

2012-08-25 Thread Timo Sirainen
i presume. Thank you for your help. Sascha Am 25.08.2012 13:53, schrieb Timo Sirainen: On 25.8.2012, at 14.11, Sascha Zucca wrote: Hi List, i found out the following: The problem with the ghostfolder occurs only if i use prefix = shares/%%n/ When using prefix = shares/%%u

Re: [Dovecot] UIDPLUS for Maildir?

2012-08-25 Thread Timo Sirainen
On 25.8.2012, at 21.31, Martin Rabl wrote: I found the following comment in the documentation (http://wiki.dovecot.org/FeatUIDPLUS), last edited on 2009-03-15 Dovecot already supported UIDPLUS at one point for mbox, but implementing it for Maildir has to be done differently (UIDs are

Re: [Dovecot] Recipe for admin-less restore

2012-08-27 Thread Timo Sirainen
On 26.8.2012, at 19.47, Ralf Hildebrandt wrote: Is there a way for setting up dovecot in such a way that a user can jump back in time to an old mailbox state in order to retrieve his accidentially deleted mail? http://wiki2.dovecot.org/Plugins/Lazyexpunge is one possibility

Re: [Dovecot] Java driver for doveadm

2012-08-27 Thread Timo Sirainen
On 26.8.2012, at 18.21, Thufir wrote: I've looked at http://wiki2.dovecot.org/Tools/Doveadm/Mailbox and there a few features I like which javax.mail just doesn't have. Is there maybe a Java driver for doveadm? You can access doveadm via TCP socket. Would that be enough?

Re: [Dovecot] Size of Mailbox affecting the sending of mail?

2012-08-27 Thread Timo Sirainen
On 24.8.2012, at 13.53, Tim Smith wrote: Having set up my mail server (Dovecot/Postfix), users are experiencing long delays (a couple of minutes) when sending mail from mail client such as Thunderbird - this increases with attachments. Having had a brief discussion with someone, they

Re: [Dovecot] plugin development: retrieve username -d -f inside plugins

2012-08-27 Thread Timo Sirainen
On 27.8.2012, at 12.11, Alano Conraz wrote: I'm trying some dovecot plugin development. I did a little plugin that suit my needs but i'd like to go further now... I would like to know if there is a kind of getenv function that I could call to retrieve in my plugin the username of the mailbox

Re: [Dovecot] plugin development: retrieve username -d -f inside plugins

2012-08-27 Thread Timo Sirainen
On 27.8.2012, at 16.47, Alano Conraz wrote: struct mail_user-username has it. How you get to struct mail_user depends on where you want to access it from. Note that each process is capable of handling multiple different users (although it's not commonly done). i'm not sure to understand

Re: [Dovecot] Java driver for doveadm

2012-08-27 Thread Timo Sirainen
On 27.8.2012, at 16.33, Alessio Cecchi wrote: How can I configure doveadm to listen via socket? I'm developing an interface, in Ruby, to manage a mail server and could be useful. http://wiki2.dovecot.org/Director#Doveadm_server has an example. Now, what the protocol itself looks like isn't

Re: [Dovecot] Sieve/pigeonhole rejects email addresses for valid UNIX users

2012-08-28 Thread Timo Sirainen
On 22.8.2012, at 9.56, David Anderson wrote: Aug 22 07:50:56 levi dovecot: lda(da...@example.com): Error: sieve: envelope sender address 'testus...@myhost.example.com' is unparsable Also is this really rejecting the mail?.. When I looked at it I thought it would simply replace the sender

Re: [Dovecot] Deleting metadata smashes file dovecot.dict

2012-08-28 Thread Timo Sirainen
On 28.8.2012, at 17.42, Ewald Dieterich wrote: On 08/08/12 14:23, Andre Gröbe wrote: I am using dovecot (see dovecot -n output below) with metadata plugin in my own plugin. I want to insert and delete some large metadata (4KiB). It seems, that the delete in a second call of my plugin smashes

Re: [Dovecot] Merge multiple doveadm commands

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 13.01, Ralf Hildebrandt wrote: Can I merge these three commands into one? doveadm expunge -u %s mailbox \INBOX.Deleted Messages\ NOT NEW doveadm expunge -u %s mailbox INBOX.Trash NOT NEW doveadm expunge -u %s mailbox INBOX deleted doveadm expunge -u %s \( mailbox

Re: [Dovecot] Variables in LDAP userdb

2012-08-31 Thread Timo Sirainen
On 21.8.2012, at 11.44, Alex Crow wrote: To clarify, what happens in these case with regard to the default mail_location set in the config files (ie is it used or overridden): 1. The LDAP attribute referenced in the userdb lookup exists but is empty The value will be overridden as empty,

Re: [Dovecot] segfault in mail_user_get_home()

2012-08-31 Thread Timo Sirainen
I couldn't reproduce it with your config, but I figured out the cause of it anyway. Fixed: http://hg.dovecot.org/dovecot-2.1/rev/6b9db780b47d On 21.8.2012, at 15.45, Lazy wrote: it was shared namespace with empty location that produced the error so : namespace test { list = children

Re: [Dovecot] exclude a folder for lazy expunge (move to trash)

2012-08-31 Thread Timo Sirainen
On 22.8.2012, at 11.01, Angel L. Mateo wrote: I'm configuring lazy expunge plugin to act as a kind of backup of my user's emails. I'm getting a little problem because a lot of my users use move to trash behaviour in their email client (most of them are using thunderbird

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 11.16, Sascha Zucca wrote: Hi! Still noone? strange...this must be some easy thing to solve if you're familiar with dovecot, i thought. No. I can't reproduce it. What does your LIST * reply look like now with v2.1?

Re: [Dovecot] Dovecot generate file when over quota detected

2012-08-31 Thread Timo Sirainen
On 23.8.2012, at 9.48, Dominic Malolepszy wrote: I am curious if Dovecot can add an empty file into a Maildir folder as soon as a mailbox has exceeded 100% capacity, and later when it detects the quota has fallen below 100% unlink the file. The idea is the Dovecot LDA would deliver the

Re: [Dovecot] Vpopmail Dynamic Authentication Module

2012-08-31 Thread Timo Sirainen
On 24.8.2012, at 16.42, Eric Sisolak wrote: I had to modify the command to build the module, but was able to successfully build it: gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL -I../.. -I../lib -I/home/vpopmail/include -I/home/vpopmail/lib userdb-vpopmail.c

Re: [Dovecot] Length of attachment filenames

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 15.27, Fuhrmann, Hauke wrote: I have a beginners question to Dovecot: does it have a restriction on the supported length and character encodings of filenames of attachments? Can filenames be arbitrary large? The filenames in IMAP's BODYSTRUCTURE reply probably get

Re: [Dovecot] mail_location / mail_home

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 11.15, Denny Schierz wrote: Am 31.08.2012 um 09:55 schrieb Denny Schierz: mail_home = /imap/spool/%d/%1u/%u mail_location = maildir:~/:INDEX=~/ I think, it doesn't make any difference, if I have ~ or a fixed path :-/ On the productive system (also 2.1.9) I get messages

Re: [Dovecot] LDAP auth and multiple attributes to construct the mail path

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 2.45, Anatoly Ivanov wrote: So I am trying to construct mail path for my LDAP user lookups, and i need to use two attributes instead of one. For examle, my LDAP directory has two attributes: departmentAttr and userIDAttr, and I want the maildir to reside in

Re: [Dovecot] Imap Ghost folder

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 16.59, Sascha Zucca wrote: So i guess * LIST (\Noselect \HasNoChildren) / Freigaben/ is the Problem... Yes. The problem is, I don't see it even with v2.1.7. Although I do see that when a user sees zero shared mailboxes, but that has also been fixed with v2.1.9. So I'd try

Re: [Dovecot] [Postfix] SASL Auth. using Dovecot with password forwarding proxy configuration

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 5.51, Adi Pircalabu wrote: I'm relatively new to Dovecot and I did a bit of search but couldn't find a possible solution for the particular setup I'm working on. Basically I have an SMTP/POP/IMAP proxy setup running Postfix Dovecot. IMAP/POP authentication is done using the

Re: [Dovecot] Dovecot generate file when over quota detected

2012-08-31 Thread Timo Sirainen
On 31.8.2012, at 17.23, Dominic Malolepszy wrote: On 31/08/2012 11:40 PM, Timo Sirainen wrote: On 23.8.2012, at 9.48, Dominic Malolepszy wrote: I am curious if Dovecot can add an empty file into a Maildir folder as soon as a mailbox has exceeded 100% capacity, and later when it detects

Re: [Dovecot] Possible mbox corruption if mail is saved with wrong Content-Length header (2.1.6)

2012-09-02 Thread Timo Sirainen
On 31.8.2012, at 11.42, Jost Krieger wrote: One of our users likes to delete attachments from his mails. He is using roundcube and we installed a plugin for that. Does the plugin change the mbox file directly? imap(x1234567): Error: Cached message size larger than expected (6796 2844) This

[Dovecot] Mailbox aliases

2012-09-02 Thread Timo Sirainen
I've been wondering about ways to handle all the various different Sent/Sent Messages/Sent Items/etc mailboxes that different clients create and if there could be a way to make them work at least somewhat better. I'm mainly thinking about ISP-like installations where users are using tons of

Re: [Dovecot] Special Folder Mocking

2012-09-02 Thread Timo Sirainen
On 2.9.2012, at 18.28, Eddy Ilg|univation wrote: Dear Dovecot List, probably everyone knows the problem that different clients use different names for Sent, Trash and so on. I was just in the middle of writing the previous mail about this :) A simple question: Isn't it possible to

Re: [Dovecot] Special Folder Mocking

2012-09-02 Thread Timo Sirainen
On 2.9.2012, at 18.50, Eddy Ilg|univation wrote: I was just in the middle of writing the previous mail about this :) Already thought you replied and changed the subject of my post ;) A simple question: Isn't it possible to advertise one imap folder with different names, depending on the

Re: [Dovecot] [Postfix] SASL Auth. using Dovecot with password forwarding proxy configuration

2012-09-02 Thread Timo Sirainen
On 3.9.2012, at 2.41, Adi Pircalabu wrote: Are there any plans to have Dovecot authentication service to do SMTP authentication against IMAP or POP3 proxy provided information? This, of course, means we'd have the authentication result tied to the response of the backend IMAP/pop3 server. I

Re: [Dovecot] possible work plugin deleted_to_trash for otrher foler

2012-09-02 Thread Timo Sirainen
On 2.9.2012, at 4.59, ml wrote: in the present work would be possible to walk to another folder for deleted_to_trash I suppose, with some code modifications. But I'd prefer if nobody used this plugin (or anything equivalent to its functionality).

Re: [Dovecot] finding messages deleted before timespec

2012-09-04 Thread Timo Sirainen
On 3.9.2012, at 14.31, Sven Hartge wrote: I want to use this to expunge all DELETED messages which have been in that state for 24h or longer. Dovecot doesn't keep track of that information, so you can't.

Re: [Dovecot] Custom auth process in dovecot 2

2012-09-04 Thread Timo Sirainen
On 4.9.2012, at 23.01, Richard Platel wrote: 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.

Re: [Dovecot] TIMO HELP! director ring wont stay connected

2012-09-04 Thread Timo Sirainen
On 3.9.2012, at 21.26, Kelsey Cummings wrote: passdb { args = proxy=y nopassword=y driver = static } I wonder if someone was doing a ton of logins for different usernames? This kind of setup where director doesn't verify the username can be attacked that way.

Re: [Dovecot] TIMO HELP! director ring wont stay connected

2012-09-04 Thread Timo Sirainen
On 5.9.2012, at 3.58, Timo Sirainen wrote: On 3.9.2012, at 21.26, Kelsey Cummings wrote: passdb { args = proxy=y nopassword=y driver = static } I wonder if someone was doing a ton of logins for different usernames? This kind of setup where director doesn't verify the username can

Re: [Dovecot] Resynchronization of indexes (or Warning: Maildir Scanning dir took X seconds)

2012-09-05 Thread Timo Sirainen
On 5.9.2012, at 14.40, Angel L. Mateo wrote: Sep 3 12:35:49 myotis32 dovecot: imap(imapuser): Warning: Maildir: Scanning maildir cur directory took 62 seconds (9516 readdir()s, 0 rename()s to cur/, why=0x80) We have check that messages are directed with lmtp to the same server

Re: [Dovecot] Expire plugin with multiple mail servers

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 12.41, Ramón Frontera wrote: Hello we are running Dovecot 2.1.9 and I want to configure expire plugin. We have 2 proxies with director and 4 mail servers. I have configured expire plugin on a single mail server and it works Ok. I don't konw how to configure with 4 mail

Re: [Dovecot] imap_idle_notify_interval

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 17.00, Andreas Meyer wrote: protocol imap { imap_idle_notify_interval = 29 mins mail_max_userip_connections = 10 mail_plugins = quota imap_quota autocreate } doveconf |grep idle shows me the following output: imap_idle_notify_interval = 2 mins

Re: [Dovecot] ACL MySQL dict: to_user==from_user entries

2012-09-11 Thread Timo Sirainen
On 29.8.2012, at 15.44, Roland Rosenfeld wrote: But after SETACL INBOX user@domain lrwstipekxacd I see a new entry in my imap_acl_shares table where to_user and from_user both contain the value user@domain. Does it make sense to run a daily cron job, that removes all entries with

Re: [Dovecot] Alerts when process limits are met

2012-09-11 Thread Timo Sirainen
On 1.9.2012, at 11.10, David Anderson wrote: I've not found the answer to this question anywhere - please forgive me if I overlooked. I'd like to be able to be automatically alerted if process limits are hit (e.g. max POP3 logins). Is there a way that I can configure a script to be

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-11 Thread Timo Sirainen
On 3.9.2012, at 14.16, Angel L. Mateo wrote: Moreover... according to previous mails (thread http://www.dovecot.org/list/dovecot/2012-June/066691.html) there is a patch to remove a specific user entry from cache. This patch I think is included in dovecot 2.1.9 (which I'm running) and

Re: [Dovecot] dovecot proxy ssl-parameter from database?

2012-09-11 Thread Timo Sirainen
On 3.9.2012, at 16.32, Daniel Funke wrote: So far all works fine. My question is the TLS or noTLS connection from the client to the proxy. How can I make the ssl-parameter user-dependant? clients to the old courier server should work without or with tls through the proxy and clients to the

Re: [Dovecot] Possible mbox corruption if mail is saved with wrong Content-Length header (2.1.6)

2012-09-11 Thread Timo Sirainen
On 3.9.2012, at 17.11, Jost Krieger wrote: imap(x1234567): Error: Cached message size larger than expected (6796 2844) This looks like it does. Existing emails must not be changed, IMAP protocol forbids it (and Dovecot internals don't support it either). The only safe way to drop

Re: [Dovecot] [PATCH] Generalize HMAC implementation

2012-09-11 Thread Timo Sirainen
On 4.9.2012, at 21.25, Florian Zeitz wrote: Hello everyone and Timo in particular, about a year ago I implemented a SHA-1 variant of the HMAC(-MD5) present in Dovecot. I had always disliked this a bit, because it replicates a lot of code. This patch generalizes the HMAC function to take a

Re: [Dovecot] Resynchronization of indexes (or Warning: Maildir Scanning dir took X seconds)

2012-09-11 Thread Timo Sirainen
On 5.9.2012, at 15.07, Angel L. Mateo wrote: El 05/09/12 13:50, Timo Sirainen escribió: On 5.9.2012, at 14.40, Angel L. Mateo wrote: Sep 3 12:35:49 myotis32 dovecot: imap(imapuser): Warning: Maildir: Scanning maildir cur directory took 62 seconds (9516 readdir()s, 0 rename()s to cur

Re: [Dovecot] Memory leak by getting the virtual size of a IMAP folder

2012-09-11 Thread Timo Sirainen
On 6.9.2012, at 19.19, Dafan Zhai wrote: I think I have fixed this bug. The 'virtual_size_add_new' function in src/lib-storage/index/index-status.c creates a 'search_args' object and forgets to free it at the end. The function does call the 'mailbox_search_deinit' function but

Re: [Dovecot] Found bug on doing IMAP search with UTF8 chars

2012-09-11 Thread Timo Sirainen
On 7.9.2012, at 10.30, Weinreich, Nico wrote: I'm using Roundcube 0.9git as mail frontend and have installed Dovecot 2.1.7 on Debian Squeeze. When searching for mail via Roundcube and the keyword contains special chars (like german umlauts), then Dovecot seems to die when the folder does

Re: [Dovecot] best way to activate quota

2012-09-11 Thread Timo Sirainen
On 7.9.2012, at 13.11, Angel L. Mateo wrote: Hello, I'm planning to activate quota control in dovecot, with maildir quota backend. I have about 70k users in my system directed to 4 backend servers (with a director to ensure that a user is always directed to the same server).

Re: [Dovecot] dovecot/log not running

2012-09-11 Thread Timo Sirainen
Something's very wrong. I have no idea what. doveconf -n output might help. On 7.9.2012, at 14.39, Mark Hinch wrote: I'm running 2.1.7 as downloaded/installed by Debian (and then appropriately setup for my config, ...). It almost works. I can send/receive email from thunderbird, squirrelmail,

Re: [Dovecot] Quota less mailbox with mdbox

2012-09-11 Thread Timo Sirainen
On 7.9.2012, at 13.43, Héctor Moreno Blanco wrote: Currently we have dovecot 2.0.10 with Maildir as mailbox system. We want to migrate to mdbox. The migration is simple and easy, but there are some configuration settings we cannot set to work properly. In our dovecot with Maildir we

Re: [Dovecot] FTS indexing

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 19.23, Ralf Hildebrandt wrote: I'm reacreating all FTS indices on all my users' INBOX folders: mkdir ~%s/Maildir/lucene-indexes chown %s:users ~%s/Maildir/lucene-indexes You shouldn't need to do this. It's created automatically. Also by recreating do you mean that the users

Re: [Dovecot] dsync issue: Server sent invalid input: Error parsing input: Unexpected ')'

2012-09-11 Thread Timo Sirainen
On 10.9.2012, at 14.33, Gábor Lénárt wrote: dsync(migtest@office): Error: imapc(imap-sunw-old.servers.intra:143): Server sent invalid input: Error parsing input: Unexpected ')' * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT LANGUAGE

Re: [Dovecot] FTS indexing

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 20.04, Ralf Hildebrandt wrote: * Ralf Hildebrandt ralf.hildebra...@charite.de: OK; I'll try that. Where do I finde the lucene index? I didn't find any trace of ~%s/Maildir/lucene-indexes so I was worried and tried to create the directories. I fucked up royally: I somehow

[Dovecot] v2.1 memory usage

2012-09-11 Thread Timo Sirainen
v2.1's imap/pop3 processes are linked with OpenSSL by default, because of imapc/pop3c storages. I wonder if you notice any actual (system-global) memory usage reduction when compiling without those and you have thousands of imap processes? ./configure --with-storages=mdbox sdbox maildir mbox

Re: [Dovecot] Wrong quota calculation

2012-09-11 Thread Timo Sirainen
On 8.9.2012, at 18.07, Cibest ML wrote: - Message delivered by LMTP Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - quota recalc Quota name TypeValue Limit User quota STORAGE 5307 524288 User quota MESSAGE 2 - Quota

Re: [Dovecot] Dovecot 1.x POP3 to Dovecot 2.x POP3 mbox to Maildir best transfer program/method

2012-09-11 Thread Timo Sirainen
On 7.9.2012, at 22.32, Tim E. wrote: I have a box running Dovecot 1.x POP3 only server using mbox format. I want to port the mail over to a Centos 6.3 box running a Dovecot 2.x POP3 only server using Maildir format. The main thing I want to do is support XUID/read/unread status so the

Re: [Dovecot] Found bug on doing IMAP search with UTF8 chars

2012-09-11 Thread Timo Sirainen
On 11.9.2012, at 19.29, A.L.E.C wrote: On 09/11/2012 06:19 PM, Timo Sirainen wrote: The error is that Roundcube doesn't send the string to Dovecot as UTF8 (or alternatively specify the correct charset). Even with the crashfix the search won't work. This is surprising. Can you provide

Re: [Dovecot] TIMO HELP! director ring wont stay connected

2012-09-11 Thread Timo Sirainen
On 3.9.2012, at 21.26, Kelsey Cummings wrote: Sep 3 09:22:42 b.director. b dovecot: director: Error: Director 10.10.10.71:9321/right disconnected Sep 3 09:22:45 a.director. a dovecot: director: Error: Director 10.10.10.37:9321/left disconnected Sep 3 09:22:49 b.director. b dovecot:

Re: [Dovecot] best way to activate quota

2012-09-11 Thread Timo Sirainen
On 12.9.2012, at 1.21, Gábor Lénárt wrote: I'm planning to activate quota control in dovecot, with maildir quota backend. I have about 70k users in my system directed to 4 backend servers (with a director to ensure that a user is always directed to the same server). I have tried

Re: [Dovecot] Dovecot 1.x POP3 to Dovecot 2.x POP3 mbox to Maildir best transfer program/method

2012-09-11 Thread Timo Sirainen
On 12.9.2012, at 1.39, Tim E. wrote: Sorry for the delay. I have tried and failed to use dsync properly. What would the format and usage of the command be? I have all my old Mbox mail file called user onto the new server under /home/trans and used dsync as follows: dsync -v -u user

Re: [Dovecot] key - object mailstore

2012-09-14 Thread Timo Sirainen
On 14.9.2012, at 17.46, Damien Churchill wrote: I was wondering what would be entailed in modifying dovecot 2.2 to support storing mail in an object store. I've seen a few mails dotted around in the ML history about supporting such a thing and seen it's basically dependant upon some changes

Re: [Dovecot] clucene build warnings?

2012-09-17 Thread Timo Sirainen
On 16.9.2012, at 17.41, Charles Marcus wrote: /var/tmp/portage/dev-cpp/clucene-2.3.3.4-r4/work/clucene-core-2.3.3.4/src/core/CLucene/index/DocumentsWriter.cpp:129:33: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ That's wrong, but it works anyway as

Re: [Dovecot] RFC 6154: German umlauts in special_use folder names

2012-09-17 Thread Timo Sirainen
On 13.9.2012, at 3.47, Daniel Parthey wrote: the Drafts special folder is called Entwürfe in German locale. How should the special_use entry in the config file look like? Would you recommended to use the encoded folder name... mailbox EntwAPw-rfe { special_use = \Drafts } ...or

Re: [Dovecot] doveadm backup - Fatal: All your namespaces have a location setting.

2012-09-17 Thread Timo Sirainen
On 16.9.2012, at 18.48, Tobias Hachmer wrote: I am using dovecot v2.1.9 and have a problem with doveadm backup: # doveadm backup -u u...@domain.com maildir:/backup/domain.com/user/Maildir doveadm(u...@domain.com): Fatal: All your namespaces have a location setting. It should be empty

Re: [Dovecot] Shared Mailboxes in a multi domain environment

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 10.09, Alessio Cecchi wrote: I would like to enable mailbox sharing for my users. I'm using dovecot 2.1.9 with vpopmail authentication. For security reason shared mailboxes should be available only for users of the same domain. Dovecot's wiki suggest to enable acl like

Re: [Dovecot] clucene build warnings?

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 15.42, Charles Marcus wrote: On 2012-09-17 8:21 AM, Timo Sirainen t...@iki.fi wrote: CLucene seems to be a pretty dead project. Bummer... Was my memory correct that lucene is what you currently recommend for FTS for dovecot? Lucene or Solr (i.e. anything but Squat

Re: [Dovecot] Mailbox directory permissions (LDA, 0600 - 0660, virtual users)

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 13.02, Marcin Hłybin wrote: I have a quite common dovecot configuration with virtual users support: 1. User configuration is stored in MySQL database. 2. Mailboxes are owned by vmail:vmail with permission 0600 or drwx--. Is it possible to change mailbox mode to 0660?

Re: [Dovecot] key - object mailstore

2012-09-17 Thread Timo Sirainen
On 14.9.2012, at 18.16, Damien Churchill wrote: On 14 September 2012 15:59, Timo Sirainen t...@iki.fi wrote: On 14.9.2012, at 17.46, Damien Churchill wrote: I was wondering what would be entailed in modifying dovecot 2.2 to support storing mail in an object store. I've seen a few mails

Re: [Dovecot] Mailbox directory permissions (LDA, 0600 - 0660, virtual users)

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 16.25, Marcin Hłybin wrote: On 2012-09-17 14:46, Timo Sirainen wrote: Yeah, although since they're already sharing UIDs I don't see much point? http://wiki2.dovecot.org/SharedMailboxes/Permissions anyway describes how it all works. Already tested and it does not work

Re: [Dovecot] clucene build warnings?

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 16.40, Charles Marcus wrote: On 2012-09-17 8:45 AM, Timo Sirainen t...@iki.fi wrote: Both CLucene and Lucene++ are C++ ports of the original Java Lucene. Hmmm... ok, I guess I'm missing something... Googling lucene++ leads me to this page: http://taschenorakel.de

Re: [Dovecot] Can`t get over 1024 processes

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 17.40, Tomáš Randa wrote: Hello, I have configuration question. Running FreeBSD 9.0 / AMD64 / Dovecot 2.1.8 version and cannot get over 1024 processes. I`ve increased process_limit in imap and pop3 and still have messages in syslog like: maxproc limit exceeded by uid

Re: [Dovecot] Mailbox directory permissions (LDA, 0600 - 0660, virtual users)

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 16.40, Marcin Hłybin wrote: On 2012-09-17 15:30, Timo Sirainen wrote: What's your mail_location setting? Note the Permissions to new user directories in the wiki, especially the last paragraph. When Dovecot doesn't know what permissions it should use, it defaults to 0700

Re: [Dovecot] Can`t get over 1024 processes

2012-09-17 Thread Timo Sirainen
for uid 89, so I think I forgot to increase some value in dovecot.conf.. Tomas R. Dne 17.09.12 16:46, Timo Sirainen napsal(a): On 17.9.2012, at 17.40, Tomáš Randa wrote: Hello, I have configuration question. Running FreeBSD 9.0 / AMD64 / Dovecot 2.1.8 version and cannot get over

Re: [Dovecot] clucene build warnings?

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 17.52, Charles Marcus wrote: On 2012-09-17 10:44 AM, Timo Sirainen t...@iki.fi wrote: This is the only page I'm aware of for the project: https://github.com/luceneplusplus/LucenePlusPlus Weird... wonder which is which, or if they are one and the same... Not much

Re: [Dovecot] Can`t get over 1024 processes

2012-09-17 Thread Timo Sirainen
memorylocked unlimited maxproc 8192 sbsize unlimited swapsize unlimited Could It be some dovecot vs. freebsd related error? Or I dont see anything? :) Thanks for your time Tomas R. Dne 17.09.12 17:16, Timo Sirainen napsal(a): Where did you set the ulimit -u

Re: [Dovecot] Can`t get over 1024 processes

2012-09-17 Thread Timo Sirainen
On 17.9.2012, at 18.26, Timo Sirainen wrote: It doesn't work like that with Dovecot. ulimit -u 8192 must be run just before dovecot binary is started. ulimits elsewhere are irrelevant. Although the strange thing is that Dovecot v2.1 is supposed to automatically increase this limit

Re: [Dovecot] Mailbox aliases

2012-09-18 Thread Timo Sirainen
This is now implemented as a plugin in hg. Usage in the commit message: http://hg.dovecot.org/dovecot-2.1/rev/f5bb9f6b304d Also there's a generic change where symlinks within same directory are treated as mailbox aliases, which aren't counted towards quota. On 2.9.2012, at 18.32, Timo Sirainen

Re: [Dovecot] lda bug: multiple passdb ignored

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 14.04, Алексей Панкратов wrote: passdb { driver = ldap args = /usr/local/etc/dovecot/dv-ldap-virtual.conf } Does dv-ldap-virtual.conf have auth_bind=yes?

Re: [Dovecot] Changing Quota downward for special Mailboxes? (2.1.6)

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 14.40, Jost Krieger wrote: It seems there is no way to correct te quota limit downward for some mailboxes, like: quota_rule9 = UCE-TMP:storage=-10%% The idea is to not eat up the users storage with spam, so that spam stays in the queue (for some time) while real mail

Re: [Dovecot] Syntax for doveadm auth cache

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 9.59, Angel L. Mateo wrote: So I'm running this command. Whenever I run it, I get the message that 3 (sometimes, is 4) entries are removed, but user information isn't really reloaded and I doubt it is really removed from cache (I have the user in a passwd-file and

Re: [Dovecot] Proxy connection timeouts

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 2.02, Kelsey Cummings wrote: We are seeing a few (0-15) proxy failures like the following out of ~3m successful proxied connections a day. Average session creation load over our peak hour is about 47/sec. The backend servers aren't logging anything that would suggest any

Re: [Dovecot] lda bug: multiple passdb ignored

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 14.04, Алексей Панкратов wrote: When dovecot configured to use multiple passdb and static userdb as: .. all works fine but... When LDA deliver mail it check passdb but only first appeared in configuration: 18.09.2012 15:00:18 auth: Debug: master in: USER1

[Dovecot] v2.1.10 released

2012-09-18 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.10.tar.gz.sig The director bugfix is pretty important at least when running in two director setups, since it can break the directors until both of them are manually shut down. I'm not entirely sure

Re: [Dovecot] 2.1.10 crashes at login (buf-used = buf-alloc)

2012-09-18 Thread Timo Sirainen
On 18.9.2012, at 23.32, interfaSys sàrl wrote: There is a big problem with 2.1.10. Here is what I saw in the logs: Sep 18 22:22:23 imap(): Panic: file buffer.c: line 86 (buffer_check_limits): assertion failed: (buf-used = buf-alloc) Sep 18 22:22:23 imap(): Fatal: master: service(imap):

Re: [Dovecot] 2.1.10 crashes at login (buf-used = buf-alloc)

2012-09-18 Thread Timo Sirainen
On 19.9.2012, at 0.18, interfaSys sàrl wrote: I thought it would be easily identifiable and a common problem, but apparently not :) .. #8 0x109c770b in antispam_user_created (user=0x10a83040) at user.c:17 Did you recompile antispam plugin? Is it the latest antispam? This line

Re: [Dovecot] Deleting a folder with character

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 11.22, Angel L. Mateo wrote: One of my users has a mailbox named 'INBOX.Kron SPM' (maybe created a long time ago, when we use courier imap as pop/imap server, but I'm not sure). I can see the maildir with a doveadm list command: amateo_adm@myotis31:~$ sudo

Re: [Dovecot] Deleting a folder with character

2012-09-19 Thread Timo Sirainen
On 19.9.2012, at 13.36, Charles Marcus wrote: On 2012-09-19 5:14 AM, Timo Sirainen t...@iki.fi wrote: It's an invalid mailbox name and you can't access it using doveadm. Either rename it with mv or via IMAP protocol (not entirely sure if it works via IMAP either). Just for clarification

<    7   8   9   10   11   12   13   14   15   16   >