Re: [Dovecot] Virtual mailboxes not always up to date?

2009-11-09 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Timo, On 2009-11-10 15:30, Timo Sirainen wrote: > On Nov 10, 2009, at 2:21 AM, Patrick Nagel wrote: > >> So it seems that neither EXPUNGE nor re-SELECT seems to have any >> "refreshing" >> effect. > > I'll see tomorrow if I can reproduce it. Tha

Re: [Dovecot] Virtual mailboxes not always up to date?

2009-11-09 Thread Timo Sirainen
On Nov 10, 2009, at 2:21 AM, Patrick Nagel wrote: So it seems that neither EXPUNGE nor re-SELECT seems to have any "refreshing" effect. I'll see tomorrow if I can reproduce it. Nikita Koshikov told me to "Try to add :INDEX=MEMORY to location setting". After my tests above I tried that,

Re: [Dovecot] Virtual mailboxes not always up to date?

2009-11-09 Thread Patrick Nagel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Timo, On 2009-11-10 01:56, Timo Sirainen wrote: > On Mon, 2009-11-09 at 08:03 +0800, Patrick Nagel wrote: >> This works for the first time after I edit the dovecot-virtual file and >> then access the virtual mailbox (all mails I expect to be shown

[Dovecot] v2.0.alpha3 released

2009-11-09 Thread Timo Sirainen
http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz http://dovecot.org/releases/2.0/alpha/dovecot-2.0.alpha3.tar.gz.sig Nothing horribly exciting since alpha2, but since I did other releases I thought I might as well release this one too. - Most of the stuff in master.conf is now bui

[Dovecot] v1.2.7 released

2009-11-09 Thread Timo Sirainen
http://dovecot.org/releases/1.2/dovecot-1.2.7.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.7.tar.gz.sig * IMAP: IDLE now sends "Still here" notifications to same user's connections at the same time. This hopefully reduces power usage of some mobile clients that us

[Dovecot] v1.1.20 released

2009-11-09 Thread Timo Sirainen
http://dovecot.org/releases/1.1/dovecot-1.1.20.tar.gz http://dovecot.org/releases/1.1/dovecot-1.1.20.tar.gz.sig Hopefully one of the last v1.1 releases. * Upgraded to Unicode 5.2.0 - Maildir: Fixed crash when using a lot of keywords. - file_set_size() was broken with OSes

[Dovecot] UTF-8 mailbox names in filesystem

2009-11-09 Thread Timo Sirainen
Currently mailbox names are stored in IMAP's modified-UTF-7 format in filesystem. I was wondering about changing this in v2.0. The default would still be to use mUTF-7 in filesystem, but just adding :UTF8 or something to mail_location could enable UTF-8. Any thoughts? Could this be dangerous someh

Re: [Dovecot] Override Quota with post-login scripting problem

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 11:18 +0100, Yorck Koehler wrote: > But delivery is still a problem, because I'm unable to override the > settings there with post-login scripting. > > Everytime I send messages to such a user, dovecot sends it back with > "Quota exceeded (mailbox for user is full)"... > >

Re: [Dovecot] Lock problem

2009-11-09 Thread Timo Sirainen
On Thu, 2009-11-05 at 10:01 -0800, Simon Gao wrote: > stat64("/var/mail/user1", {st_mode=S_IFREG|0600, st_size=8603552, ...}) = 0 These stats are fine. > Both imap connections try to access same /var/mail/user1 file. This caused > very slow performance. Well, it usually shouldn't.. Although i

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 23:44 +0100, David Goncalves wrote: > Timo Sirainen wrote: > > On Mon, 2009-11-09 at 23:23 +0100, David Goncalves wrote: > >> I finally used 'homeDirectory' and 'mailMessageStore' with the full > >> mailbox path because i want to avoid using absolute paths in the > >> config f

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 16:52 -0500, Timo Sirainen wrote: > What do you use home for? If you don't want anything under user's "real" > home directory, you can just make mailMessageStore=home. But then again, > see http://wiki.dovecot.org/VirtualUsers#homedirs Since this gets asked so often, I wrote

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread David Goncalves
Timo Sirainen wrote: On Mon, 2009-11-09 at 23:23 +0100, David Goncalves wrote: I finally used 'homeDirectory' and 'mailMessageStore' with the full mailbox path because i want to avoid using absolute paths in the config files. Used how? Since it's not possible to nicely combine them yet, it sou

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 23:23 +0100, David Goncalves wrote: > I finally used 'homeDirectory' and 'mailMessageStore' with the full > mailbox path because i want to avoid using absolute paths in the > config files. Used how? Since it's not possible to nicely combine them yet, it sounds like you're sti

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread David Goncalves
Timo Sirainen wrote: You really shouldn't be setting home to a global common directory. The users are virtual, they have no real home. Dovecot still prefers them to have a virtual home, see the link above. My suggestion: user_attrs = .., mailMessageStore=home=/opt/mailboxes/%$ mail_location

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 23:00 +0100, David Goncalves wrote: > Timo Sirainen wrote: > > What do you use home for? If you don't want anything under user's "real" > > home directory, you can just make mailMessageStore=home. But then again, > > see http://wiki.dovecot.org/VirtualUsers#homedirs > > Actua

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread David Goncalves
Timo Sirainen wrote: What do you use home for? If you don't want anything under user's "real" home directory, you can just make mailMessageStore=home. But then again, see http://wiki.dovecot.org/VirtualUsers#homedirs Actually home contains the base path of all mailboxes (ie: /opt/mailboxes) and

Re: [Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 22:50 +0100, David Goncalves wrote: > user_attrs = > qmailUID=uid,qmailGID=gid,homeDirectory=home,mailMessageStore=mail=maildir:~/%$ > > Everything is working as expected but... > > I'm using sieve and in the 'dovecot.conf' there is no way to get > a variable containing th

[Dovecot] Missing 'mailbox' variable ?

2009-11-09 Thread David Goncalves
Hi, I'm using Dovecot with LDAP. My users have an home directory and a field named 'mailMessageStore'. Then the full mailbox path is 'homeDirectory/mailMessageStore' In dovecot-ldap.conf i configured as follows : user_filter = (&(objectClass=qmailUser)(cn=%u)) user_attrs = qmailUID=uid,qmailG

Re: [Dovecot] Auth failure delays

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 16:41 -0500, Timo Sirainen wrote: > On Mon, 2009-11-09 at 09:01 +0100, Steffen Kaiser wrote: > > > Any thoughts? > > > > The only two remarks I have are that some well-known IPs should be able to > > bypass this check, e.g. NATed gateways of the organisation > > Hmm. That

Re: [Dovecot] Auth failure delays

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 09:01 +0100, Steffen Kaiser wrote: > > Any thoughts? > > The only two remarks I have are that some well-known IPs should be able to > bypass this check, e.g. NATed gateways of the organisation Hmm. That seems like way too much trouble. Even just on/off setting annoys me.

Re: [Dovecot] Virtual mailboxes not always up to date?

2009-11-09 Thread Timo Sirainen
On Mon, 2009-11-09 at 08:03 +0800, Patrick Nagel wrote: > This works for the first time after I edit the dovecot-virtual file and > then access the virtual mailbox (all mails I expect to be shown in the todo > mailbox are there) - but further accesses always show the same content, > even though I r

Re: [Dovecot] homedir auto-creat

2009-11-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Nov 2009, Frank Bonnet wrote: Is it possible to activate home directories auto creation when using real UNIX users ( NIS ) on the dovecot server ? Well, you can use post-login scripting to run thing along the lines of: #!/bin/bash erro

[Dovecot] homedir auto-creat

2009-11-09 Thread Frank Bonnet
Hello Is it possible to activate home directories auto creation when using real UNIX users ( NIS ) on the dovecot server ? Thank you

[Dovecot] Override Quota with post-login scripting problem

2009-11-09 Thread Yorck Koehler
Hi everyone, I do have the following dovecot-setup: Passdb: PAM (Winbind-auth and pam_mkhomedir-session) Userdb: passwd (NSS-winbind) This validates/creates my users with aid of my running ActiveDirectory. Now the problem: My global quota policy works fine, but I need to override them for some

Re: [Dovecot] pop3-login: Fatal: io_loop_handle_add: epoll_ctl(1, 5):

2009-11-09 Thread Marco Nenciarini
Timo Sirainen ha scritto: I'm pretty sure this fixes it: http://hg.dovecot.org/dovecot-1.2/rev/19aee456cec3 I've just applied the patch on all my machines. Now we must wait for a week or two to see if the problem are solved. Regards, Marco --

Re: [Dovecot] sieve files wont get parsed/compiled using cmusieve

2009-11-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 7 Nov 2009, Moritz Krinke wrote: Would be great if anyone had an idea what/where to check next...? ;-) Are you sure your MTA calls Dovecot deliver at all? See http://wiki.dovecot.org/Logging Unset log_path in lda { } section to have all

Re: [Dovecot] Auth failure delays

2009-11-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 6 Nov 2009, Timo Sirainen wrote: Any thoughts? The only two remarks I have are that some well-known IPs should be able to bypass this check, e.g. NATed gateways of the organisation and that external IDSs (e.g. fail2ban) should be able to