Re: [Dovecot] specifying home/sieve/sieve_dir relative to mail_location

2012-06-25 Thread Timo Sirainen
On 25.6.2012, at 12.54, Edgar Fuß wrote: With 1.2, is it possible to specify home, sieve and sieve_dir relative to mail_location? No-one, this one? Too simple? Too stupid? Too obvious? Not possible? Mail/Sieve dirs can be relative to home dir, not vice versa.. I know it's possible to

Re: [Dovecot] specifying home/sieve/sieve_dir relative to mail_location

2012-06-25 Thread Timo Sirainen
On 25.6.2012, at 17.42, Edgar Fuß wrote: Ah, and what about the WIKI ``user_attrs = .., mailDirectory=home=/var/vmail/%$'' example that I don't understand? Well, you could use a single mailDirectory LDAP attribute that expands to your mail directory to provide for all of the other home/sieve

Re: [Dovecot] Mail migration to dovecot with doveadm backup

2012-06-25 Thread Timo Sirainen
On 24.6.2012, at 18.57, Reinhard Vicinus wrote: i try to migrate mails from a non dovecot imap server to a dovecot imap server with doveadm backup as described there: http://wiki2.dovecot.org/Migration/Dsync i first tried (local-mailbox port 18143 is the non dovecot imap server):

Re: [Dovecot] dsync error: Mailboxes don't have unique GUIDs

2012-06-25 Thread Timo Sirainen
On 25.6.2012, at 19.49, Charles Marcus wrote: I did try the 2.1.x version of dsync back in March. I found the version to be very unreliable. It would crash with many types of operations (e.g. maildir - mdbox conversions). Well, the version in 2.0.x was problematic, which is why Timo was

Re: [Dovecot] specifying home/sieve/sieve_dir relative to mail_location

2012-06-25 Thread Timo Sirainen
That example means that if you have in LDAP mailDirectory=domain.com/username field, and you want user's home to be /var/vmail/domain.com/username, then you can set mailDirectory=home=/var/vmail/%$ where %$ gets expanded to domain.com/username. I don't think it's relevant to what you want. On

Re: [Dovecot] Mail migration to dovecot with doveadm backup

2012-06-25 Thread Timo Sirainen
On 25.6.2012, at 21.21, Reinhard Vicinus wrote: Jun 25 20:01:26 10.129.3.200 dovecot: dsync(u...@example.org): Error: user u...@example.org: Initialization failed: Initializing mail storage from mail_location setting failed: imapc: missing imapc_host Jun 25 20:01:26 10.129.3.200 dovecot:

Re: [Dovecot] Director + managesieve: is it posible?

2012-06-26 Thread Timo Sirainen
On 26.6.2012, at 17.16, Joseba Torre wrote: I've just tried to add managesieve to our director server, and when I try to connect they fail with Jun 26 12:28:13 director2 dovecot: auth: Debug: client in:

Re: [Dovecot] Maildir Seen Flags not heeded when dovecot-shared present

2012-06-26 Thread Timo Sirainen
On 26.6.2012, at 21.34, J E Lyon wrote: After many hours of searching (!) and lots of testing procmail scripts, I found the explanation I was looking for -- something you explained at http://www.dovecot.org/list/dovecot/2008-July/032551.html That explains it. Thing is, though, every

Re: [Dovecot] [PATCH] GSSAPI authorization and virtual users

2012-06-27 Thread Timo Sirainen
On Tue, 2012-03-06 at 18:12 +, Sam Morris wrote: On Mon, 2012-03-05 at 20:52 +0200, Timo Sirainen wrote: On 5.3.2012, at 20.45, Sam Morris wrote: 3. The credentials lookup triggers an info log message saying that credentials for GSSAPI were requested, but we have only

Re: [Dovecot] Problem with 'doveadm mailbox status -t' reporting cumulative vsizes after upgrading from v2.0.16 to v2.1.7

2012-06-27 Thread Timo Sirainen
On Mon, 2012-06-18 at 18:35 +0100, Jase Thew wrote: The reporting script at its core calls : doveadm -f flow mailbox status -A -t 'messages vsize' '*' It appears that Dovecot 2.1.7 is not resetting the vsize after collating the sum total of mailboxes sizes for each user, so that vsize just

Re: [Dovecot] pop3c_master_user

