[Dovecot] Dovecot "sleep" for short snapshots

2012-12-14 Thread Peer Heinlein
Making consistent backups from Dovecot with mdbox requires a snapshoted filesystem with (at least) a short Downtime for Dovecot. I'd like to avoid killing several thenthousand IMAP-sessions for 60 seconds. Users don't like that... And the admin dislakes that too... What about a "short sleep" me

[Dovecot] mdbox: more then one altstorage

2012-12-14 Thread Peer Heinlein
The mdbox-format with the altstorage-feature is quite nice and important. But we're having much more then >> 30 TB of maildata and doing an fsck on huge partitions takes too much (down-) time for our mailsystem. It would be much easier, if Dovecot would be able to use at least THREE storage-path

Re: [Dovecot] need help with dovecot-lda

2012-12-14 Thread Andreas Meyer
Hello! Ben Morrow wrote: > At 5PM +0100 on 14/12/12 Andreas Meyer wrote: > > > > Some month ago I upgraded our dovecot installation from version 1.0.5 > > to version 2.1.7 without having any trouble. Postfix is delivering > > email directly per virtual transport to the maildirs and mailboxes o

Re: [Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Timo Sirainen
If you just want to quickly work around it, I think you could give "userdb" parameter to auth_stream_reply_init() which is TRUE for the userdb_reply and FALSE the passdb reply. Then in auth_stream_reply_remove() and _find() and _exists() skip the first parameter if userdb=TRUE. Hmm. That's proba

Re: [Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Jack Bates
It looks as if some things make extra passes. I'm still tracing it, but could we modify userdb_template_export to skip the user part? It's interesting as I noticed that user=%u in a static config still ends up having an issue, which implies it was processed twice (once to home, and again to me

Re: [Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Timo Sirainen
Yes, it's a bug. Most importantly: I don't think this is a security hole, except maybe in some very specific installations. It only affects usernames that are the same as one of the "extra fields" in userdb. Such user needs to log in with a valid username and password before this happens. What h

Re: [Dovecot] need help with dovecot-lda

2012-12-14 Thread Ben Morrow
At 5PM +0100 on 14/12/12 Andreas Meyer wrote: > > Some month ago I upgraded our dovecot installation from version 1.0.5 > to version 2.1.7 without having any trouble. Postfix is delivering > email directly per virtual transport to the maildirs and mailboxes of > the users in /var/spool/vhosts/dom

[Dovecot] need help with dovecot-lda

2012-12-14 Thread Andreas Meyer
Hello all! Some month ago I upgraded our dovecot installation from version 1.0.5 to version 2.1.7 without having any trouble. Postfix is delivering email directly per virtual transport to the maildirs and mailboxes of the users in /var/spool/vhosts/domains/ Now I want to use dovecot-lda and c

Re: [Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Jack Bates
Dec 14 14:33:14 test2 dovecot: auth: Debug: master userdb out: USER#0112033451009#011uid=503#011gid=503#011home=/nfs/maildir/vmail/home#011mail_location=maildir:~/Maildir Dec 14 14:37:25 test2 dovecot: auth: Debug: master userdb out: USER#011477757441#011home2#011uid=503#011gid=503#011home=/nfs/m

Re: [Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Jack Bates
Additional info by switching the home= and uid= settings in the config. userdb { args = home=/nfs/maildir/vmail/%u uid=vmail gid=vmail mail_location=maildir:~/Maildir driver = static } We got the effective id, but then home was unset and the user became the home setting. lol Dec 14 15:5

[Dovecot] BUG: mishandling of username if it's a keyword?

2012-12-14 Thread Jack Bates
Dec 14 14:33:03 test2 dovecot: auth: Debug: auth client connected (pid=24143) Dec 14 14:33:14 test2 dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=pop3#011secured#011session=D6dl6dDQdAAB#011lip=::1#011rip=::1#011lport=110#011rport=38004#011resp= Dec 14 14:33:14

[Dovecot] Clear-text ldap passwords: {CLEAR} scheme?

2012-12-14 Thread Kristof Bajnok
Hi, if I read the documentation correctly, the clear-text password storage scheme in Dovecot is called PLAIN. Unfortunately, in Sun LDAP Directory Server I have to specify them as "{CLEAR}" [1]. Is it somehow possible to make Dovecot recognise "{clear}foobar" passwords as plaintext? Now I get:

Re: [Dovecot] can't connect to server

2012-12-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 14 Dec 2012, Bernics Gábor | Penta Unió Zrt. wrote: I can't connect to a dovecot server (Debian 6.0, default version of Dovecot), I started the daemon but I didn't see errors on console. dovecot-lda works. config: http://pastebin.com/4im

[Dovecot] can't connect to server

2012-12-14 Thread Bernics Gábor | Penta Unió Zrt .
Hello, I can't connect to a dovecot server (Debian 6.0, default version of Dovecot), I started the daemon but I didn't see errors on console. dovecot-lda works. logs: 2012-12-14 12:47:10 deliver(bernics.ga...@penta.hu): Info: Loading modules from directory: /usr/lib/dovecot/modules/lda 2

Re: [Dovecot] Copying just the folders to new Dovecot server?

2012-12-14 Thread Bjørn T Johansen
On Fri, 14 Dec 2012 09:51:34 +0100 (CET) Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 14 Dec 2012, Bjørn T Johansen wrote: > > > I am setting up a new Dovecot server and I want to start from scratch, i.e. > > with an empty mailbox. But I want to have the

Re: [Dovecot] Copying just the folders to new Dovecot server?

2012-12-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 14 Dec 2012, Bjørn T Johansen wrote: I am setting up a new Dovecot server and I want to start from scratch, i.e. with an empty mailbox. But I want to have the same folders in my new mailbox that I have in my old. Is there a way to create t

Re: [Dovecot] Too many imap connections in state "idling"

2012-12-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 13 Dec 2012, 3.lis...@adminlinux.com.br wrote: Is it normal this large amount of connections in state 'idling' ? If they actually using the "IDLE" command to wait for PUSH mails on much more folders than on the other server? Regards, -

[Dovecot] Copying just the folders to new Dovecot server?

2012-12-14 Thread Bjørn T Johansen
I am setting up a new Dovecot server and I want to start from scratch, i.e. with an empty mailbox. But I want to have the same folders in my new mailbox that I have in my old. Is there a way to create these folders without manually creating one by one? Regards, BTJ -- ---