2012-06-27 Thread Timo Sirainen
On Tue, 2012-06-19 at 00:41 +0200, Martin Schitter wrote: the configuration keyword pop3c_master_user mentioned in the dsync migration documentation (http://wiki2.dovecot.org/Migration/Dsync) does not work for dovecot 2.1.7. a config line like: pop3c_master_user = cyrus will produce this

Re: [Dovecot] director map and mysql

2012-06-27 Thread Timo Sirainen
On Wed, 2012-06-20 at 14:40 +1100, Костырев Александр Алексеевич wrote: but what mechanisms do I have if I want certain user to be always proxied to certain host, but if that host is down, to redirect him to another? You'll have to mark the host down in SQL, and change your SQL query to

Re: [Dovecot] doveadm proxy kick in director setups

2012-06-27 Thread Timo Sirainen
On Thu, 2012-06-21 at 10:48 -0400, Tom Pawlowski wrote: Something I noticed on a 2.1.7 director test cluster (two directors, three backends): 'doveadm proxy kick user' will kick all connections for that user on that director only. Any additional connections on other directors will remain

Re: [Dovecot] pop3-throttle

2012-06-27 Thread Timo Sirainen
On Sat, 2012-06-23 at 07:04 +0200, Emmanuel Dreyfus wrote: Hello I am having a hard time with users using POP while leaving mailboxes of several gigabyte cumulated. This causes a lot of disk I/O and kills performancs for everyone. I try to encourage people migrating to IMAP, but that

Re: [Dovecot] pop3-throttle

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 14.55, Emmanuel Dreyfus wrote: On Wed, Jun 27, 2012 at 12:50:20PM +0300, Timo Sirainen wrote: What mailbox format do you use? This shouldn't be a problem with for example mdbox, probably not with sdbox either and with mbox/maildir there are settings that can improve

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 14.10, Angel L. Mateo wrote: We have dovecot configured with auth cache. Is there any way to remove a specific entry (not all) from this cache? Nope. What do you need it for?

Re: [Dovecot] permissions on auth-userdb

2012-06-27 Thread Timo Sirainen
On 23.6.2012, at 13.34, Charles Marcus wrote: It would be nice if there were a wiki page specifically describing how permissions should be set for all of the services/directories that dovecot uses. Even better would be a dovecot/doveconf command that would test the permissions and, if

Re: [Dovecot] RFE: IMAP LIST Extension for Special-Use Mailboxes

2012-06-27 Thread Timo Sirainen
On 26.6.2012, at 18.54, Charles Marcus wrote: My question (I guess for Timo) is, would it be crazy/possible to implement some kind of 'alias' conversion in dovecot that would work regardless of client cooperation? Ie, in a config file, add a list of 'aliases' for these special use folders

Re: [Dovecot] Setting up mixed mbox and maildir

2012-06-27 Thread Timo Sirainen
On 27.6.2012, at 0.19, Jonathan Ryshpan wrote: If you are working with 2.0 or later dovecot, you should be at http://wiki2.dovecot.org/Namespaces I am using 2.1.7 . I surmise from this Namespace page that the form: namespace type { where type is one of public, private, or shared

Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-28 Thread Timo Sirainen
On Wed, 2012-06-27 at 22:18 +0200, Edgar Fuß wrote: With 1.2, is there a syntax to, for LDAP lookups, use a given fixed replacement for a non-present LDAP attribute? E.g. something that would extend user_attrs = mailFileServer=mail=maildir:/import/mail/%$/%d to use

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-28 Thread Timo Sirainen
On Wed, 2012-06-27 at 19:08 -0700, Joseph Tam wrote: I dont known about Angel, but for me is useful because sometimes i need to deactivate smtp/imap/pop access from accounts, or change their home after storage migration, and removing a specific record i can use a long time cache. I'm

Re: [Dovecot] indexer-worker

2012-06-28 Thread Timo Sirainen
On Thu, 2012-06-28 at 07:54 +0200, Wojciech Puchar wrote: why this process (which most probably do squat index/update) runs as root, not - like imap process - as user? 29413 root 1 760 22820K 9204K kqread 1 0:17 5.86% indexer-worker It runs as root while not really

Re: [Dovecot] permissions on auth-userdb

2012-06-28 Thread Timo Sirainen
On Wed, 2012-06-27 at 08:34 -0400, Charles Marcus wrote: On 2012-06-27 8:29 AM, Timo Sirainen t...@iki.fi wrote: On 23.6.2012, at 13.34, Charles Marcus wrote: It would be nice if there were a wiki page specifically describing how permissions should be set for all of the services/directories

Re: [Dovecot] Mail migration to dovecot with doveadm backup

2012-06-28 Thread Timo Sirainen
On Wed, 2012-06-27 at 15:10 +0200, Reinhard Vicinus wrote: Hi, if i delete the home directory and all content below an existing account u...@example.org. Then run: /usr/bin/doveadm quota recalc -u u...@example.org Are you sure quota recalc makes a difference here? What if you simply run

Re: [Dovecot] Default for non-present LDAP attributes?

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 12.19, Edgar Fuß wrote: The mail field defaults to mail_location setting. Ah, yes, thanks. So simple I didn't think of it. Will it default when the LDAP attribute is not present or will I have to check the attribute's presence in the LDAP filter? The default settings are in

Re: [Dovecot] Integrating Dovecot with Amazon Web Services

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 17.43, Gary Mort wrote: http://wiki2.dovecot.org/MailboxFormat/dbox To make life easy, I'll stick with just single-dbox as a start, however multi-dbox would be doable. With dbox, the only thing that I need to change is the alternate storage model: An upshot of the way

Re: [Dovecot] Integrating Dovecot with Amazon Web Services

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 20.14, Timo Sirainen wrote: An upshot of the way alternate storage works is that any given storage file (mailboxes/folder/dbox-Mails/u.* (sdbox) or storage/m.* (mdbox)) can only appear *either* in the primary storage area *or* the alternate storage area but not both

Re: [Dovecot] Integrating Dovecot with Amazon Web Services

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 20.55, Gary Mort wrote: The indexes have to be in primary storage. True, but the data they are based on I'm assuming does not include the full email message, just a few key pieces: uniqueid, subject, from, to, etc. For an always running server, the indexes are always up

Re: [Dovecot] Integrating Dovecot with Amazon Web Services

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 21.04, Gary Mort wrote: mdbox though is different, multiple messages are stored in a single file. The index indicates in which file each message is located. When the data is moved to alt storage, the filename can change in which case the index is updated. IE:

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-28 Thread Timo Sirainen
On 28.6.2012, at 9.43, Timo Sirainen wrote: It would be possible to add a doveadm command for this.. I think the main reason why I already didn't do it last time I was asked this was because I wanted to use doveadm auth cache flush or something similar as the command, but there already exists

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-28 Thread Timo Sirainen
On 29.6.2012, at 5.18, Daniel Parthey wrote: wouldn't it be better to use a syntax similar to other doveadm commands, with labels for all arguments? doveadm auth test -u user -p [pass] doveadm auth cache flush -u [user] doveadm auth cache stats This will allow you to syntactically

Re: [Dovecot] auth service: out of memory

2012-06-29 Thread Timo Sirainen
On 29.6.2012, at 9.35, Mailing List SVR wrote: I have some out of memory errors in my logs (file errors.txt attached) How large is your auth process's VSZ when it starts up and has handled a couple of logins? It's possible that it's not leaking at all, you're just not giving enough memory for

Re: [Dovecot] Removing specific entry in user/auth cache

2012-06-29 Thread Timo Sirainen
On 29.6.2012, at 10.13, Angel L. Mateo wrote: Other command it could be usefull is to remove a temporal user-server association in director. For example, I had a downtime in one server, so users normally directed to this server is now been directed to other. Now I want a user to get

Re: [Dovecot] auth service: out of memory

2012-06-29 Thread Timo Sirainen
On 29.6.2012, at 10.39, Mailing List SVR wrote: Il 29/06/2012 09:19, Timo Sirainen ha scritto: On 29.6.2012, at 9.35, Mailing List SVR wrote: I have some out of memory errors in my logs (file errors.txt attached) How large is your auth process's VSZ when it starts up and has handled

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 9.49, Angel L. Mateo wrote: My problem was that this timeout seems to be counted from the beginning of the LMTP connection, so when I have a lot of recipients in the same connection, last ones sometimes timedout. I solved it increasing this timeout with proxy_timeout

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 10.10, Timo Sirainen wrote: On 2.7.2012, at 9.49, Angel L. Mateo wrote: My problem was that this timeout seems to be counted from the beginning of the LMTP connection, so when I have a lot of recipients in the same connection, last ones sometimes timedout. I solved

Re: [Dovecot] director directing to wrong server (sometimes)

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 9.53, Angel L. Mateo wrote: I have a user, its assigned server is 155.54.211.164. The problem is that I don't know why director sent him yesterday to a different server, because my server was up all the time. Moreover, I'm using poolmon in director servers to check

Re: [Dovecot] UTF-8 mailbox name STATUS response

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 12.07, Ewald Dieterich wrote: STATUS in Dovecot 2.1.7 returns the UTF-8 decoded folder name in a string literal: . CREATE INBOX.Euro IKw- . OK Create completed. . LIST INBOX.Euro IKw- * LIST (\HasNoChildren) . INBOX.Euro IKw- . STATUS INBOX.Euro IKw- (MESSAGES) * STATUS

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 12.31, Angel L. Mateo wrote: My problem was that this timeout seems to be counted from the beginning of the LMTP connection, so when I have a lot of recipients in the same connection, last ones sometimes timedout. I solved it increasing this timeout with proxy_timeout

Re: [Dovecot] UTF-8 mailbox name STATUS response

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 14.06, Ewald Dieterich wrote: . CREATE INBOX.Euro IKw- . OK Create completed. . LIST INBOX.Euro IKw- * LIST (\HasNoChildren) . INBOX.Euro IKw- . STATUS INBOX.Euro IKw- (MESSAGES) * STATUS {14} INBOX.Euro € (MESSAGES 0) . OK Status completed. Is this intended?

Re: [Dovecot] Outlook 2010 very slow when using IMAP - are there any tweaks?

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 19.12, Kaya Saman wrote: what's really weird is that if I keep increasing the Cache TTL and Cache size, the speed of transfer starts dropping. I think it may just be a coincidence that changing cache values appears to help, and the real reason maybe being just that Dovecot got

Re: [Dovecot] Authentication failed (migrate from 2.0.13 to 2.0.17)

2012-07-02 Thread Timo Sirainen
On 2.7.2012, at 16.51, Dovecot user wrote: imap-login: Aborted login (auth failed, 1 attempts): user=, method=CRAM-MD5, rip=127.0.0.1, lip=127.0.0.1, TLS Jul 2 15:19:13 mx dovecot: auth-worker: mysql(localhost): Connected to database mail Jul 2 15:19:15 mx dovecot: imap-login: Aborted login

Re: [Dovecot] Proxy config help please

2012-07-02 Thread Timo Sirainen
On 30.6.2012, at 0.41, Zac Israel wrote: # 2.0.19: /etc/dovecot/dovecot.conf .. passdb { args = proxy=proxy_always nopassword=y host=172.16.0.13 port=143 proxy_timeout=5 starttls=y ssl=any-cert v2.0 has some problems with this. You should use v2.1 and use server name as the host value

Re: [Dovecot] doveadm purge -A via doveadm-proxy director fails after some users

2012-07-02 Thread Timo Sirainen
On 29.6.2012, at 19.21, Daniel Parthey wrote: Jun 29 15:40:31 10.129.3.249 dovecot: doveadm(use...@domain1.example.org): Error: user use...@domain1.example.org: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied I've noticed a similar problem

Re: [Dovecot] indexer-worker

2012-07-02 Thread Timo Sirainen
On 28.6.2012, at 13.38, Wojciech Puchar wrote: 29413 root 1 760 22820K 9204K kqread 1 0:17 5.86% indexer-worker It runs as root while not really doing anything, but when it starts accessing users' files it temporarily drops privileges. This is necessary if users have

Re: [Dovecot] Setting up mixed mbox and maildir

2012-07-02 Thread Timo Sirainen
On 28.6.2012, at 2.34, Jonathan Ryshpan wrote: I am continuing to attempt to set up dovecot to keep its mail store in maildir form while receiving it from an mbox, but without success. Dovecot reports the error that it can't create the file ~/mail/.imap/INBOX (and also that it can't chown

Re: [Dovecot] dict Panic after upgrade to 2.1.7

2012-07-02 Thread Timo Sirainen
On 24.6.2012, at 13.21, ckubu wrote: dovecot log entries: Jun 23 23:19:10 mx dovecot: dict: Panic: file driver-pgsql.c: line 84 (driver_pgsql_set_state): assertion failed: (state == SQL_DB_STATE_BUSY || db- cur_result == NULL) This is clearly a bug, but I don't really see why it's

Re: [Dovecot] Wrong headers in dovecot-crlf

2012-07-02 Thread Timo Sirainen
On 26.6.2012, at 21.55, Matthieu RAKOTOJAONA wrote: I'm using the very good imaptest [0] tool to test my little imap server implementation. I've tried to use the dovecot-crlf [1] file, but it looks like there are some major issues : $ grep -n In-Reply-To.*; tests/data/dovecot-crlf

Re: [Dovecot] userdb errors after upgrading to 2.1

2012-07-02 Thread Timo Sirainen
On 26.6.2012, at 18.04, André Rodier wrote: I am using LDAP lookups, and virtual users with the same UID/GID. Everything was working fine before, but now, I have this error when I try to send an email to a local account: Jun 26

Re: [Dovecot] Additional passdb result status

2012-07-02 Thread Timo Sirainen
On 24.6.2012, at 23.37, Jürgen Pabel wrote: I am implementing a plugin (for the pop3/imap process) that requires some data to provided from the authentication phase (a derivative of the password). For that, I have now implemented a passdb plugin that generates this data and I would like to

[Dovecot] v2.1.8 released

2012-07-02 Thread Timo Sirainen
http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz http://dovecot.org/releases/2.1/dovecot-2.1.8.tar.gz.sig Most importantly fixes a pretty bad behavior of sending mailbox names as UTF-8 instead of mUTF-7 as required by IMAP RFC. I'm surprised nobody hadn't noticed this in v2.1.x tree before

Re: [Dovecot] Authentication failed (migrate from 2.0.13 to 2.0.17)

2012-07-02 Thread Timo Sirainen
On 3.7.2012, at 7.37, Dovecot user wrote: There's no way to troubleshoot this error ? Set auth_debug_passwords=yes and show all of the log entries from a failed login. Preferably use a test password so it won't be exposed. :) I use the same config file for dovecot 2.0.13, all works.

Re: [Dovecot] Authentication failed (migrate from 2.0.13 to 2.0.17)

2012-07-02 Thread Timo Sirainen
On 3.7.2012, at 8.00, Dovecot user wrote: I tried to do the same 'dovecot -n' (dovecot 2.0.13, same config file) : Oh, are you saying that the difference isn't just the Dovecot version, but that they are completely different systems with (somewhat) different settings also? That's much more

Re: [Dovecot] Dovecot shared library to replace libc-client

2012-07-03 Thread Timo Sirainen
On 3.7.2012, at 8.53, Asheesh Laroia wrote: I see there is a dovecot shared library. I haven't looked into the details, but here are things I'm interested in: 1. Replacing libc-client's use as a client library .. I envision creating libdovecot-c-client-alike that is a set of headers and

Re: [Dovecot] Authentication failed (migrate from 2.0.13 to 2.0.17)

2012-07-03 Thread Timo Sirainen
(POST /webmail/?_task=login_action=login) On 03.07.2012 09:20, Timo Sirainen wrote: On 3.7.2012, at 8.00, Dovecot user wrote: I tried to do the same 'dovecot -n' (dovecot 2.0.13, same config file) : Oh, are you saying that the difference isn't just the Dovecot version

Re: [Dovecot] Dovecot shared library to replace libc-client

2012-07-03 Thread Timo Sirainen
On 3.7.2012, at 9.18, Asheesh Laroia wrote: I'm still not ready to give ABI or even API guarantees to libdovecot.. There are still several important large changes to do and I don't really want to keep a ton of ugly backwards compatibility stuff just for external users of the library. Also

Re: [Dovecot] Outlook 2010 very slow when using IMAP - are there any tweaks?

2012-07-03 Thread Timo Sirainen
On 3.7.2012, at 9.38, Kaya Saman wrote: So if I look at a different authentication mechanism say LDAP would it improve performance? I doubt authentication has anything to do with why Outlook downloads mails slowly. But you could configure Outlook to use plaintext authentication instead of

Re: [Dovecot] Removing specific entry in user/auth cache

2012-07-04 Thread Timo Sirainen
On Fri, 2012-06-29 at 05:01 +0300, Timo Sirainen wrote: and for v2.1 a bit kludgy way: doveadm auth user [pass] doveadm auth cache flush [user] Done: http://hg.dovecot.org/dovecot-2.1/rev/007bf0047ab0 http://hg.dovecot.org/dovecot-2.1/rev/1093c74f54af so you couldn't test authentication

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-04 Thread Timo Sirainen
On 4.7.2012, at 21.49, Angel L. Mateo wrote: Although nfs configuration is the same, there are a lot of differences on readdir vs readdirplus nfs operations. In fact, in the old one we have 12% readdir operations and 3% of readdirplus. And in the new one we have 46% of readdirplus

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-04 Thread Timo Sirainen
On 5.7.2012, at 8.44, Angel L. Mateo wrote: El 04/07/12 23:55, Timo Sirainen escribió: Also maildir_very_dirty_syncs=yes improves performance by reducing readdirs. It's safe to use as long as only Dovecot is reading the Maildir. Is it safe to use it although a user could have

Re: [Dovecot] Howto add another disk storage

2012-07-05 Thread Timo Sirainen
On 5.7.2012, at 10.44, Adrian M wrote: All this is telling me that is safer to have two or tree smaller filesystems than a big one. Dovecot has a nice feature for this Directory hashing http://wiki.dovecot.org/MailLocation/ What I don't know is a nice way to migrate from a single directory

Re: [Dovecot] dovecot and nfs readdir vs readdirplus operations

2012-07-05 Thread Timo Sirainen
On 5.7.2012, at 15.55, Angel L. Mateo wrote: Concluding... in my systems, with users with hugh mail folders (thousands of mails) in maildir format, disabling rdirplus with mount options (mount option nordirplus) increases performance (maybe we could do more precise test and this

Re: [Dovecot] Dovecot 2.1.8 crashes when doing POP3 UIDL on empty INBOX

2012-07-06 Thread Timo Sirainen
On 7.7.2012, at 3.38, Joseph Tam wrote: #0 i_panic (format=0xff2302f8 Trying to allocate %u bytes) at failures.c:259 #1 0xff2068a4 in pool_alloconly_malloc (pool=0x60330, size=0) at mempool-alloconly.c:259 #2 0x00018248 in client_uidls_save (client=0x54d28) at

Re: [Dovecot] Dsync replication

2012-07-06 Thread Timo Sirainen
On 6.7.2012, at 23.28, l...@airstreamcomm.net wrote: Thanks, that certainly helps identify the configuration options. However I am more concerned about the experiences of others who have actually used the replication. What is the rate of change on your mail cluster, how many concurrent

Re: [Dovecot] Dovecot 2.1.8 crashes when doing POP3 UIDL on empty INBOX

2012-07-08 Thread Timo Sirainen
On 8.7.2012, at 10.07, J E Lyon wrote: I think some of the things Timo does, he is able to do in his sleep . . What's annoying is that I sometimes do, and all the hard work gets lost somewhere to the dream world :(

Re: [Dovecot] imap-login: Panic: epoll_ctl(add, 6) failed: Invalid argument

2012-07-09 Thread Timo Sirainen
On Mon, 2012-07-09 at 13:39 +0200, Angel L. Mateo wrote: Hello, More problems (it seems that we won't be able to put our new servers in production). The problem now is that when we reach 1000 dovecot processes we have errors like: Jul 9 12:10:22 myotis31 dovecot: imap-login:

Re: [Dovecot] Howto add another disk storage

2012-07-10 Thread Timo Sirainen
On 10.7.2012, at 8.31, Frank Bonnet wrote: Would it be possible to close this thread from Dovecot mailing-list ? Yeah, enough with this thread.

Re: [Dovecot] mail_log plugin logs UTF-8 mailbox name

2012-07-11 Thread Timo Sirainen
On 11.7.2012, at 15.42, Ewald Dieterich wrote: A small bug in the mail_log plugin: When I copy a mail from the inbox to a mailbox with special characters, the mailbox name is logged in UTF-8: [...] copy from INBOX: box=INBOX.Euro €, [...] I think the UTF8 name is more correct here I

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 13.43, Joseba Torre wrote: I've almost finished my new director based setup, but in the first test I discovered that imap and lmtp connections were not always being proxied to the same server. After some research now I think that the main problem is that in imap

Re: [Dovecot] bcypt availability

2012-07-17 Thread Timo Sirainen
On 12.7.2012, at 13.32, Nick Edwards wrote: Do you intend to introduce bcrypt into the built in password schemes? No, but I would accept a patch for that.

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 1.35, Robert Blayzor wrote: So is there any way possible to turn off advertising of TLS on port or turn it off/on per IP? Something like: If those work, then yes. If they don't, then no. I'd think they would work. ssl = yes ssl_cert = /etc/ssl/cert/default.pem ssl_key

Re: [Dovecot] SQLite dovecot query caching

2012-07-17 Thread Timo Sirainen
On 13.7.2012, at 8.30, Dominic Malolepszy wrote: It caches the passdb lookup. The cache key consists of the given % variables in the SQL query. So if your SQL query doesn't contain %n/%u then the cache doesn't add per-user entries. I had a chance to play around with this in the lab. The

Re: [Dovecot] Difference between proxy_refresh and proxy_timeout in director

2012-07-17 Thread Timo Sirainen
On 13.7.2012, at 11.52, Angel L. Mateo wrote: I know proxy_timeout is the timeout for the director operation. But what is the purpose for proxy_refresh? Director returns proxy_refresh to login process. The login process then tells director this often that the user's connection still

Re: [Dovecot] Override userdb=passwd gid

2012-07-17 Thread Timo Sirainen
On 12.7.2012, at 16.43, Veiko Kukk wrote: I have problem with Dovecot 2.1.1 writing maildir files as users primary group. Tried to override gid value, but probably i'm missing something... userdb { args = blocking=no gid=mail driver = passwd } Also tried using 'override_fields =

Re: [Dovecot] Seq-range order in sequence-set are matter?

2012-07-17 Thread Timo Sirainen
I can reproduce this in v1.0 and v1.1, but not with v1.2 or newer. So this has been fixed 3 years ago. On 12.7.2012, at 14.13, Lay András wrote: Hi! I have a mailbox with 12 messages. Theese two commands: x fetch 5,8:12 (UID) * 5 FETCH (UID 10) * 8 FETCH (UID 13) * 9 FETCH (UID 14) *

Re: [Dovecot] different mail_max_userip settings

2012-07-17 Thread Timo Sirainen
On 10.7.2012, at 10.24, Federico Bianchi wrote: Is it possible to have mail_max_userip set to a value for localhost (webmail) and to another value for everything else? mail_max_userip_connections = 10 remote 127.0.0.1 { mail_max_userip_connections = 0 }

Re: [Dovecot] dovecot 2.1.8 still tries to touch any mountpoint

2012-07-17 Thread Timo Sirainen
On 10.7.2012, at 14.00, Reindl Harald wrote: why does dovecot touch any ever used fuse-mountpoint and scream at the next start that is no longer mounted? If this is intentional, remove it with doveadm mount why if i never called doveadm on any setup at all? Jul 10 09:10:56 rh dovecot:

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 13.54, Timo Sirainen wrote: On 17.7.2012, at 13.43, Joseba Torre wrote: I've almost finished my new director based setup, but in the first test I discovered that imap and lmtp connections were not always being proxied to the same server. After some research now I think

Re: [Dovecot] dovecot 2.1.8 still tries to touch any mountpoint

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 15.12, Reindl Harald wrote: v2.1.9+ log message will point to http://wiki2.dovecot.org/Mountpoints Dovecot already internally filters out many mountpoints and filesystems that are pretty much guaranteed not to contain any emails i bet /sys/fs/cgroup will never contain any

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 15.20, Robert Blayzor wrote: On Jul 17, 2012, at 6:59 AM, Timo Sirainen wrote: On 17.7.2012, at 1.35, Robert Blayzor wrote: So is there any way possible to turn off advertising of TLS on port or turn it off/on per IP? Something like: If those work, then yes

Re: [Dovecot] files missed from install

2012-07-17 Thread Timo Sirainen
On 4.7.2012, at 19.17, Tim Dickson wrote: version: using dovecot 2.1.8 or 2.0.12 bug: installation - some files missed details: dovecot-openssl.cnf and mkcert.sh are not copied from the src/doc folder to the installation doc folder on installation (make install) both are referred to in

Re: [Dovecot] LDAP.conf filter issue

2012-07-17 Thread Timo Sirainen
On 5.7.2012, at 16.45, Tony Hlabse wrote: We are trying to use the user_filter options to limit authentication to a single user group. The cusotmer has security rules that they want to only have users belonging to a group to have access. Sample we have tried. auth_bind = yes

Re: [Dovecot] Feature request

2012-07-17 Thread Timo Sirainen
On 7.7.2012, at 17.26, Malloc Kilobyte wrote: Appreciating all Dovecot rich features, I lack just one. And this is the ability to customize the quota exceeded, message rejected message. I know I can set it's default content using quota_exceeded_message parameter, but i would also like to have

Re: [Dovecot] MySQL dict issues

2012-07-17 Thread Timo Sirainen
On 11.7.2012, at 21.10, l...@airstreamcomm.net wrote: Testing using the mysql dict for quota storage (dovecot-2.0.12-2_127.el5), and ran into a couple issues. First is a permissions issue: dovecot: lmtp(26786, d...@test.tld): Error: net_connect_unix(/var/run/dovecot/dict) failed:

Re: [Dovecot] quota fs: Support for hardlimit quotas (where softquota is unset)

2012-07-17 Thread Timo Sirainen
On Sun, 2012-07-08 at 09:42 +0200, Jan Friesse wrote: Hi, included is patch which adds support for calculating fs quota from hardlimit where softlimit is unset. I'm usually not setting softlimit on my server causing dovecot work incorrectly (not reporting quota at all). Committed to v2.2:

Re: [Dovecot] Timeout (180s) while waiting for lock for transaction log file

2012-07-17 Thread Timo Sirainen
On Mon, 2012-07-09 at 10:45 +0200, Angel L. Mateo wrote: We still have problems with our updated dovecot servers... The problem now is that we are having errors like: Jul 9 10:22:02 myotis31 dovecot: lmtp(15431, user): Error: Timeout (180s) while waiting for lock for transaction log

Re: [Dovecot] [PATCH] Interop problem with Cyrus SASL and GSSAPI

2012-07-17 Thread Timo Sirainen
On Sat, 2012-07-14 at 19:17 +0100, Ben Morrow wrote: I have been trying to get a Postfix mail server using Dovecot SASL to accept GSSAPI AUTH from another Postfix server using Cyrus SASL, and I believe I have found a couple of bugs in Dovecot's GSSAPI implementation. Committed:

Re: [Dovecot] Dovecot-2.1.8 process imap crashed

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 17.15, Marcin Mirosław wrote: Hello! I've just upgraded dovecot from 2.0.18 to 2.1.8 and configured impac. I notice dovecot/imap throws segfault from time to time. I'm not sure i know what steps are needed to reproduce problem. .. #3 0x02d0fbf6208a in

Re: [Dovecot] Compile issue Dovecot 2.1.8, OS X 10.6.x

2012-07-17 Thread Timo Sirainen
I always use: CPPFLAGS='-I/opt/local/include/postgresql85 -I/opt/local/include' \ LDFLAGS=-L/opt/local/lib/postgresql85 -L/opt/local/lib \ ./configure Because otherwise system iconv conflicts with macports iconv. But it has been this way in v2.0 as well. On 18.7.2012, at 8.09, Jim wrote: Hey

Re: [Dovecot] dovecot 2.x via xinetd

2012-07-23 Thread Timo Sirainen
On 23.7.2012, at 4.37, Mathieu Roy wrote: I was using dovecot 1.2.x via xinetd with a setup like http://wiki.dovecot.org/InetdInstall Since I upgraded to Debian Wheezy, shipping dovecot 2.x, it no longer works. At best, I end up with stuff like Doesn't work anymore. No plans to make it

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-25 Thread Timo Sirainen
On 25.7.2012, at 13.43, Ralf Hildebrandt wrote: * Ed W li...@wildgooses.com: Oh, sorry. Why doveadm though? Why not attack the filesystem directly? It's a bit hard with mdbox: mailboxes. Actually it is allowed to simply mv the directory names, but I don't think that's all that much

Re: [Dovecot] Remove leading and trailing spaces from folder names?

2012-07-25 Thread Timo Sirainen
On 25.7.2012, at 13.54, Ralf Hildebrandt wrote: The way I'd do this is to just do doveadm mailbox list, put the strings through some regexps and doveadm rename if necessary. Repeat for all users. Yes, something along those lines. It's just that I find it hard to craft a regexp which does

Re: [Dovecot] what best for anti-spam filter?

2012-07-25 Thread Timo Sirainen
On 24.7.2012, at 16.46, Patrick Ben Koetter wrote: this is a mailing list dedicated to Dovecot and the protocols POP, IMAP and MANAGESIEVE with the one or the other detour to storage. Greylisting and other Anti-Spam techniques, as discussed in this thread, truely are off-topic. Please take

Re: [Dovecot] what best for anti-spam filter?

2012-07-25 Thread Timo Sirainen
Stop replying here and start writing to http://wiki2.dovecot.org/AntiSpam - I added some kind of a template now. Thread closed.

Re: [Dovecot] lock file strangeness

2012-07-25 Thread Timo Sirainen
Dovecot doesn't create lock files named like these. On 25.7.2012, at 22.50, McGraw, Robert P wrote: We are running dovecot-1.2.10 on a Solaris 10 x86 host. Starting on July 24 I started seeing the following type lock files I the /var/mail directory. -rw-rw-rw- 1 agab mail

Re: [Dovecot] fts solr : out of memory

2012-07-28 Thread Timo Sirainen
On 28.7.2012, at 19.09, Matthew Powell wrote: This looks very much like an issue I've been having with fts-lucene. Indexing works (or at least completes without errors) in 2.1.7, but runs out of memory in 2.1.8. doveadm -v index -u username '*' crashes with: doveadm(username): Fatal:

Re: [Dovecot] lmtp log message

2012-07-28 Thread Timo Sirainen
On 27.7.2012, at 9.01, Daniel L. Miller wrote: I just tried switching to lmtp from lda. Messages are being delivered, but I now see messages similar to: Jul 26 22:59:21 bubba dovecot: lmtp(20508): Disconnect from local: Client quit (in reset) in my log for every message. Is this a

Re: [Dovecot] Slightly OT - Winbind and remote authentication.

2012-07-28 Thread Timo Sirainen
On 27.7.2012, at 20.01, Simon Brereton wrote: I was doing some research on setting up a samba server for my internal network (as an alternative to NAS). The setup looks easy enough, but then I got to thinking - I already have an internet host with an mysql DB that has usernames and passwords

Re: [Dovecot] Auto logging-out client

2012-07-28 Thread Timo Sirainen
On 26.7.2012, at 16.58, Nicolás wrote: I'm writing because of an issue I'm having with my Postfix-Dovecot installation. Everything's working fine but when an IMAP client is idle for some time, Dovecot automatically logs it out. Jul 26 14:01:16 mail dovecot: imap(nico...@devels.es):

Re: [Dovecot] Re move .INBOX from folders.

2012-07-28 Thread Timo Sirainen
On 26.7.2012, at 22.38, ssukh wrote: Hello all, i am just new to dovecot and trying to figure out how to remove .INBOX from the folders. Now all the folders are created like .INBOX.spam .INBOX.temp But i would like to have .spam .temp Either: a) Remove INBOX. namespace prefix

<    5   6   7   8   9   10   11   12   13   14   >